Correcting Wrong “Playwright’s Advantage over Selenium” Part 4: “Playwright has a native test runner”

It is more a Con, not a Pro.

Zhimin Zhan
6 min readFeb 8, 2024

--

Continue to correct the fourth wrong claim in this YouTube video, “Playwright vs Selenium: What Advantages Make Playwright the Winner in Automation Testing Battle 🏆”.

This article series:

Table of Contents:
· Claim 4: “Playwright has native playwright tests”
·
I don’t like “npx playwright test” runner
·
There are good reasons why most automation frameworks do not provide their runners.
Why should Automation and Test Syntax Frameworks remain loosely coupled?
·
The problems with the Playwright Runner.

Claim 4: “Playwright has native playwright tests”

Selenium WebDriver is an automation framework, and so are Protractor and Playwright. By convention, a web automation framework drives the app in the browser, and should not have its test runner. The test syntax, runner and report are the responsibility of Test Syntax Framworks, such as RSpec, JUnit, PyTest, Mocha and Cucumber.

Test Automation Framework = Automation Framework + Test Syntax Framework

--

--

Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.