Rename lock to willNavigate
The phantomjs documentation[1] indicates that the lock variable is named 'willNavigate'. After a quick test, the values passed reflect that name, true indicating navigation will happen, false indicating it will not. [1]: https://github.com/ariya/phantomjs/wiki/API-Reference-WebPage#onnavigationrequested
Showing
1 changed file
with
4 additions
and
4 deletions
-
Please register or sign in to post a comment