How to run Protractor

angularjs, protractor

Solution

These are the getting started docs:

https://github.com/angular/protractor/blob/master/docs/getting-started.md

You need to have node.js installed on your machine, as well as the npm node package. Once you have those two things installed you can follow the rest of the directions in the docs above.

It should only take about 5-10 mins of installation before you have Protractor up and running. Let me know if you're still stuck.

Problem

I'm new to AngularJS. I'm trying to learn and do some end-to-end tests with Protractor. I've been going through the information provided here. I'm stuck when I get to the part that says "Run with `protractor myConf.js`". Is protractor a command-line program? Or what? What I'm trying to identify is, under what environment do I need to run "protractor myConf.js" within. I do NOT want to install protractor globally. I would like to run the module in a local context. Is that an option? Thank you,

Original source