Skip to content

Commit

Permalink
Added logging of found dialog window handle for IE file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Mar 2, 2016
1 parent 306f16d commit 1671840
Show file tree
Hide file tree
Showing 6 changed files with 8,786 additions and 8,762 deletions.
5 changes: 4 additions & 1 deletion cpp/iedriver/CommandHandlers/SendKeysCommandHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#define WEBDRIVER_IE_SENDKEYSCOMMANDHANDLER_H_

#include <ctime>
#include <iomanip>
#include "../Browser.h"
#include "../IECommandHandler.h"
#include "../IECommandExecutor.h"
Expand Down Expand Up @@ -234,7 +235,9 @@ class SendKeysCommandHandler : public IECommandHandler {
return false;
}

LOG(DEBUG) << "Found file upload dialog. Window has caption '"
LOG(DEBUG) << "Found file upload dialog with handle "
<< StringUtilities::Format("0x%08X", dialog_window_handle)
<< ". Window has caption '"
<< WindowUtilities::GetWindowCaption(dialog_window_handle)
<< "' Starting to look for file name edit control.";
return SendKeysToFileUploadAlert(dialog_window_handle, data->text);
Expand Down
Loading

0 comments on commit 1671840

Please sign in to comment.