Class BrowserContext.WaitForPageOptions

  • Enclosing interface:
    BrowserContext

    public static class BrowserContext.WaitForPageOptions
    extends Object
    • Field Detail

      • predicate

        public Predicate<Page> predicate
        Receives the Page object and resolves to truthy value when the waiting should resolve.
      • timeout

        public Double timeout
        Maximum time to wait for in milliseconds. Defaults to 30000 (30 seconds). Pass 0 to disable timeout. The default value can be changed by using the BrowserContext.setDefaultTimeout().
    • Constructor Detail

      • WaitForPageOptions

        public WaitForPageOptions()