Here we compare Cypress.io vs Nightwatch.js vs Playwright vs Selenium WebDriver vs WebdriverIO, all in their Node.js versions.
We present in this repo some concrete examples of automated tests implemented in differents tools.
- all implemented tests will use the Chrome browser already installed 1 on the machine
- Browser is in headless mode 2
- all tests written in TypeScript.
See this page: "List of tests scenarios"
Execute in your terminal this command: npm init
Execute in your terminal this command: npm test
Run the test set 5 times?
for ((n=0;n<5;n++)); do npm test; done
tool | command | detailed script |
---|---|---|
Cypress | npm test:cy |
tests/with-cypressio/run.sh |
Nightwatch | npm test:nw |
tests/with-nightwatch/run.sh |
Playwright | npm test:pw |
tests/with-playwright/run.sh |
Selenium+Jest | npm test:se |
tests/with-selenium-jest/run.sh |
WebdriverIO | npm test:wi |
tests/with-webdriverio/run.sh |
No. But the code present in this repository (and its execution) will be used in this article: Benchmark of web-applications testing tools.
Notes: