WebdriverIO should be able to run Chrome headlessly
authorŽeljko Filipin <zeljko.filipin@gmail.com>
Fri, 9 Jun 2017 13:40:31 +0000 (15:40 +0200)
committerZfilipin <zfilipin@wikimedia.org>
Thu, 29 Mar 2018 15:18:00 +0000 (15:18 +0000)
commite60074cecf9c912fa5542cfafd431ac681f8d900
treecb9be6ff412ea2a0408bc80f4ccedc7ed1bbd90d
parent33a220ef4f7c5fbca5c65a9dd4529755117b2c11
WebdriverIO should be able to run Chrome headlessly

Chrome 59 introduced an headless mode, in this mode it does not need any
DISPLAY (Xorg, Xvfb...). That achieved by passing to chrome:

 --headless

Use headless when DISPLAY is not available. One can switch to headless
by simply unsetting the environment variable: unset(DISPLAY).

Bug: T167507
Signed-off-by: Antoine Musso <hashar@free.fr>
Change-Id: Id5424eafb20112fd74d472b8cef02cb15cafff89
tests/selenium/README.md
tests/selenium/wdio.conf.js