Skip to content

Commit

Permalink
Adding busy check after attach to IE instance
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Apr 17, 2015
1 parent 54a4f8e commit b99df02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/iedriver/IECommandExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,10 @@ int IECommandExecutor::CreateNewBrowser(std::string* error_message) {
this->m_hWnd));

this->AddManagedBrowser(wrapper);
bool is_busy = wrapper->IsBusy();
if (is_busy) {
LOG(WARN) << "Browser was launched and attached to, but is still busy.";
}
return WD_SUCCESS;
}

Expand Down

0 comments on commit b99df02

Please sign in to comment.