Class Frame.EvalOnSelectorOptions

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

public static class Frame.EvalOnSelectorOptions 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

    • EvalOnSelectorOptions

      public EvalOnSelectorOptions()
  • Method Details

    • setStrict

      public Frame.EvalOnSelectorOptions 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.