Class Frame.IsHiddenOptions

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

public static class Frame.IsHiddenOptions 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.
    • timeout

      public Double timeout
      Deprecated.
      This option is ignored. Frame.isHidden() does not wait for the element to become hidden and returns immediately.
  • Constructor Details

    • IsHiddenOptions

      public IsHiddenOptions()
  • Method Details

    • setStrict

      public Frame.IsHiddenOptions 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.
    • setTimeout

      public Frame.IsHiddenOptions setTimeout(double timeout)
      Deprecated.
      This option is ignored. Frame.isHidden() does not wait for the element to become hidden and returns immediately.