Different approaches to refresh the application in Selenium:-
- driver.navigate().refresh();
- driver.get(driver.getCurrentUrl());
- driver.navigate().to(driver.getCurrentUrl());
- driver.findElement(By.id("Contact-us")).sendKeys(Keys.F5);
- driver.executeScript("history.go(0)");
For more information please go through the following tutorial to get more info about selenium: