[Notes] Install Protractor
Published on Mar 06, 2015 by Sachin.
Protractor is an unittest framework for AngularJS applications. It is based on Node.js. To install Protractor, you need to install Node.js
To install Node.js
- Download source code of Node.js from nodejs.org. Debian/Ubuntu
user may use
apt-get
to install Node.js. - Untar using
tar -xvzf node-xxx.tar.gz
Configure, compile, and install using
1: cd node 2: ./configure 3: make 4: sudo make install
npm
is a package-manager for Node.js. It should installed with Node.js
Now install Protractor using
sudo npm install -g protractor
.-g
will install protractor globally- This will also install
webdriver-manager
. Update webdriver-manager using:webdriver-manager update