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

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.

Hello Toby-steed,

You can use the below code to refresh the entire page:

driver.navigate().refresh();