Robot Framework Browser library

19.14.2 · active · verified Mon Apr 13

Robot Framework Browser library (robotframework-browser) is a web testing library for Robot Framework that uses Playwright internally for browser automation. It aims for speed, reliability, and visibility in web testing. The library has a rapid release cadence, frequently publishing hotfixes and minor versions, often on a monthly or bi-weekly basis.

Warnings

Install

Imports

Quickstart

This quickstart demonstrates a basic Robot Framework test case using the Browser library. It opens a new browser page to playwright.dev and asserts that the `h1` element contains the text 'Playwright'.

*** Settings ***
Library    Browser

*** Test Cases ***
Example Test
    New Page    https://playwright.dev
    Get Text    h1    contains    Playwright

view raw JSON →