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

Method ReattachBrowser

cpp/iedriver/Browser.cpp:221–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221void Browser::ReattachBrowser(IWebBrowser2* browser) {
222 LOG(TRACE) << "Entering Browser::ReattachBrowser";
223 this->browser_ = browser;
224 this->AttachEvents();
225 this->set_is_awaiting_new_process(false);
226 LOG(DEBUG) << "Reattach complete";
227}
228
229void Browser::GetDocument(IHTMLDocument2** doc) {
230 this->GetDocument(false, doc);

Callers 1

OnBrowserReattachMethod · 0.80

Calls 3

AttachEventsMethod · 0.95
LOGClass · 0.50

Tested by

no test coverage detected