wallaby v0.10.0 Wallaby

A concurrent feature testing library.

Configuration

Wallaby supports the following options:

  • :pool_size - Maximum amount of phantoms to run. The default is :erlang.system_info(:schedulers_online) * 2.
  • :screenshot_dir - The directory to store screenshots.
  • :screenshot_on_failure - if Wallaby should take screenshots on test failures (defaults to false).
  • :max_wait_time - The amount of time that Wallaby should wait to find an element on the page. (defaults to 3_000)
  • :js_errors - if Wallaby should re-throw javascript errors in elixir (defaults to true).
  • :phantomjs - The path to the phantomjs executable (defaults to “phantomjs”)
  • :phantomjs_args - Any extra arguments that should be passed to phantomjs (defaults to “”)

Summary

Functions

end_session(session)
js_errors?()
phantomjs_path()
pool_size()
screenshot_on_failure?()
start(type, args)

Callback implementation for c:Application.start/2.

start_session(opts \\ [])