Robot Framework SeleniumTestability is a library that enhances Robot Framework's SeleniumLibrary by providing additional keywords to handle asynchronous events and improve test stability for modern web applications. It helps in waiting for page readiness, Angular, jQuery, and network idle states. The current version is 2.1.0, with releases often coinciding with major SeleniumLibrary or Selenium updates.
pip install robotframework-seleniumtestabilityVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to include SeleniumTestability in your Robot Framework project and use its core 'Wait For Page Ready' keyword to ensure the page is fully loaded, including common asynchronous operations, before proceeding with test steps. Ensure `SeleniumLibrary` is also imported and configured.
Upgrade your 'selenium' package to version 4+ and 'robotframework-seleniumlibrary' to a compatible version (e.g., 5.0+), or pin 'robotframework-seleniumtestability' to an earlier version like `robotframework-seleniumtestability<2.0.0`.
Combine SeleniumTestability's broad waits (e.g., 'Wait For Page Ready') with specific SeleniumLibrary waits for unique application behaviors (e.g., 'Wait Until Element Is Enabled' or custom `Wait Until Keyword Succeeds`).
Always include `Library SeleniumLibrary` with its necessary arguments (like `timeout`) before `Library SeleniumTestability` in your Robot Framework settings files (`.robot`). Ensure SeleniumLibrary is properly installed and its browser initialization keywords are used.