1. Using sendKeys method
driver.findElement(By.id("firstname-placeholder")).sendKeys(Keys.F5);
2. Using navigate.refresh() method
driver.navigate().refresh();
3. Using navigate.to() method
driver.navigate().to(driver.getCurrentUrl());
4. Using get() method
driver.get(driver.getCurrentUrl());