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

Method IsBrowserProcessInitialized

cpp/iedriver/BrowserFactory.cpp:544–553  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542
543
544bool BrowserFactory::IsBrowserProcessInitialized(DWORD process_id) {
545 ProcessWindowInfo info;
546 info.dwProcessId = process_id;
547 info.hwndBrowser = NULL;
548 info.pBrowser = NULL;
549
550 ::EnumWindows(&BrowserFactory::FindBrowserWindow,
551 reinterpret_cast<LPARAM>(&info));
552 return info.hwndBrowser != NULL;
553}
554
555bool BrowserFactory::AttachToBrowserUsingActiveAccessibility
556 (ProcessWindowInfo* process_window_info,

Callers 3

OnAfterNewWindowMethod · 0.80
OnBrowserReattachMethod · 0.80
OpenNewBrowserTabMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected