Robot Framework SeleniumTestability

2.1.0 · active · verified Wed Apr 15

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.

Warnings

Install

Imports

Quickstart

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.

*** Settings ***
Library    SeleniumLibrary    timeout=10s
Library    SeleniumTestability

*** Test Cases ***
Example Test With Async Waits
    Open Browser    https://example.com    chrome
    Wait For Page Ready
    Title Should Be    Example Domain
    # Example: If your application uses jQuery, Angular, or waits for network idle
    # Wait For JQuery Ready
    # Wait For Angular Ready
    # Wait Until Network Idle
    Close Browser

view raw JSON →