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

Method PostBrowserReattachMessage

cpp/iedriver/IECommandExecutor.cpp:1280–1293  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1278}
1279
1280void IECommandExecutor::PostBrowserReattachMessage(const DWORD current_process_id,
1281 const std::string& browser_id,
1282 const std::vector<DWORD>& known_process_ids) {
1283 LOG(TRACE) << "Entering IECommandExecutor::PostBrowserReattachMessage";
1284 ::Sleep(100);
1285 BrowserReattachInfo* repost_info = new BrowserReattachInfo;
1286 repost_info->current_process_id = current_process_id;
1287 repost_info->browser_id = browser_id;
1288 repost_info->known_process_ids = known_process_ids;
1289 ::PostMessage(this->m_hWnd,
1290 WD_BROWSER_REATTACH,
1291 NULL,
1292 reinterpret_cast<LPARAM>(repost_info));
1293}
1294
1295void IECommandExecutor::GetNewBrowserProcessIds(std::vector<DWORD>* known_process_ids,
1296 std::vector<DWORD>* new_process_ids) {

Callers 1

OnBrowserReattachMethod · 0.95

Calls 1

LOGClass · 0.50

Tested by

no test coverage detected