Answers for "how do i clear my browser's cache"

1

how to clear cache

ChromeDriver chromeDriver = new ChromeDriver();

    chromeDriver.manage().deleteAllCookies();
    chromeDriver.get("chrome://settings/clearBrowserData");
    chromeDriver.findElementByXPath("//settings-ui").sendKeys(Keys.ENTER);

    return chromeDriver;
Posted by: Guest on February-04-2021

Code answers related to "how do i clear my browser's cache"

Browse Popular Code Answers by Language