refreshPage(driver)
refreshPage
Parameters:
Name | Type | Description |
---|---|---|
driver |
Object |
webdriver object of web browser. |
Example
Examples usage of refreshPage
refreshPage(driver).then(() => {
// It will refresh the current web page.
}).catch((error) => {
// handle error
});