1 Answer

0 votes
by
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();

driver.navigate().refresh();
...