To Clear the History Of the Browser:
Syntax: JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("history.clear()");
Syntax: JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("history.clear()");
Your ultimate guide
No comments:
Post a Comment