$ sudo webdriver-manager start
$ protractor configs/conf.chrome.js
$ protractor configs/conf.firefox.js
$ protractor configs/conf.safari.js
$ protractor configs/conf.phantomjs.js
Protractor seems picky sometimes. Here'e the versions of the software that I used:
- macOS Sierra (10.12.3)
- Selenium 3.0.1 (Revision 1969d75)
- Chrome 56
- Safari 10.0.3 (safari driver not required anymore for this combination)
- Enable
[Develop] - [Allow Remote Automation]
-
Firefox 51.0.1
-
Requires
directConnect: true
-
Install a separate driver
brew install geckodriver
-
PhantomJS 2.1.1
-
Install globally
npm install -g phantomjs
- Safari doesn't seem to work with a proxy configuration.
- Firefox seems to work only through direct connection.
- Direct connection is used for Chrome and Firefox. Unable to combine multiple browser-specific configs into one file due to this.