Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Exit codes

Matti Schneider edited this page Mar 5, 2014 · 4 revisions

Exit codes

Watai may exit with one of the following exit codes:

  • 0: All tests passed.
  • 1: Some tests failed.
  • 2: Bad arguments or combination of configuration options.
  • 4: The Selenium server could not be reached.
  • 8: The given JSON-formatted option (--config, --setup) could not be parsed (only in Node ≥ 0.10).
  • 16: The given test suite is improperly formatted or structured.

With subcommands (--installed, --help, --version)

  • 0: The given subcommand was successful.
  • 1: With --installed: Watai is not properly installed.
Clone this wiki locally