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

Method FindEdgeWindowIgnoringProcessMatch

cpp/iedriver/BrowserFactory.cpp:1131–1144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1129}
1130
1131BOOL CALLBACK BrowserFactory::FindEdgeWindowIgnoringProcessMatch(HWND hwnd, LPARAM arg) {
1132 // Could this be an EdgeChrome window?
1133 // 19 == "Chrome_WidgetWin_1"
1134 char name[20];
1135 if (::GetClassNameA(hwnd, name, 20) == 0) {
1136 // No match found. Skip
1137 return TRUE;
1138 }
1139
1140 // continue if it is not "Chrome_WidgetWin_1"
1141 if (strcmp(ANDIE_FRAME_WINDOW_CLASS, name) != 0) return TRUE;
1142
1143 return EnumChildWindows(hwnd, FindEdgeChildWindowForProcess, arg);
1144}
1145
1146BOOL CALLBACK BrowserFactory::FindIEBrowserHandles(HWND hwnd, LPARAM arg) {
1147 std::vector<HWND>* handles = reinterpret_cast<std::vector<HWND>*>(arg);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected