Correcting Wrong 'Playwright's Advantage over Selenium" Part 8: "Playwright UI Mode, CodeGen, VSCode plugin, Trace viewer"
Real Test Automation Engineers achieve much better (quality and proficiency) with Selenium WebDriver.
Continue to correct the 8th wrong claim in this YouTube video, “Playwright vs Selenium: What Advantages Make Playwright the Winner in Automation Testing Battle 🏆”.
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
Claim 8: “Playwright UI Mode, CodeGen, VSCode plugin, Trace viewer and more”
The video (see above link) did not provide a heading for this claim, but it is included in the chapters.
Here are taken from the video:
“codegen, which is going to generate the whole code for you …; ”
“VSCode plugin … perform a lot of native debugging of the code features … which selenium does not offer”
This claim, which is wrong again, touches multiple points.
1. CodeGen in VS Code
Please note: VS Code plugin falls into the tools category. So, below I will include tools for Selenium.
I went straight to the source, Playwright's official documentation on Code Gen. I watched the CodeGen demo video and read the guide.
It primarily showcases a recording feature using a basic Todo List app, a technique similar to what has been used in various commercial testing tools like QTP, which is generally regarded as a bad approach.
For more, check out my other articles:
Some might argue, “Playwright CodeGen is different; it does not playback, and it also generates the skeleton”.
The main point of the quote from the classic Agile Testing book is a significant concern about the quality of recorded test scripts. In other words, hand-craft E2E test scripting is much better (& cheaper). On this topic, check out the below articles:
If about generating a test skeleton, TestWise users would laugh because they could have done that since 2007, 17 years ago.
Have a read my daughter’s article:
The video below uses an Appium + WinAppDriver script to:
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.