Tutorial by Examples

It's possible to navigate the browser directly, like using the standard toolbar commands available on all browsers: You can create a navigation object by calling Navigate() on the driver: IWebDriver driver INavigation navigation = driver.Navigate(); A navigation object allows you to perform ...
For Navigate to any url : driver.navigate().to("http://www.example.com"); For move backwards : driver.navigate().back(); For move forwards : driver.navigate().forward(); For refresh the page : driver.navigate().refresh();
WebDriver, The main interface to use for testing, which represents an idealised web browser. The methods in this class fall into three categories: Control of the browser itself Selection of WebElements Debugging aids Key methods are get(String), which is used to load a new web page, and the ...

Page 1 of 1