Year: 2012

PhantomJS and asynchronous resources after load

I’ve been dabbling with PhantomJS for about the past 3 months and just “picked up my pen” again this week. I’m trying to write some automated testing around tag resources loading onto the page. page.open(url,function(status){ if(status==’success’){ var check = page.evaluate(function(){ return Read More