Class Frame.WaitForNavigationOptions

  • Enclosing interface:
    Frame

    public static class Frame.WaitForNavigationOptions
    extends Object
    • Field Detail

      • timeout

        public Integer timeout
        Maximum operation time in milliseconds, defaults to 30 seconds, pass 0 to disable timeout. The default value can be changed by using the browserContext.setDefaultNavigationTimeout(timeout), browserContext.setDefaultTimeout(timeout), page.setDefaultNavigationTimeout(timeout) or page.setDefaultTimeout(timeout) methods.
      • glob

        public String glob
        URL string, URL regex pattern or predicate receiving URL to match while waiting for the navigation.
      • waitUntil

        public Frame.LoadState waitUntil
        When to consider operation succeeded, defaults to load. Events can be either: - 'domcontentloaded' - consider operation to be finished when the DOMContentLoaded event is fired. - 'load' - consider operation to be finished when the load event is fired. - 'networkidle' - consider operation to be finished when there are no network connections for at least 500 ms.
    • Constructor Detail

      • WaitForNavigationOptions

        public WaitForNavigationOptions()