Playwright with Mocha against Chrome browser

Write Playwright tests in Mocha to take advantage of its wide support, such as test execution in CI/CT servers. By the way, Playwright sucks in every way compared to raw Selenium WebDriver + RSpec.

Zhimin Zhan

--

I don’t like using JavaScript for scripting automated tests. Every test automation attempt (I witnessed) that used JS frameworks, such as phantomjs, Protractor, TestCafe, Puppeteer and Cypress, has failed (see the definition of E2E test automation success). These days, it seems that Playwright is the new favourite among JS automated testers. I have had a quick look at Playwright and I don’t like it.

My daughter started her intern job a week ago. On the first working day, she created two automated tests (using Selenium WebDriver + RSpec, the agileway test automation formula), the team leader was very impressed. A few days later, she got the tests running in a BuildWise CT server (she had to wait for local admin access which took a while). Then, a team member asked her to talk to ‘the automation person’ in the company (a large one) who suggested her using Playwright. She was willing to learn Playwright, which I supported that too (to realize how good the raw Selenium WebDriver + RSpec is).

--

--

Responses (3)