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 )
Is there any better way to do this?