clear chrome cache code example

Example 1: clear composer cache

composer clearcache
//Then autoload composer
composer dump-autoload

Example 2: chrome clear cache for one site

chrome://settings/siteData

Example 3: chrome refresh cache

CTRL+F5 : to refresh the page by clearing GG chrome cache.

Example 4: 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;

Tags:

Misc Example