API Reference playwright v0.1.16-preview-3


Playwright module provides functions to launch a Playwright.Browser.

A Playwright.Browser instance is createed via

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

Playwright.BrowserType provides functions to launch a specific browser instance or connect to an existing one.

Playwright.ConsoleMessage instances are dispatched by page and handled via Playwright.Page.on/3 for the :console event type.

ElementHandle represents an in-page DOM element.

At any point of time, Playwright.Page exposes its current frame tree via the Playwright.Page.main_frame/1 and Playwright.Frame.child_frames/1 functions.

Page provides methods to interact with a single tab in a Playwright.Browser, or an extension background page in Chromium.

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

Playwright.Request represents a request for a network resource.

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.