Skip to content

Commit

Permalink
Bumping IE default file upload dialog timoeut to 3000ms
Browse files Browse the repository at this point in the history
  • Loading branch information
jimevans committed Feb 23, 2016
1 parent 6b81501 commit 8640a62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/iedriver/IECommandExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ LRESULT IECommandExecutor::OnCreate(UINT uMsg,
this->page_load_timeout_ = -1;
this->is_waiting_ = false;
this->page_load_strategy_ = "normal";
this->file_upload_dialog_timeout_ = 1000;
this->file_upload_dialog_timeout_ = DEFAULT_FILE_UPLOAD_DIALOG_TIMEOUT_IN_MILLISECONDS;
this->enable_full_page_screenshot_ = true;

this->input_manager_ = new InputManager();
Expand Down
1 change: 1 addition & 0 deletions cpp/iedriver/IECommandExecutor.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
#define WAIT_TIME_IN_MILLISECONDS 200
#define FIND_ELEMENT_WAIT_TIME_IN_MILLISECONDS 250
#define ASYNC_SCRIPT_EXECUTION_TIMEOUT_IN_MILLISECONDS 2000
#define DEFAULT_FILE_UPLOAD_DIALOG_TIMEOUT_IN_MILLISECONDS 3000
#define MAX_HTML_DIALOG_RETRIES 5
#define IGNORE_UNEXPECTED_ALERTS "ignore"
#define ACCEPT_UNEXPECTED_ALERTS "accept"
Expand Down

0 comments on commit 8640a62

Please sign in to comment.