Reducing Selenium Test Flakiness in Edge Environments with Element Synchronization Strategies in Intellij Ide
DOI:
https://doi.org/10.63282/3050-9262.IJAIDSML-V4I3P120Keywords:
Selenium, Test Flakiness, Element Synchronisation, Intellij IdeAbstract
Selenium is a leading tool for automated UI testing, but test flakiness, intermittent pass/fail outcomes without code changes, remains a critical challenge, especially in Microsoft Edge environments. Flakiness often arises from timing mismatches, dynamic DOM updates, and asynchronous UI rendering. At Charter Communications, these issues affected enterprise-scale automation, reducing CI/CD reliability. This report investigates advanced element synchronisation strategies implemented within IntelliJ IDE, including explicit waits, conditional locators, and custom polling algorithms. Leveraging IntelliJ’s plugin and automation APIs, the framework stabilises element interactions, automates build and assembly workflows, and significantly reduces intermittent failures, improving regression reliability and cross-browser automation consistency.
References
[1] Alshammari, A., Morris, C., Hilton, M. and Bell, J., 2021, May. Flakeflagger: Predicting flakiness without rerunning tests. In 2021 IEEE/ACM 43rd International Conference on Software Engineering (ICSE) (pp. 1572-1584). IEEE.
[2] S. Habchi, G. Haben, M. Papadakis, M. Cordy, and Y. Le Traon, “A qualitative study on the sources, impacts, and mitigation strategies of flaky tests,” arXiv preprint arXiv:2112.04919, 2021.
[3] J. Micco, “Flaky tests at Google and how we mitigate them,” Google Testing Blog, May 27, 2016. [Online]. Available: https://testing.googleblog.com/2016/05/flaky-tests-at-google-and-how-we.html
[4] Sawant, K., Tiwari, R., Vyas, S., Sharma, P., Anand, A. and Soni, S., 2021, February. Implementation of selenium automation & report generation using selenium web driver & ATF. In 2021 International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT) (pp. 1-6). IEEE.
[5] Varghese, N. and Sinha, R., 2020, October. Can commercial testing automation tools work for iot? A case study of selenium and node-red. In IECON 2020 The 46th Annual Conference of the IEEE Industrial Electronics Society (pp. 4519-4524). IEEE.
[6] A. Tahir, S. Rasheed, J. Dietrich, and H. Rasool, “Test flakiness’ causes, detection, impact and responses: A multivocal review,” Journal of Systems and Software, vol. 206, p. 111837, Feb. 2023.










