A proxy to the underlying WebElement which represents a slot/single row within the component.

Hierarchy

  • SlotProxy

Methods

  • Opens the contextMenu and the invokes the action provided for the element associated with this SlotProxy.

    Parameters

    • action: string

      The value of the <oj-option> to select

    Returns Promise<void>

    Since

    "11.0.0”

    Example

    <pre>
    const proxy = await treeview.findItem({ key: "news" });
    await proxy.doContextualAction("action1");
    </pre>
  • Find an array of matching elements within this SlotProxy

    Parameters

    • locator: Locator

      The elements locator

    Returns Promise<WebElement[]>

Generated using TypeDoc