Commit c81aab341d6c903b62d3f57ad830d600f04da915
1 parent
20329d93
Exists in
master
and in
8 other branches
Set webdriver to phantomjs
Showing
1 changed file
with
13 additions
and
3 deletions
Show diff stats
protractor.conf.js
| ... | ... | @@ -11,9 +11,19 @@ |
| 11 | 11 | //seleniumServerJar: deprecated, this should be set on node_modules/protractor/config.json |
| 12 | 12 | |
| 13 | 13 | // Capabilities to be passed to the webdriver instance. |
| 14 | - capabilities: { | |
| 15 | - 'browserName': 'chrome' | |
| 16 | - }, | |
| 14 | + // | |
| 15 | + // Ref.: https://github.com/angular/protractor/blob/master/docs/browser-setup.md | |
| 16 | + // chrome, phantomjs, firefox | |
| 17 | + | |
| 18 | + // capabilities: { | |
| 19 | + // 'browserName': 'phantomjs' | |
| 20 | + // }, | |
| 21 | + | |
| 22 | + multiCapabilities: [ | |
| 23 | + // {'browserName': 'firefox'}, | |
| 24 | + // {'browserName': 'chrome'} | |
| 25 | + {'browserName': 'phantomjs'} | |
| 26 | + ], | |
| 17 | 27 | |
| 18 | 28 | chromeOnly: true, |
| 19 | 29 | ... | ... |