📜  刷新页面的方式 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:59.394000             🧑  作者: Mango

代码示例1
driver.navigate().refresh();
driver.get(“URL”);
driver.get(driver.getCurrentUrl());
driver.navigate().to(“URL”);
driver.navigate().to(driver.getCurrentUrl());
Using sendKeys(Keys.F5) on any text box on the webpage