refresh browser cache code example

Example 1: chrome refresh cache

CTRL+F5 : to refresh the page by clearing GG chrome cache.

Example 2: what is a cache-less reload

"Cache-less refresh" / "Hard Refresh" / "Unched Reload"
Mac: Cmd+Shift+R 
Windows: Ctrl+Shift+R

Example 3: how to refresh browser

driver.navigate().refresh();
driver.get(“URL”);
driver.get(driver.getCurrentUrl());
driver.navigate().to(“URL”);
driver.navigate().to(driver.getCurrentUrl());
Using sendKeys(Keys.F5) on any text box on the webpage

Tags:

Java Example