Interface for navigating back and forth in the browser history.

Hierarchy

  • Navigation

Constructors

Methods

Constructors

  • Interface for navigating back and forth in the browser history.

    This class should never be instantiated directly. Insead, obtain an instance with

    navigate()

    Parameters

    Returns Navigation

    See

    WebDriver#navigate()

Methods

  • Schedules a command to move backwards in the browser history.

    Returns Promise<void>

    A promise that will be resolved when the navigation event has completed.

  • Schedules a command to move forwards in the browser history.

    Returns Promise<void>

    A promise that will be resolved when the navigation event has completed.

  • Schedules a command to refresh the current page.

    Returns Promise<void>

    A promise that will be resolved when the navigation event has completed.

  • Schedules a command to navigate to a new URL.

    Parameters

    • url: string

      The URL to navigate to.

    Returns Promise<void>

    A promise that will be resolved when the URL has been loaded.

Generated using TypeDoc