I tried many times to click on a <a>
tag, but phantomjs doesn't see it, even if I see it when I render the page.
I tried to use this trick, it won't work.
var evObj = document.createEvent('Events');
evObj.initEvent('click', true, false);
document.getElementById('TEST').dispatchEvent(evObj);