click hack for phantomjs