Hi @macbre !
I'm still having a issue with the option --wait-for-selector on some pages. The selector doesn't exist on the page but the test ends early.
Example:
phantomas --url=http://www.github.com --timeout=60 --phone --wait-for-selector=".foo.bar" --verbose
The problem seems to be located here:
https://github.com/macbre/phantomas/blob/devel/core/phantomas.js#L460
with this done() function being called twice.
Sorry, no pull request today as I can't find the reason behind the problem...
Hi @macbre !
I'm still having a issue with the option
--wait-for-selectoron some pages. The selector doesn't exist on the page but the test ends early.Example:
phantomas --url=http://www.github.com --timeout=60 --phone --wait-for-selector=".foo.bar" --verboseThe problem seems to be located here:
https://github.com/macbre/phantomas/blob/devel/core/phantomas.js#L460
with this
done()function being called twice.Sorry, no pull request today as I can't find the reason behind the problem...