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

Method IsAdvancedCookiesApi

cpp/iedriver/CookieManager.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52bool CookieManager::IsAdvancedCookiesApi() {
53 FARPROC address = NULL;
54 HMODULE wininet_handle = ::GetModuleHandle(L"wininet");
55 if (wininet_handle) {
56 address = ::GetProcAddress(wininet_handle, "InternetGetCookieEx2");
57 }
58 return address != NULL;
59}
60
61int CookieManager::SetCookie(const std::string& url,
62 const BrowserCookie& cookie) {

Callers 1

GetCookiesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected