I'm very new to AngularJS. I am trying to automate an angularJS app.
- installed node.js
- installed protractor (npm install -g protractor)
- updated webdriver manager tool (webdriver-manager update)
- started the driver (webdriver-manager start)
I create a simple conf.js and spec.js files. Everything works fine and set to go.
when we execute spec.js, protractor talk to selenium webdriver which then launches the browser and does the other stuff like interacting with angularJS app. Am I correct?
So, what is the role of node.js here in protractor?
I might be wrong, if so please do correct me and explain how protractor works.
Thanks in advance :)
WebDriverJS has been written in Node.js and Protractor has been written on top of WebDriverJS.
Read more here and here