Skip to content

Lupa API Reference / commands/locator / TimeoutOption

Interface: TimeoutOption

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

Options that can be passed to locator actions.

Extended by

Properties

timeout?

optional timeout?: number

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

Maximum time in milliseconds. Defaults to 0 - no timeout. The default value can be changed via actionTimeout option in the config, or by using the browserContext.setDefaultTimeout(timeout) or page.setDefaultTimeout(timeout) methods.