Why Raw Selenium Syntax is Better than Cypress and Playwright? Part 1: WebDriver is a W3C Standard and its Success is well Established
Selenium WebDriver is the best web test automation framework, with good reasons. I list some undisputable facts to support that.
Update 2023–06–29: Part 2: The Audience Matters is available.
Update 2023–07–05: Part 3: Selenium is Accurate, Intuitive, Consistent, and Geniously Designed is available.
Cypress and Playwright testers won’t like the article's title. Let me firstly crush these people’s thoughts first with a simple fact:
Raw Selenium WebDriver syntax is defined by W3C experts after many rounds of refinement; Cypress or others are created by some individuals with a certain level of commercial interests.
Some would disagree with my article title (this fact, i.e., commercial interests, does not necessarily mean good or bad), I know, but accept this fact first. This article will show more facts, please be open-minded. Some of you might have read my other two specific comparison articles:
- Cypress vs Selenium WebDriver Comparison by Example
- Playwright vs Selenium WebDriver Syntax Comparison by Example
Here, I will share views from higher perspectives that people are usually unaware of (but might sound well-organized), such as:
- a long history of failures in JS test automation frameworks
- the real success stories of using Selenium WebDriver
- the shorter test statement syntax does not really make test scripts better, the DSL layer is.
- not knowing WebDriver is a W3C standard, the W3C process
I will explain the benefit of WebDriver syntax (over Cypress and Playwright) and why this syntax is good in real successful test…