Framework Matters: Energy Efficiency of UI Automation Testing Frameworks

Timmie M. R. Lagermann, Kristina Sophia Carter, Su Mei Gwen Ho, Luís Cruz, Kerstin Eder, Maja H. Kirkeby

Research output: Working paperPreprint

Abstract

We examine per action energy consumption across four web user interface (UI) automation testing frameworks to determine whether consistent tendencies can guide energy-aware test design. Using a controlled client-server setup with external power metering, we repeat each UI action (refresh, click variants, checkbox, drag&drop, input-text, scroll) 35 times. Across each of the actions, energy costs vary by both framework and action. Puppeteer is the most efficient for left-click, right-click, double-click, checkbox, and input-text; Selenium is the most efficient for refresh and scroll; Nightwatch is generally the least energy efficient. The energy cost of performing the same action varied by up to a factor of six depending on the framework. This indicates that providing transparency of energy consumption for UI automation testing frameworks allows developers to make informed, energy-aware decisions when testing a specific UI action.
Original languageEnglish
PublisherarXiv.org
Publication statusPublished - 21 Nov 2025

Bibliographical note

10 pages, 6 figures, submitted to The 41st ACM/SIGAPP Symposium On Applied Computing (SAC2026)

Research Groups and Themes

  • Trustworthy Systems

Keywords

  • cs.SE

Fingerprint

Dive into the research topics of 'Framework Matters: Energy Efficiency of UI Automation Testing Frameworks'. Together they form a unique fingerprint.

Cite this