dalekjs / dalek

[unmaintained] DalekJS Base framework
MIT License
695 stars 63 forks source link

Feature request: .waitForDocumentReady() 'ness #119

Open krnlde opened 10 years ago

krnlde commented 10 years ago

As the title quotes it would be awesome to have a .waitForDocumentReady() method or at least the possibility to provide Promises in the .waitFor() that resolve asynchronously.

I'll give some useful examples if needed.

asciidisco commented 10 years ago

Normally Webdriver should wait for the document to be ready. This is a Browser specific problem. We will see what can be done about it on our side.

rodneyrehm commented 10 years ago

In Skaro a .open() will only resolve once the page's document is ready.