nrtv-browse
v0.40.0
Published
Run tests in other peoples' browsers
Downloads
12
Readme
You'll need a minion server running for tests to actually run. If you want to do that locally, run:
npm install nrtv-minions
node node_modules/nrtv-minions/server
And then visit http://localhost:9777/minions in the browser of your choice.
Then you can do something like this:
var browse = require("nrtv-browse")
browse("http://localhost:7263",
function(browser) {
browser.pressButton(".hola")
}
)
All told, running time npm test
with a simple example that starts a server, makes a request, and checks for an element match, takes 1.6 seconds on a 3 year old MacBook.