WebDriverNavigation
class WebDriverNavigation implements WebDriverNavigationInterface (View source)
Properties
protected | $executor |
Methods
Move back a single entry in the browser's history, if possible.
Move forward a single entry in the browser's history, if possible.
Refresh the current page This is equivalent to pressing the refresh button in the browser.
Navigate to the given URL
Details
__construct(ExecuteMethod $executor)
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