-
download poe.js and package.json
-
install require modules
$ npm install
-
copy examples/ and lib/ at current folder
$ cp node_modules/nightwatch/examples . $ cp node_modules/nightwatch/lib .
-
create tests/ folder
$ mkdir tests
-
be sure to modify the acc and pwd variable in poe.js
-
run command below
$ nightwatch --test tests/poe.js
P.S. Be sure to install firefox.