$ npm install -g protractor
$ touch protractor.conf.js
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['test/e2e/**/*-spec.js']
};
$ webdriver-manager update
$ webdriver-manager start
update
will try to fetch all the dependencies(chromedriver and selenium standalone), start
will start the selenium standalone server for communicate with driver later.
$ protractor protractor.conf.js
$ python -m SimpleHTTPServer 9999
ptor.actions().
mouseMove(ptor.findElement(protractor.B.id('foo'))).
perform();