webdriver_test_tools.__main__ module¶
webdriver_test_tools command line interface
-
webdriver_test_tools.__main__.
get_parser
()[source]¶ Returns
ArgumentParser
object for use withmain()
-
webdriver_test_tools.__main__.
main
()[source]¶ Parse command line arguments and handle appropriately.
Commands will return an exit code, which is passed to
sys.exit()
. If an exception is caught during execution, the exit code is set to 1 and the error message is printed out.If no arguments are provided, a help message will be printed out and the exit code will be set to 1.