Class FrameLocator.GetByRoleOptions

java.lang.Object
com.microsoft.playwright.FrameLocator.GetByRoleOptions
Enclosing interface:
FrameLocator

public static class FrameLocator.GetByRoleOptions extends Object
  • Field Details

    • checked

      public Boolean checked
      An attribute that is usually set by aria-checked or native <input type=checkbox> controls.

      Learn more about aria-checked.

    • disabled

      public Boolean disabled
      An attribute that is usually set by aria-disabled or disabled.

      NOTE: Unlike most other attributes, disabled is inherited through the DOM hierarchy. Learn more about aria-disabled.

    • exact

      public Boolean exact
      Whether name is matched exactly: case-sensitive and whole-string. Defaults to false. Ignored when name is a regular expression. Note that exact match still trims whitespace.
    • expanded

      public Boolean expanded
      An attribute that is usually set by aria-expanded.

      Learn more about aria-expanded.

    • includeHidden

      public Boolean includeHidden
      Option that controls whether hidden elements are matched. By default, only non-hidden elements, as defined by ARIA, are matched by role selector.

      Learn more about aria-hidden.

    • level

      public Integer level
      A number attribute that is usually present for roles heading, listitem, row, treeitem, with default values for <h1>-<h6> elements.

      Learn more about aria-level.

    • name

      public Object name
      Option to match the accessible name. By default, matching is case-insensitive and searches for a substring, use exact to control this behavior.

      Learn more about accessible name.

    • pressed

      public Boolean pressed
      An attribute that is usually set by aria-pressed.

      Learn more about aria-pressed.

    • selected

      public Boolean selected
      An attribute that is usually set by aria-selected.

      Learn more about aria-selected.

  • Constructor Details

    • GetByRoleOptions

      public GetByRoleOptions()
  • Method Details