Skip to content

Commit 8640a62

Browse files
committed
Bumping IE default file upload dialog timoeut to 3000ms
1 parent 6b81501 commit 8640a62

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cpp/iedriver/IECommandExecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ LRESULT IECommandExecutor::OnCreate(UINT uMsg,
127127
this->page_load_timeout_ = -1;
128128
this->is_waiting_ = false;
129129
this->page_load_strategy_ = "normal";
130-
this->file_upload_dialog_timeout_ = 1000;
130+
this->file_upload_dialog_timeout_ = DEFAULT_FILE_UPLOAD_DIALOG_TIMEOUT_IN_MILLISECONDS;
131131
this->enable_full_page_screenshot_ = true;
132132

133133
this->input_manager_ = new InputManager();

cpp/iedriver/IECommandExecutor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#define WAIT_TIME_IN_MILLISECONDS 200
3838
#define FIND_ELEMENT_WAIT_TIME_IN_MILLISECONDS 250
3939
#define ASYNC_SCRIPT_EXECUTION_TIMEOUT_IN_MILLISECONDS 2000
40+
#define DEFAULT_FILE_UPLOAD_DIALOG_TIMEOUT_IN_MILLISECONDS 3000
4041
#define MAX_HTML_DIALOG_RETRIES 5
4142
#define IGNORE_UNEXPECTED_ALERTS "ignore"
4243
#define ACCEPT_UNEXPECTED_ALERTS "accept"

0 commit comments

Comments
 (0)