Skip to content
This repository has been archived by the owner on Oct 6, 2018. It is now read-only.

Setting page-load timeout not working #6

Open
ggiunta opened this issue Jul 20, 2015 · 2 comments
Open

Setting page-load timeout not working #6

ggiunta opened this issue Jul 20, 2015 · 2 comments

Comments

@ggiunta
Copy link

ggiunta commented Jul 20, 2015

Setting it as described on WebDriverIO API:

http://webdriver.io/api/protocol/timeouts.html

webdriver.timeouts("page load", 30000);

But I keep getting timeouts. It's not waiting for the amount of time I set, seems like it completely ignores it:

Error: [url("https://ui-dev.oneflowcloud.com/#/login")] <= 
 Timeout while waiting for page to load
  at [object Object].hasTimeout (/Users/germangiunta/Dev/OneFlow/node_modules/webdriverjs-angular/index.js:47:12)
  at Timer.listOnTimeout (timers.js:110:15)
@vvo
Copy link
Contributor

vvo commented Jul 20, 2015

Default timeout is 10s for the page to load in webdriverjs-angular, we could make this customizable, see https://github.com/webdriverio/webdriverjs-angular/blob/bcf25dbe969af1b5f23d8460c80b5a87463040d4/index.js#L43-L66

@ggiunta
Copy link
Author

ggiunta commented Aug 12, 2015

It would be great to make it customisable as webdriverio allows you to set it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants