Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Can't start chrome in headless mode #352

Open
hmonglee opened this issue Nov 19, 2019 · 0 comments
Open

Can't start chrome in headless mode #352

hmonglee opened this issue Nov 19, 2019 · 0 comments

Comments

@hmonglee
Copy link

Hello,

I can't start chrome in headless mode. Here my behat.yml 馃憤
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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant