Correcting Wrong ‘Playwright’s Advantage over Selenium” Part 2: “Playwright has Parallel Execution Support”
An automation framework should NOT concern parallel execution, which falls under a Continuous Testing server’s responsibilities.
The first article of this series was immediately awarded “Boost” status by Medium creators. I will continue to correct the second wrong claim, “parallel execution support”, in this YouTube video, “Playwright vs Selenium: What Advantages Make Playwright the Winner in Automation Testing Battle 🏆”. Again, like all his other claims, this presenter is wrong, this article explains.
This article series:
“Playwright Features Can be Configured in one Configuration” 👎🏽
“Playwright supports a range of Testing Types, e.g. API Testing, Component Testing, …” 👎🏽
Wrap Up
Table of Contents:
· Claim 2, “Playwright has Parallel Execution Support”. (It's better without it)
· Parallel Execution Support is a Continuous Testing Feature and shall not be in the automation framework.
· Parallel Execution in Playwright in a perfect world.
· The Problems with Playwright Parallel Execution
· Parallel Execution in the real world
Claim 2, “Playwright has Parallel Execution Support”. (It's better without it)
Playwright fans might think, “Zhimin, your first article may be valid, but surely, you can’t argue with this, as Selenium WebDriver does not come with parallel execution”.
It is not strictly true to say Selenium WebDriver does not offer parallel execution. Selenium Grid has always been a part of the Selenium suite. But Selenium Grid is more a complimentary tool and a badly designed one. For reasons, see my article, Why I Don’t Use Selenium-Grid?
The core Selenium framework does not have “parallel execution support”, in my opinion, is an advantage over Playwright. “Less is more” is more true when the ‘more’ is wrongly implemented.
Parallel Execution Support is a Continuous Testing Feature and shall not be in the automation framework.
Parallel Execution is a Continuous Testing feature and should NOT be in the automation framework. As a web automation framework, the core is to ensure that web elements are driven reliably in an intuitive syntax and fully support the web technologies defined by W3C. Selenium WebDriver accomplishes this task well.
Not Convinced? Let me show a quote and an image by Facebook.
Keep reading with a 7-day free trial
Subscribe to AgileWay’s Test Automation & Continuous Testing Blog to keep reading this post and get 7 days of free access to the full post archives.