Can't start chrome in headless mode
Hello,
I can't start chrome in headless mode. Here my behat.yml :+1:
default: suites: default: contexts: - App\Behat\Context\FeatureContext: kernel: '@kernel' - App\Behat\Context\ProductContext extensions: Behat\Symfony2Extension: kernel: bootstrap: features/bootstrap/bootstrap.php class: App\MultisiteKernel Behat\MinkExtension: base_url: "http://127.0.0.2:8000" selenium2: browser: chrome wd_host: 'http://localhost:4444/wd/hub' capabilities: chrome: switches: - "--headless" - "--disable-gpu" extra_capabilities: goog:chromeOptions: w3c: false sessions: default: symfony2: ~ SensioLabs\Behat\PageObjectExtension: namespaces: page: [App\Behat\Page]
I start selenium with :
java -Dwebdriver.chrome.driver=bin/chromedriver -jar bin/selenium-server-standalone.jar
Thx