--- id: robotframework-seleniumtestability version: "2.1.0" license: Apache License 2.0 license_treatment: permissive maintenance: dormant --- # robotframework-seleniumtestability — SeleniumTestability library that helps speed up tests withasyncronous evens License: permissive · Maintenance: dormant · Downloads: 518.1K/mo ## What it is and what it does SeleniumTestability bridges a gap in Robot Framework's SeleniumLibrary by adding automatic detection of asynchronous events in web applications. It instruments the application via JavaScript to monitor setTimeout, fetch calls, XHR requests, CSS animations, and transitions, then automatically waits for these events to complete before proceeding with the next interaction. This eliminates the need to manually insert wait statements between UI actions that trigger background work. The plugin works as a SeleniumLibrary plugin and provides both automatic waiting (enabled at initialization) and manual wait keywords like 'Wait For Testability Ready'. It also exposes convenience keywords for accessing browser logs and local/session storage—functionality outside SeleniumLibrary's scope. The core mechanism relies on Selenium's EventFiringWebdriver and a custom listener interface to intercept and instrument interactions. Use it for: - Testing single-page applications where button clicks trigger API calls that must complete before the next UI interaction. - Automating tests for web apps with CSS animations or transitions that need to finish before proceeding. - Accessing browser console logs or application storage (localStorage/sessionStorage) during test execution. - Reducing test flakiness by eliminating hardcoded sleep statements in favor of event-driven waiting. - Testing applications that use fetch() or XHR for background data loading without explicit UI indicators. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. SeleniumTestability is a Robot Framework plugin that extends SeleniumLibrary with automatic detection and waiting for asynchronous events (API calls, animations, timeouts) in web applications, plus keywords for browser logs and storage access. Yes, if you are actively maintaining Robot Framework tests for modern web applications with asynchronous behavior. The plugin solves a real problem—automatic async event detection—that manual waits handle poorly. However, note that maintenance is dormant (last release February 2023) and the package is classified as Alpha. Verify compatibility with your current versions of Robot Framework and SeleniumLibrary before adopting, and be prepared to maintain a fork if critical issues arise. ## Install pip install robotframework-seleniumtestability uv add robotframework-seleniumtestability poetry add robotframework-seleniumtestability ## Installing robotframework-seleniumtestability Before you install: Low install friction with a pure-Python wheel. Maintenance is dormant—last release was February 2023, over a year ago, though the repository remains active with a recent commit in November 2023. Depends on robotframework-seleniumlibrary, furl, and wrapt, all stable libraries. License in practice: Licensed under Apache License 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions. Quickstart: pip install robotframework-seleniumtestability In Robot Framework test file: Library SeleniumLibrary plugins=SeleniumTestability;True;30 Seconds;True Click Element id:button_that_triggers_ajax_request Click Element id:some_other_element Requires Robot Framework and SeleniumLibrary to be installed and configured; JavaScript instrumentation depends on browser support for the monitored async features. Verify before relying: - Whether the package works with modern versions of Robot Framework and SeleniumLibrary released after February 2023. - Current state of Testability.js and its browser bindings that the plugin relies on. - Whether CSS animation/transition detection works consistently across current browser versions. ## Package facts - License: Apache License 2.0 (permissive) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 518.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags robot framework selenium async wait, selenium testability plugin, robot framework ajax handling, browser async event detection, selenium library extension, robot framework web automation async, wait for ajax requests robot, selenium javascript instrumentation, robot-framework, async-testing, selenium-plugin [View on SkillFed](https://skillfed.io/packages/robotframework-seleniumtestability) · [View on PyPI](https://pypi.org/project/robotframework-seleniumtestability/)