Exit codes - MattiSG/Watai GitHub Wiki

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.
⚠️ **GitHub.com Fallback** ⚠️