WebDriverNavigationInterface
in
An abstraction allowing the driver to access the browser's history and to navigate to a given URL.
Table of Contents
Methods
- back() : self
- Move back a single entry in the browser's history, if possible.
- forward() : self
- Move forward a single entry in the browser's history, if possible.
- refresh() : self
- Refresh the current page This is equivalent to pressing the refresh button in the browser.
- to() : self
- Navigate to the given URL
Methods
back()
Move back a single entry in the browser's history, if possible.
public
back() : self
This is equivalent to pressing the back button in the browser or invoking window.history.back.
Return values
selfforward()
Move forward a single entry in the browser's history, if possible.
public
forward() : self
This is equivalent to pressing the forward button in the browser or invoking window.history.back.
Return values
selfrefresh()
Refresh the current page This is equivalent to pressing the refresh button in the browser.
public
refresh() : self
Return values
selfto()
Navigate to the given URL
public
to(string $url) : self
Parameters
- $url : string