To configure protractor below are the steps:
1. Download eclipse from https://www.eclipse.org/downloads/ and install it.
2. Download node.js from https://nodejs.org/en/download/ and install it.
3. Open the command prompt and run below command. It will install protractor globally.
“npm install -g protractor”.
4. Run below command in protractor to update webdriver.
“webdriver-manager update“.
5. Start the selenium server by running below command in Command Prompt.
“webdriver-manager start“
6. Install Jasmine by using below command.
“npm install -g jasmine“
To configure eclipse for protractor:
1. From eclipse market place install Angular Eclipse
2. Create Java script project and convert it into turn project. By Configure > Convert to Tern Project.
3. In new window Select Jasmine & Protractor check box > Apply