WebDriverNavigationInterface
interface WebDriverNavigationInterface (View source)
An abstraction allowing the driver to access the browser's history and to navigate to a given URL.
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
        
                            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