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
Post a Comment