2.0.0 • Published 6 years ago

teapot-toolsjs v2.0.0

Weekly downloads
2
License
GPL-3.0-only
Repository
github
Last release
6 years ago

teapot-toolsjs

This is a JavaScript port of the Python3 module of the same name.

In order to use this, you must have the appropriate browser driver in your path. Supported browsers are: chrome, firefox, internet exlporer, and opera.

Usage

Usage is almost exactly the same as the Python version, but with JavaScript syntax. An example:

    const TeapotTools = require('teapot-toolsjs');
    let tt = new TeapotTools('firefox'); //Make sure to use a supported browser

    tt.rotate(180);                      // Rotate the teapot to 180 degrees
    tt.pour();                           // Pour out the tea
    tt.unpour();                         // Stop pouring the tea.
2.0.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago