To run codeception with Chrome, use the following acceptance.suite.yml
:
class_name: WebGuy
modules:
enabled:
- Selenium2
- WebHelper
config:
Selenium2:
url: 'http://www.google.com'
browser: chrome
delay: 350
Note that i changed your browser in the config from googlechrome
to chrome
.
Also, start Selenium2 by using this command:
java -Dwebdriver.chrome.driver=./chromedriver -jar selenium-server-standalone-2.31.0.jar
Note that you don't need to specify the browser when starting selenium.
You can download chromedriver here. You should also update your selenium standalone server; you can get the latest version from here.