API Reference playwright v0.1.16-preview-2

Modules

Playwright module provides functions to launch a Playwright.Browser.

Playwright.Browser represents a launched web browser instance managed by Playwright.

Playwright.BrowserContext provides a way to operate multiple independent browser sessions.

The Playwright.BrowserType module exposes functions that either

Defines a handle to a DOM element. Playwright.ElementHandle structs may be returned from Playwright.Page functions such as Playwright.Page.query_selector/2.

Playwright.Page represents a web page loaded in the Playwright browser server.

Playwright.Page.Accessibility provides functions for inspecting Chromium's accessibility tree.

Configuration for Playwright.

Use PlaywrightTest.Case in an ExUnit test module to start a Playwright server and put it into the test context.

PlaywrightTest.Page provides a shorthand for preparing a Playwright.Page.