Class Page.IsVisibleOptions

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

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

    • IsVisibleOptions

      public IsVisibleOptions()
  • Method Details

    • setStrict

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