Skip to content
Research Article Open access CC BY 4.0

Comparative Reliability Analysis of Selenium and Playwright: Evaluating Automated Software Testing Tools

Saad Almabruk, Samia Abdalhamid, Tahani Almabruk

Asian Journal of Research in Computer Science · pp. 34–44 · Published 3 Jan 2025

10.9734/ajrcos/2025/v18i1546

Abstract

Aims: This study aims to evaluate and compare the reliability of Selenium and Playwright, two leading frameworks for automated web testing. The assessment focuses on key reliability metrics, including uptime and the Rate of Occurrence of Failures (ROCOF). Study Design: A comparative experimental study conducted under controlled testing conditions. Place and Duration of Study: The study was conducted over a 24-hour continuous testing period using two laptops with distinct hardware configurations: an HDD-equipped HP laptop and an SSD-equipped Dell laptop. Methodology: Reliability was measured using two core metrics: uptime and ROCOF. Tests were conducted on an HP laptop (HDD) and a Dell laptop (SSD). Two Python scripts — one for Selenium and one for Playwright — were developed to execute identical actions. For the 24-hour uptime test, Selenium ran on HP and Playwright on Dell. ROCOF was assessed at six-time intervals — 8:00 AM, 8:15 AM, 4:00 PM, 4:15 PM, 12:00 AM, and 12:15 AM — by alternating tool execution between HP and Dell, allowing for analysis of the effects of hardware and time of day on failure rates. Results: Selenium achieved 100% uptime with no failures, while Playwright recorded 99.72% uptime with four downtimes. For ROCOF, both tools had one failure per 10-test sequence, but Selenium’s higher failure rate per second (0.1208 on HP, 0.1336 on Dell) was due to faster execution times (7.93s on HP, 7.87s on Dell) compared to Playwright (36.74s on HP, 35.84s on Dell). The SSD-equipped Dell laptop outperformed the HDD-based HP, with faster completion times (43.71s vs. 44.67s). Conclusion: Selenium is ideal for scenarios requiring uninterrupted uptime, while Playwright's consistent response times suit dynamic web application testing. The study highlights hardware's role in performance, with SSDs offering superior speed and stability. These findings guide practitioners in choosing tools based on hardware, stability, and execution needs.

Software testing reliability selenium playwright

Cited by 5

EverydAI: Redefining Everyday Decision-Making Through AI-Powered Assistance

Oscar I. Iglesias R., Carlos E. Pardo B., Maicol D. León A. · 2025 IEEE Technology and Engineering Management Society (TEMSCON LATAM) · 2025

Enhancing Smart Education Platforms: An Interdisciplinary Framework for Software Testing in Chaoxing’s E-Learning System

Fen Wang, Minqiong Chen, Fang Deng · Advances in Transdisciplinary Engineering · 2025

Evaluating Security Checks Against Malicious Payloads with Forged Signatures

Lalchandra Rampersaud, Behzad Ousat, Seyed Ali Akhavani · 2025 IEEE 16th Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON) · 2025

Enhancing Non-Formal Learning Certificate Classification with Text Augmentation: A Comparison of Character, Token, and Semantic Approaches

I Gede Susrama Mas Diyasa, Eva Yulia Puspaningrum, Dimas Saputra · Interdisciplinary Journal of Information, Knowledge, and Management · 2025

EverydAI: Virtual Assistant for Decision-Making in Daily Contexts, Powered by Artificial Intelligence

Carlos E. Pardo B., Oscar I. Iglesias R., Maicol D. León A. · Systems · 2025

Article metrics

Real usage data collected on this platform.

0

Page views

0

PDF downloads

0

Outbound clicks

5

Citations

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

No views recorded yet.

Traffic sources

Referring site, by host.

No traffic recorded yet.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.