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

Method GetManagedBrowserHandles

cpp/iedriver/IECommandExecutor.cpp:1344–1356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1342}
1343
1344void IECommandExecutor::GetManagedBrowserHandles(std::vector<std::string>* managed_browser_handles) const {
1345 LOG(TRACE) << "Entering IECommandExecutor::GetManagedBrowserHandles";
1346
1347 BrowserMap::const_iterator it = this->managed_browsers_.begin();
1348 for (; it != this->managed_browsers_.end(); ++it) {
1349 if (it->second->IsValidWindow()) {
1350 managed_browser_handles->push_back(it->first);
1351 }
1352
1353 // Look for browser windows created by showModalDialog().
1354 it->second->GetActiveDialogWindowHandle();
1355 }
1356}
1357
1358void IECommandExecutor::AddManagedBrowser(BrowserHandle browser_wrapper) {
1359 LOG(TRACE) << "Entering IECommandExecutor::AddManagedBrowser";

Callers 4

OnBrowserCloseWaitMethod · 0.95
ExecuteInternalMethod · 0.80
ExecuteInternalMethod · 0.80
ExecuteInternalMethod · 0.80

Calls 4

endMethod · 0.80
LOGClass · 0.50
IsValidWindowMethod · 0.45

Tested by

no test coverage detected