PhoenixTest.Playwright.Selector (PhoenixTestPlaywright v0.6.2)

View Source

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

They can mixed and matched by chaining the together.

Also, you can register custom selector engines that run right in the browser (Javascript).

There is no official documentation, since this is considered Playwright internal.

References:

Summary

Functions

left and right

at(at)

build(selector)

button(text, opts)

concat(left, right)

css(selector)

has(left, right)

label(label, opts)

link(text, opts)

none()

role(role, text, opts)

text(text, opts)