A COMPARATIVE STUDY OF MODERN TEST AUTOMATION FRAMEWORKS FOR E-COMMERCE PLATFORMS: PLAYWRIGHT, SELENIUM AND ALLURE IN DEVOPS PIPELINES
Publishing Date : 2025
ISBN : 978-93-49381-77-3
Pages : 149-154
Chapter id : NSP/EB/ RT21STCMTOCC/2025/CH-14
Abstract : E-commerce applications have evolved into complex, highly interactive systems that must deliver reliability, speed, and security across diverse browsers, devices, and networks. Manual testing cannot keep up with rapid release cycles and frequent UI changes, especially under Continuous Integration/Continuous Delivery (CI/CD). While Selenium has been the de facto standard for browser automation for over a decade, newer tools such as Playwright offer resilient, web-first automation with cross-browser support (Chromium, Firefox, WebKit), native parallelism, auto-waiting, and shadow- DOM traversal.
In parallel, reporting platforms like Allure provide framework-agnostic, visually rich analytics that help QA analysts, developers, and managers triage failures, compare historical results, and identify flakiness. This paper presents a comparative study of Selenium and Playwright for typical retail workflows (login, product detail page, cart, checkout), with Allure as the reporting layer and Jenkins/Docker for CI/CD orchestration.
Building on hybrid, maintainable automation principles reported in literature, we evaluate how Playwright’s auto-waits, multi-context isolation, and trusted input pipeline reduce flakiness compared to Selenium. Our empirical results indicate that Playwright improves execution speed by nearly 35%, reduces test flakiness by 40%, and lowers maintenance effort. Selenium remains valuable where legacy browsers and mature ecosystems dominate.
Keywords : Automation Testing, Playwright, Selenium, Allure, CI/CD, DevOps, Ecommerce.
Cite : Verma, B. (2025). A Comparative Study Of Modern Test Automation Frameworks For E-Commerce Platforms: Playwright, Selenium And Allure In Devops Pipelines (1st ed., pp. 149-154). Noble Science Press. https://noblesciencepress.org/chapter/nspeb-rt21stcmtocc2025ch-14
References :
1. Patel, A. R., & Tyagi, S. (2025). “Enhancing software quality of CI/CD pipeline through continuous testing: a DevOps-driven maintainable hybrid automation testing framework.” International Journal of Information Technology.
2. Fatima, R., & Dugal, U. (2017). “E-commerce Testing Framework.” International Journal of Advance Research, Ideas and Innovations in Technology.
3. Microsoft. “Playwright Documentation.” 2024. Available: https://playwright.dev
4. SeleniumHQ. “Selenium WebDriver Documentation.” 2024. Available: https://www. selenium.dev
5. Qameta Software. “Allure Report Documentation.” 2024. Available: https://docs. qameta.io/allure