teapot-toolsjs

2.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i teapot-toolsjs

Weekly Downloads

1

Version

2.0.0

License

GPL-3.0-only

Unpacked Size

39.2 kB

Total Files

5

Last publish

Collaborators

  • mikemodder