Skip to content

Lupa API Reference / commands/locator / StrictOption

Interface: StrictOption

Defined in: src/commands/locator.ts:177

Options that can be passed to locator actions.

Extended by

Properties

strict?

optional strict?: boolean

Defined in: src/commands/locator.ts:182

When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.