Skip to content

Lupa API Reference / commands/locator / QueryByPlaceholder

Interface: QueryByPlaceholder

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

Inputs may have a placeholder attribute to hint to the user what value should be entered. You can locate such an input using the placeholder locator strategy.

Properties

placeholder

placeholder: string

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

The placeholder text to use to locate the element. This should be the text content of the placeholder.