travist / jquery.go.js

An easy-to-use web testing and automation tool that uses the jQuery interface within Node.js to interact with the Phantom.js browser.
MIT License
150 stars 35 forks source link

How to visit multiple pages in one session? #29

Closed balmasi closed 9 years ago

balmasi commented 9 years ago

Phantom/jquery.go work fine for whatever page I'm on, but as soon as I want to .visit another page it crashes with a broken pipe, saying:

jquery.go ERROR: Operation canceled jquery.go ERROR: Operation canceled jquery.go ERROR: Operation canceled . . .

Any Ideas why this is happening?

travist commented 9 years ago

What is happening is that you have AJAX being performed on the page that you are navigating away from and when you navigate away from a page during the middle of an AJAX method, it will throw an error saying that the "Operation canceled"