View Source API Reference PhoenixTestPlaywright v0.2.0

Modules

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

Warning

This driver is experimental. If you don't need browser based tests, see PhoenixTest on regular usage.

Interact with a Playwright Browser.

Interact with a Playwright BrowserContext.

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).

Parse playwright messages. A single Port message can contain multiple Playwright messages and/or a fraction of a message. Such a message fraction is stored in bufffer and continued in the next Port message.

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

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