I'm trying to get started using Selenium with Chrome, i've had no previous trouble dealing with Selenium+Firefox, but i cannot seem to launch a Chrome browser now - every time I try, a Firefox browser appears instead.
Here is my setup:
$web_driver = new ChromeDriver("C:\chromedriver\chromedriver.exe");
$session = $web_driver->session('chrome');
I realise the first line is likely not to be correct. But i cannot think of how else to initiate Chrome.
Note: I have already downloaded the chrome web driver.
Here are the sources i used: http://edvanbeinum.com/using-selenium-2-phpunit-to-automate-browser-testing https://code.google.com/p/selenium/wiki/ChromeDriver
Many thanks.