wallaby v0.21.0 Wallaby.Phantom View Source

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"

Link to this section Summary

Functions

See Wallaby.Phantom.Driver.log/1

See Wallaby.Phantom.Logger.parse_log/1

Link to this section Functions

See Wallaby.Phantom.Driver.log/1.

See Wallaby.Phantom.Logger.parse_log/1.