Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Playwright Beginner Tutorial - Assertions

Automation Step by Step via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This beginner course demonstrates how to add and run Playwright assertions for checking element presence, visibility, state, text, attributes, page URLs, titles, and screenshots. It also introduces soft assertions for continuing test execution after a failure.

Syllabus

*Intro*
*What are Assertions*
*Assertions in Playwright*
*How to add Assertions*
*Create a new Test*
*Demo App* https://kitchen.applitools.com/
*Command to Run the test*
*Check element Present/Not present*
*Check element Visible/Hidden*
*Check element Enabled/Disabled*
*How to add Soft Assertions*
*Check element Text matches value or not*
*Assert Element attribute *
*Screenshot Moment*
*Check Url of the page*
*Check Title of the page*
*Check Page matches screenshot* Visual Validation
*Screenshot Moment | Outro*

Taught by

Automation Step by Step

Reviews

Start your review of Playwright Beginner Tutorial - Assertions

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.