sauce-lab

1.0.0 • Public • Published

sauce-lab

Build Status Dependency Status

Run a single test file on sauce labs. This just takes care of polling for the result.

Run(config)

Config should have the following properties...

Authenitcation:

  • user - the user on sauce labs
  • key - the key on sauce labs

Test:

  • browser - the exact browser & version to test on
  • url - the url of the test page
  • code - the code to execute on the page for each poll.
  • parse - a function that gets called with the result of executing code, it should return null untill the test is complete, at which point it should return the result of the test.

Logging:

  • name - the name of the test
  • tags - an array of tags for the test

Readme

Keywords

none

Package Sidebar

Install

npm i sauce-lab

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • forbeslindesay