Answers for "clear cache data"

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
0

drop caches

# echo 3 > /proc/sys/vm/drop_caches
Posted by: Guest on October-06-2021

Browse Popular Code Answers by Language