Skip to content

Lupa API Reference / commands/locator / FillOptions

Interface: FillOptions

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

Options for the fill action.

Extends

Properties

force?

optional force?: boolean

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

Whether to bypass the actionability checks. Defaults to false.

Inherited from

ForceOption.force


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.

Inherited from

StrictOption.strict


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.

Inherited from

TimeoutOption.timeout