Using puppeteer: 1.3.0
Puppeteer navigates to the page using goto(url, {timeout: 0, waitUntil: 'load'})
.
It then never resolved simply leaving me on the page. I can open the console in the dev tools and type in document.readyState
and get "completed"
.
Anyone have any idea why goto
is not resolving?
readyState documentation: http://www.w3schools.com/jsref/prop_doc_readystate.asp
EDIT
Changed
waitFor
towaitUntil
After further investigation I've realized that the problem is in fact with the web page I am on. The navigation does not trigger any lifecycle events which is what the goto() method relies on in order to complete.