wallaby v0.17.0 Wallaby.Phantom
Wallaby driver for PhantomJS.
Usage
Start a Wallaby Session using this driver with the following command:
{:ok, session} = Wallaby.start_session(driver: Wallaby.Phantom)
Notes
This driver requires PhantomJS be installed in your path. You can install PhantomJS through NPM or your package manager of choice:
$ npm install -g phantomjs-prebuilt
If you need to specify a specific PhantomJS you can pass the path in the configuration:
config :wallaby, phantomjs: "node_modules/.bin/phantomjs"
You can also pass arguments to PhantomJS through the phantomjs_args
config setting, e.g.:
config :wallaby, phantomjs_args: "--webdriver-logfile=phantomjs.log"