class EventFiringWebDriverNavigation implements WebDriverNavigationInterface (View source)

Properties

protected WebDriverNavigationInterface $navigator
protected WebDriverDispatcher $dispatcher

Methods

__construct(WebDriverNavigationInterface $navigator, WebDriverDispatcher $dispatcher)

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

dispatch(mixed $method, mixed ...$arguments)

No description

dispatchOnException(WebDriverException $exception)

No description

Details

__construct(WebDriverNavigationInterface $navigator, WebDriverDispatcher $dispatcher)

No description

Parameters

WebDriverNavigationInterface $navigator
WebDriverDispatcher $dispatcher

WebDriverDispatcher getDispatcher()

No description

Return Value

WebDriverDispatcher

WebDriverNavigationInterface getNavigator()

No description

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

protected dispatch(mixed $method, mixed ...$arguments)

No description

Parameters

mixed $method
mixed ...$arguments

protected dispatchOnException(WebDriverException $exception)

No description

Parameters

WebDriverException $exception