Skip to content

Lupa API Reference / commands/locator / PositionOption

Interface: PositionOption

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

Options that can be passed to locator actions.

Extended by

Properties

position?

optional position?: object

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

A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element.

x

x: number

X coordinate

y

y: number

Y coordinate