Class Frame.IsVisibleOptions

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

public static class Frame.IsVisibleOptions 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.isVisible() does not wait for the element to become visible and returns immediately.
  • Constructor Details

    • IsVisibleOptions

      public IsVisibleOptions()
  • Method Details

    • setStrict

      public Frame.IsVisibleOptions 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.IsVisibleOptions setTimeout(double timeout)
      Deprecated.
      This option is ignored. Frame.isVisible() does not wait for the element to become visible and returns immediately.