PlaywrightEx.Selector (PlaywrightEx v0.2.0)
View SourcePlayright 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
Types
Functions
@spec button(String.t(), exact_opts()) :: t()
@spec label(String.t(), exact_opts()) :: t()
@spec link(String.t(), exact_opts()) :: t()
@spec none() :: t()
@spec role(String.t(), String.t(), exact_opts()) :: t()
@spec text(String.t(), exact_opts()) :: t()