Skip to content

Commit b99df02

Browse files
committed
Adding busy check after attach to IE instance
1 parent 54a4f8e commit b99df02

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: cpp/iedriver/IECommandExecutor.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,10 @@ int IECommandExecutor::CreateNewBrowser(std::string* error_message) {
675675
this->m_hWnd));
676676

677677
this->AddManagedBrowser(wrapper);
678+
bool is_busy = wrapper->IsBusy();
679+
if (is_busy) {
680+
LOG(WARN) << "Browser was launched and attached to, but is still busy.";
681+
}
678682
return WD_SUCCESS;
679683
}
680684

0 commit comments

Comments
 (0)