The Evolution of Test Automation: From Selenium to Playwright. A Comparison of Automation Tools: Selenium vs. Playwright vs. Cypress
Keywords:
test automation, Selenium, Playwright, Cypress, CI/CD, Artificial Intelligence., web applications, experimental methodologyAbstract
This study examines the evolution of web application test automation tools, focusing on a comparative analysis of Selenium, Playwright, and Cypress. The research justifies the relevance of transitioning from the traditional Selenium-based approach to modern frameworks that offer higher performance and stability in the rapidly evolving landscape of web applications. The study follows a methodology that involves sequential execution of test scenarios of varying complexity, including a simple static site test, end-to-end testing in a production environment, and a comprehensive test suite evaluation. Key performance metrics such as average execution time, standard deviation, and coefficient of variation are assessed. The findings indicate that Playwright demonstrates the best performance for testing dynamic web applications, while Cypress, despite an initial slowdown in simple scenarios, becomes competitive when executing local test suites. The article provides practical recommendations for selecting an automation tool based on the characteristics of the tested applications and outlines future development prospects, including the integration of artificial intelligence technologies and the optimization of CI/CD processes. This research addresses an existing gap in the field and offers practical solutions to enhance the quality and efficiency of modern web application testing. The findings will be of interest to researchers in software engineering, quality assurance professionals, test system architects, and academic professionals seeking to integrate advanced methodologies into software development and testing processes.
References
. Speed comparison: Cypress, Selenium, Playwright, Puppeteer. [Electronic resource] Access mode: https://testengineer.ru/speed-comparison-cypress-selenium-playwright-puppeteer / (date of access: 02/14/2025).
. Koledachkin A. A. The use of modeling and simulations in testing: prospects with the use of AI //Bulletin of Science. – 2024. – T. 5. – ?. 9 (78). – Pp. 513-540.
. Deciding Among the Titans of Test Automation: A Playwright vs. Selenium vs. Cypress Showdown. [Electronic resource] Access mode: https://www.leniolabs.com/qa/2023/11/14/Deciding-Among-the-Titans-of-Test-Automation-A-Playwright-vs-Selenium-vs-Cypress-Showdown / (accessed: 02/14/2025).
. Next-Gen App & Browser Testing Cloud. [Electronic resource] Access mode: https://www.lambdatest.com/blog/playwright-vs-selenium-vs-cypress / (date of access: 02/14/2025).
. Hourani H., Hammad A., Lafi M. The impact of artificial intelligence on software testing //2019 IEEE Jordan International Joint Conference on Electrical Engineering and Information Technology (JEEIT). – IEEE. - 2019. – pp. 565-570.
. King T. M. et al. AI for testing today and tomorrow: industry perspectives //2019 IEEE international conference on artificial intelligence testing (AITest). – IEEE. - 2019. – pp. 81-88.
. Roper M. Using machine learning to classify test outcomes //2019 IEEE International Conference On Artificial Intelligence Testing (AITest). – IEEE. - 2019. – pp. 99-100.
. SeleniumConf. [Electronic resource] Access mode: http://seleniumconf.com / SeleniumConf (accessed: 02/14/2025).
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2025 Anatolii Tymoshchuk

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who submit papers with this journal agree to the following terms.