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

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -