I want to refresh webpage during tests. I send F5 key but I don't know if the driver has the method for refreshing entire webpage.
Below is the code that I used:
while(driver.findElements(By.xpath("//*[text() = 'READY']")).size() == 0 )
driver.findElement(By.xpath("//body")).sendKeys(Keys.F5);
driver.findElement(By.cssSelector("div.column a")).click();
Is there any better way to do this?