Rayrun
← Back to videos

Introduction to Playwright | What is Playwright test?

An introductory presentation to Playwright test and what it is.

In a video by Jared of Commit Quality, he introduces the viewers to Playwright, a framework that allows developers to set up end-to-end tests for modern web applications. Built by the same team that was behind Puppeteer, Playwright offers improved functionality with the ability to test across browsers and boasting a newly introduced component testing feature.

Playwright supports a variety of platforms and languages, including Windows, Linux, macOS, JavaScript, TypeScript, Python, Java, and .NET. It even enables testing on local browsers (specifically Chrome-family) and local instances through "browser channels" in its configurations.

The feature that stands out in Playwright is its resilience in testing. Its assertion library, Jest, has specialized additions specifically for dynamic web testing. These web first assertions or retry assertions confirm the conditions of a web element and its actions multiple times before concluding the test, making sure that no potentially false positives pass the tests. It also comes with plenty of debugging tools like tracing, creating videos, and taking screenshots. Also, its fast execution and isolated testing techniques provide a rapid turnover rate while securing the integrity of the tests.

Playwright also has an impressive set of toolings - a code generator that creates tests by recording page activities, an inspector for debugging, and a trace viewer for postmortem inspection of test runs. The tool claims to have very few limitations, promising seamless testing across tabs, windows, and origins, along with easy handling of HTTP requests.

The latter part of the video announces that Jared will be producing more content detailing the installation and setup processes along with tutorials on creating Playwright tests. The video makes a soft request for viewers to like and subscribe as well as to leave comments suggesting future video topics. The video ends with a warm note of gratitude for viewership.

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?
Create feature, steps & config | Playwright & Cucumber - Typescript | Part 1
Create feature, steps & config | Playwright & Cucumber - Typescript | Part 1
Playwright & Lighthouse Integration | Playwright Tutorial - Part 88
Playwright & Lighthouse Integration | Playwright Tutorial - Part 88
Working with multiple elements in Playwright Test (NodeJS)
Working with multiple elements in Playwright Test (NodeJS)
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 luc@ray.run.