This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Commit c30ddcd 1 parent 0b869ca commit c30ddcd Copy full SHA for c30ddcd
File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 16
16
tags : ' ~ajax&&~experimental&&~lightningextension'
17
17
extra : ' '
18
18
# May be chrome, selenium, phantomjs.
19
- web-driver : chrome
19
+ web-driver : selenium
20
20
21
21
bin.path : vendor/bin
22
22
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ protected function launchChrome() {
161
161
$ chrome_bin = $ this ->findChrome ();
162
162
$ this ->checkChromeVersion ($ chrome_bin );
163
163
$ this ->logger ->info ("Launching headless chrome... " );
164
+ $ this ->logger ->warning ("Headless Chrome integration is experimental and may not be stable. " );
164
165
$ this ->getContainer ()
165
166
->get ('executor ' )
166
167
->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 " )
Original file line number Diff line number Diff line change 25
25
DMore\ChromeExtension\Behat\ServiceContainer\ChromeExtension : ~
26
26
Behat\MinkExtension :
27
27
browser_name : chrome
28
- javascript_session : default
28
+ # Change to "default" for headless Chrome.
29
+ javascript_session : selenium2
29
30
# configure the base url for your site
30
31
base_url : ${project.local.uri}
31
32
# set default command for "Show last response" step.
You can’t perform that action at this time.
0 commit comments