Styrow.dev
Question 19 of 36

What is browser.refresh in Protractor?

Question

What is browser.refresh in Protractor?

Answer

browser.refresh makes a full reload of the current page and loads mock modules before Angular. Assumes that the page being loaded uses Angular. If you need to access a page which does not have Angular on load, use the wrapped webdriver directly.

driver.navigate().refresh();