How do I click an element in PhantomJS?
page.evaluate(function() { document.getElementById(\'idButtonSpan\').click(); });
This gives
use simple JavaScript with evaluate, something like this:
evaluate
page.evaluate(function() { document.getElementById('yourId').click(); });