1.0.2 • Published 4 months ago

@rbbn/werkout-startup v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

Werkout-Startup

Description

Werkout-Startup is a command-line utility for launching Werkout partners in preparation for a test run. This will start an HTTP server to serve your partner application and launch Chrome and/or Firefox browsers to load the partner app using Selenium. You must provide the script a command to run once the partners are launched. This is intended to be the command to start your tests.

Installation

Latest version:

npm install @rbbn/werkout-startup --save-dev

Usage

Werkout-startup is used on the command line.

werkout-startup -d ./dist/ -a http://172.28.225.198:4444/wd/hub -c config.json -- karma start

Arguments

OptionsAliasDescriptionTypeRequiredDefault
--versionShow version numberbooleanNoN/A
--directory-dThe directory to serve content from over HTTPstringYesN/A
--addr-aThe address of the Selenium hubstringYesN/A
--config-cA JavaScript configuration file providing an Array of browser configuration objects. For each object, Selenium will attempt to create a Partner and launch the appropriate browser as specified in the object.stringYesN/A
--key-kThe path to the key for SSL. Must provide --cert as well. Using these options will cause the server to only accept secure connections.stringNoN/A
--cert-tThe path to the certificate for SSL. Must provide --key as well. Using these options will cause the server to only accept secure connections.stringNoN/A
--httpsDefaults to true when cert and key are provided. You may want use --https without providing a cert and key. This is so you can start an http server but point browsers to https if you've setup a proxy that adds SSL between the server and the browser.booleanNofalse
--help-hShow helpbooleanNoN/A
--logsDirThe directory that Partner logs should be saved to after a test case.stringNoN/A