Lupa API Reference / commands/locator / ClearOptions
Interface: ClearOptions
Defined in: src/commands/locator.ts:238
Options for the clear action.
Extends
Properties
force?
optionalforce?:boolean
Defined in: src/commands/locator.ts:171
Whether to bypass the actionability checks. Defaults to false.
Inherited from
timeout?
optionaltimeout?: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.