navigateTo(driver, url)
navigateTo
Parameters:
Name | Type | Description |
---|---|---|
driver |
Object |
webdriver object of web browser. |
url |
String | on which navigate to. |
Example
Examples usage of navigateTo
navigateTo(driver, url).then(() => {
// It will navigate to back page in browser history.
}).catch((error) => {
// handle error
});