Answers for "how to disable cache for a particular site in chrome"

1

how to clear cache chrome

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 to disable cache for a particular site in chrome"

Browse Popular Code Answers by Language