A model for a SelectField (dropdown) component.

Hierarchy

Constructors

  • A model for a FormField component.

    Parameters

    • parent: Page | FrameLocator | ComponentModel

      The parent playwright page, frame or component model.

    • Optional xpath: string

      A relative xpath selector to this element from the parent.

    • Optional nth: number

      Position among matching elements. Position is 1 indexed. Negative numbers count from the end.

    Returns SelectField

Properties

error: Locator

A locator to the field error message.

label: Locator

A locator to the field label.

root: Page | FrameLocator

The root playwright entity from which to resolve this component model's xpath.

select: Locator

A locator to the select element (Protected

  • Theme

    On This Page

    Generated using TypeDoc