MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / ClearCache

Method ClearCache

cpp/iedriver/BrowserFactory.cpp:142–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142void BrowserFactory::ClearCache() {
143 LOG(TRACE) << "Entering BrowserFactory::ClearCache";
144 if (this->clear_cache_) {
145 if (IsWindowsVistaOrGreater()) {
146 LOG(DEBUG) << "Clearing cache with low mandatory integrity level as required on Windows Vista or later.";
147 this->InvokeClearCacheUtility(true);
148 }
149 LOG(DEBUG) << "Clearing cache with normal process execution.";
150 this->InvokeClearCacheUtility(false);
151 }
152}
153
154DWORD BrowserFactory::LaunchBrowserProcess(std::string* error_message) {
155 LOG(TRACE) << "Entering BrowserFactory::LaunchBrowserProcess";

Callers 2

LaunchBrowserProcessMethod · 0.95

Calls 2

LOGClass · 0.50

Tested by

no test coverage detected