Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 10aec0f

Browse files
gaborcsjuliemr
authored andcommitted
fix(pageload): increase wait timeout
The 300 ms wait caused problems when testing IE on Sauce Labs. It seems way too short. "browser.get()" invariably timed out. Increasing it solved our problem.
1 parent 8d29c93 commit 10aec0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/protractor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ Protractor.prototype.get = function(destination, opt_timeout) {
659659
return self.driver.getCurrentUrl().then(function(url) {
660660
return url !== 'about:blank';
661661
});
662-
}, 300);
662+
}, timeout * 1000);
663663

664664
var assertAngularOnPage = function(arr) {
665665
var hasAngular = arr[0];

0 commit comments

Comments
 (0)