add executePhantomJS function to webdriver