Improving web element localization by using a large language model
Michel Nass, Emil Alegroth, Robert Feldt

TL;DR
This paper leverages large language models like GPT-4 to improve web element localization in test automation, significantly reducing failures and demonstrating the potential of human-like reasoning in GUI testing tasks.
Contribution
It introduces VON Similo LLM, a novel approach that integrates LLMs into web element localization, enhancing accuracy over traditional attribute-based methods.
Findings
Reduced failed localizations by 44%
Improved accuracy with LLM reasoning
Increased computational cost and time
Abstract
Web-based test automation heavily relies on accurately finding web elements. Traditional methods compare attributes but don't grasp the context and meaning of elements and words. The emergence of Large Language Models (LLMs) like GPT-4, which can show human-like reasoning abilities on some tasks, offers new opportunities for software engineering and web element localization. This paper introduces and evaluates VON Similo LLM, an enhanced web element localization approach. Using an LLM, it selects the most likely web element from the top-ranked ones identified by the existing VON Similo method, ideally aiming to get closer to human-like selection accuracy. An experimental study was conducted using 804 web element pairs from 48 real-world web applications. We measured the number of correctly identified elements as well as the execution times, comparing the effectiveness and efficiency of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Software System Performance and Reliability
