I have spent a lot of time searching for the solution and it seems like it should be possible however I have been unable to find a way so far.
I have it running chrome without a problem using the following configurations in yml:
behat.yml
default:
paths:
features: features
bootstrap: %behat.paths.features%/bootstrap
context:
parameters:
browser: chrome
javascript_session: webdriver
extensions:
Behat\MinkExtension\Extension:
browser_name: chrome
goutte: ~
selenium2: ~
and following the same logic I have attempted to change where it says chrome to internet explorer, IE, and other variations but had no joy. I do have the IE Driver Server running but it doesn't seem to be making a difference.
I now have it working! For people who get the same problem and stumble across the question here is what to look out for: When starting selenium server use:
java -jar C:\xampp\htdocs\selenium-server-standalone-2.39.0.jar -Dwebdriver.ie.driver=Drivers\IEDriverServer.exe
In the behat.yml file I have:
default:
paths:
features: features
bootstrap: %behat.paths.features%/bootstrap
context:
parameters:
browser: ie
javascript_session: webdriver
extensions:
Behat\MinkExtension\Extension:
browser_name: ie
goutte: ~
selenium2: ~
If it still isn't running ensure the protected mode is on the same setting for all zones (doesn't matter if enabled or disabled but must be the same). You can use regedit to do this by changing the values at:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones
And then modify the 2500 value in each of the folders (apart from folder 0) to 0. IE should now run!