зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1302707 - Set the default page loading- and script timeout; r=automatedtester
The WebDriver specification mandates that the page loading timeout must be five minutes, and the script timeout 30 seconds. MozReview-Commit-ID: E82jGXCb2ch --HG-- extra : rebase_source : e1015cbf1cb01b7b48948592be9a022b87670118
This commit is contained in:
Родитель
b2605976f0
Коммит
b4bfad9e93
|
@ -104,9 +104,9 @@ this.GeckoDriver = function(appName, stopSignal) {
|
|||
// points to current browser
|
||||
this.curBrowser = null;
|
||||
this.context = Context.CONTENT;
|
||||
this.scriptTimeout = null;
|
||||
this.scriptTimeout = 30000; // 30 seconds
|
||||
this.searchTimeout = null;
|
||||
this.pageTimeout = null;
|
||||
this.pageTimeout = 300000; // five minutes
|
||||
this.timer = null;
|
||||
this.inactivityTimer = null;
|
||||
this.marionetteLog = new logging.ContentLogger();
|
||||
|
|
Загрузка…
Ссылка в новой задаче