Skip to content

Lupa API Reference / commands/locator / LocatorActionPayload

Interface: LocatorActionPayload

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

Payload for locator actions. Used internally by the runner to execute locator actions.

Properties

action

action: SupportedLocatorAction

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

The action to perform on the element.


args?

optional args?: unknown

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

Additional arguments for the action.


query

query: LocatorQuery

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

The query to use to locate the element.