Skip to content

Instantly share code, notes, and snippets.

@anjunatl
anjunatl / selenium-chromedriver-setup.sh
Created July 1, 2017 04:57
A modified version of a provision script used by Vagrant to set up a selenium and chromedriver environment to be used by webdriver IO
#! /bin/bash
##
## A modified version of https://github.com/fanatique/vagrant-selenium-vm/blob/master/script.sh
## to support running selenium-server-standalone with chromedriver w/ dbus
##
## If Chrome and WDIO are on separate environments (vagrant, docker, etc) you'll need to run
## Chrome with the `--no-sandbox` option to enable WDIO to connect from outside.
##
## Example accompanying WDIO configuration: