View Source API Reference PhoenixTestPlaywright v0.4.0

Modules

ExUnit case module to assist with browser based tests. See PhoenixTest.Playwright for more information.

Run feature tests in an actual browser, using PhoenixTest and Playwright.

Interact with a Playwright Browser.

Interact with a Playwright BrowserContext.

Configuration options for the Playwright driver. Most configuration is global (config/test.exs). Some configuration can be overridden via ExUnit tags.

Stateful, GenServer based connection to a Playwright node.js server. The connection is established via Playwright.Port.

Interact with a Playwright Frame (usually the "main" frame of a browser page).

Interact with a Playwright Page.

Start a Playwright node.js server and communicate with it via a Port.

Playright supports different types of locators: CSS, XPath, internal.