Selectors
Playwright\Selector\SelectorsInterface
Methods
register()
voidRegister a custom selector engine.
function register(string $name, string $script, array|RegisterOptions $options = []): void
setTestIdAttribute()
voidSet the test id attribute name.
function setTestIdAttribute(string $attributeName): void
getTestIdAttribute()
stringGet the current test id attribute name.
function getTestIdAttribute(): string