class WebDriverNavigation implements WebDriverNavigationInterface (View source)

Properties

protected $executor

Methods

__construct(ExecuteMethod $executor)

No description

back()

Move back a single entry in the browser's history, if possible.

forward()

Move forward a single entry in the browser's history, if possible.

refresh()

Refresh the current page This is equivalent to pressing the refresh button in the browser.

to(string $url)

Navigate to the given URL

Details

__construct(ExecuteMethod $executor)

No description

Parameters

ExecuteMethod $executor

WebDriverNavigationInterface back()

Move back a single entry in the browser's history, if possible.

This is equivalent to pressing the back button in the browser or invoking window.history.back.

WebDriverNavigationInterface forward()

Move forward a single entry in the browser's history, if possible.

This is equivalent to pressing the forward button in the browser or invoking window.history.back.

WebDriverNavigationInterface refresh()

Refresh the current page This is equivalent to pressing the refresh button in the browser.

WebDriverNavigationInterface to(string $url)

Navigate to the given URL

Parameters

string $url

Return Value

WebDriverNavigationInterface