Class Frame.QuerySelectorOptions

java.lang.Object
com.microsoft.playwright.Frame.QuerySelectorOptions
Enclosing interface:
Frame

public static class Frame.QuerySelectorOptions extends Object
  • Field Details

    • strict

      public Boolean strict
      When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.
  • Constructor Details

    • QuerySelectorOptions

      public QuerySelectorOptions()
  • Method Details

    • setStrict

      public Frame.QuerySelectorOptions setStrict(boolean strict)
      When true, the call requires selector to resolve to a single element. If given selector resolves to more than one element, the call throws an exception.