totoro-driver

Node browser driver for totoro.

totoro-driver

Node test driver for totoro.


  • Detect available browsers.
  • Open specified browser to run test.
  • Close specified browser when test finished or timeout.

Both on mac and windows.

Be mind that all browsers must be installed in default path.

  • Chrome
  • Safari
  • Firefox
  • IE
npm install totoro-driver -g

to get the latest function

git clone git@github.com:totorojs/totoro-driver.git
cd totoro-driver
npm install -g

Link to totoro test server, and tell it a new availble chrome.

$ totoro-driver --server server.totorojs.org:9999 --browsers chrome

Totoro test server.

Default: server.totorojs.org:9999

Specify browsers to open.

Default: all available browsers on OS.

Show debug log.

Output version number.

Output usage information.