Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Revert "Defaulting web driver to Selenium." #1735

Merged
merged 3 commits into from
Jun 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ behat:
tags: '~ajax&&~experimental&&~lightningextension'
extra: ''
# May be chrome, selenium, phantomjs.
web-driver: selenium
web-driver: chrome

bin.path: vendor/bin

Expand Down
1 change: 0 additions & 1 deletion src/Robo/Commands/Tests/BehatCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ protected function launchChrome() {
$chrome_bin = $this->findChrome();
$this->checkChromeVersion($chrome_bin);
$this->logger->info("Launching headless chrome...");
$this->logger->warning("Headless Chrome integration is experimental and may not be stable.");
$this->getContainer()
->get('executor')
->execute("'$chrome_bin' --headless --disable-gpu --remote-debugging-port={$this->chromePort} https://www.chromestatus.com --disable-web-security --user-data-dir > /dev/null 2>&1")
Expand Down
3 changes: 1 addition & 2 deletions template/tests/behat/example.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ local:
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension: ~
Behat\MinkExtension:
browser_name: chrome
# Change to "default" for headless Chrome.
javascript_session: selenium2
javascript_session: default
# configure the base url for your site
base_url: ${project.local.uri}
# set default command for "Show last response" step.
Expand Down