Nightmare - A high level wrapper for Phantomjs.
mardi 7 octobre 2014 à 09:53Colibri, le 07/10/2014 à 09:53
Every method is a simple English command: goto, refresh, click, type...
Nightmare lets you simplify deeply nested callbacks into a few sequential statements.
ex:
new Nightmare()
.goto('http://yahoo.com')
.type('input[title="Search"]', 'github nightmare')
.click('.searchsubmit')
.run();
Très intéressant comme wrapper.
(Permalink)
Every method is a simple English command: goto, refresh, click, type...
Nightmare lets you simplify deeply nested callbacks into a few sequential statements.
ex:
new Nightmare()
.goto('http://yahoo.com')
.type('input[title="Search"]', 'github nightmare')
.click('.searchsubmit')
.run();
Très intéressant comme wrapper.
(Permalink)