Rayrun
← Back to videos

First Script - Auto Waits | Playwright - Part 3

In this video, we are going to write our first test script to log in to a page.

In this video, the presenter Kaushik introduces the topic of Playwright and explains how to write a script using Playwright. He starts by discussing the different ways to locate elements on a web page using Playwright's element selectors. He demonstrates how to locate and click on a login button using the click function and a text selector. He also shows how to fill in input fields using the fill function. The presenter then explains the concept of automatic waiting in Playwright, where the script waits for an element to become clickable before performing an action on it. He demonstrates this by waiting for a toast message to disappear before clicking on a sign-up button. The presenter ends the video by running the script and showcasing the results, including any test failures. He also mentions the use of the Jest CLI to run specific test cases in Playwright. Overall, the video provides an introduction to Playwright and covers the basic concepts of locating elements, interacting with them, and handling asynchronous calls.

Related Videos

#16 - ARIA and how Playwright is making use of it to identify UI controls?
#16 - ARIA and how Playwright is making use of it to identify UI controls?
How to Code a Test Automation on Youtube | Playwright JS
How to Code a Test Automation on Youtube | Playwright JS
Create feature, steps & config | Playwright & Cucumber - Typescript | Part 1
Create feature, steps & config | Playwright & Cucumber - Typescript | Part 1
Playwright Version 1.14 | Playwright Tutorial - Part 45
Playwright Version 1.14 | Playwright Tutorial - Part 45
TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].