PHP interaction with Selenium Webdriver API