javascript - How To Efficiently Navigate Websites via PhantomJS -


i have been working phantomjs recently, have found overall usage of inefficient. mean requests either succeed or time out based on interval value, , completion result in wasted time. basing script off of this example here. speed of internet varies, makes lines this:

setinterval(executerequestsstepbystep, 50) 

very iffy. wondering if there solutions eliminate set value such this. have been thinking steps[] example run through based on whether or not page had finished loading, not sure how implement this.

any ideas?


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -