Skip to content

Commit

Permalink
Defaulting web driver to Selenium.
Browse files Browse the repository at this point in the history
  • Loading branch information
grasmash committed Jun 27, 2017
1 parent c7265f6 commit fb719c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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: chrome
web-driver: selenium

bin.path: vendor/bin

Expand Down
1 change: 1 addition & 0 deletions src/Robo/Commands/Tests/BehatCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ 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

0 comments on commit fb719c0

Please sign in to comment.