PhantomJsCloud Automation API
    Preparing search index...

    Interface NavigationOptions

    Navigation parameters which might have the following properties:

    • timeout Maximum navigation time in milliseconds, defaults to 30 seconds, pass 0 to disable timeout. The default value can be changed by using the page.setDefaultNavigationTimeout(timeout) or page.setDefaultTimeout(timeout) methods.
    • waitUntil <string|Array> When to consider navigation succeeded, defaults to load. Given an array of event strings, navigation is considered to be successful after all events have been fired. Events can be either:
      • load - consider navigation to be finished when the load event is fired.
      • domcontentloaded - consider navigation to be finished when the DOMContentLoaded event is fired.
      • networkidle0 - consider navigation to be finished when there are no more than 0 network connections for at least 500 ms.
      • networkidle2 - consider navigation to be finished when there are no more than 2 network connections for at least 500 ms.
    interface NavigationOptions {
        timeout?: number;
        waitUntil?: LoadEvent | LoadEvent[];
    }

    Hierarchy (View Summary)

    Index
    timeout?: number

    Maximum navigation time in milliseconds, pass 0 to disable timeout.

    30000
    
    waitUntil?: LoadEvent | LoadEvent[]

    When to consider navigation succeeded.

    load Navigation is consider when the load event is fired.