Framework Matters: Energy Efficiency of UI Automation Testing Frameworks

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Lagermann, Timmie M. R., Carter, Kristina Sophia, Ho, Su Mei Gwen, Cruz, Luís, Eder, Kerstin, Kirkeby, Maja H.
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917096956362752
author Lagermann, Timmie M. R.
Carter, Kristina Sophia
Ho, Su Mei Gwen
Cruz, Luís
Eder, Kerstin
Kirkeby, Maja H.
author_facet Lagermann, Timmie M. R.
Carter, Kristina Sophia
Ho, Su Mei Gwen
Cruz, Luís
Eder, Kerstin
Kirkeby, Maja H.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2511_17303
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Framework Matters: Energy Efficiency of UI Automation Testing Frameworks
Lagermann, Timmie M. R.
Carter, Kristina Sophia
Ho, Su Mei Gwen
Cruz, Luís
Eder, Kerstin
Kirkeby, Maja H.
Software Engineering
D.2.8; D.4.8; C.4; D.2.5
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.
title Framework Matters: Energy Efficiency of UI Automation Testing Frameworks
topic Software Engineering
D.2.8; D.4.8; C.4; D.2.5
url https://arxiv.org/abs/2511.17303