Try this conf: // An example configuration file. exports.config = { // Capabilities to be passed to the webdriver instance. multiCapabilities: [ { 'browserName': 'phantomjs', 'phantomjs.binary.path':'./node_modules/karma-phantomjs-launcher/node_modules/phantomjs/bin/PHANTOMJS' },
/*{ browserName: 'chrome', 'chromeOptions': { args: [ '--test-type', '--no-default-browser-check', '--no-first-run', '--disable-default-apps', '--disable-popup-blocking', '--start-maximized' ] } }, { 'browserName': 'safari' }, { 'browserName': 'firefox' }*/ ], // Spec patterns are relative to the current working directly when // protractor is called. specs: ['test/e2e/spec/admin/**/*.js'], baseUrl: 'http://127.0.0.1:9000/', seleniumServerJar: './node_modules/selenium-server-standalone-jar/jar/selenium-server-standalone-2.40.0.jar', // Options to be passed to Jasmine-node. jasmineNodeOpts: { showColors: true, defaultTimeoutInterval: 30000 } }; On Monday, November 4, 2013 11:10:39 AM UTC-5, Mark Volkmann wrote: > > On Sun, Nov 3, 2013 at 9:12 PM, Scott Rice <scott...@gmail.com > <javascript:>> wrote: > >> Thank for these slides on Protractor Mark - the examples you provided >> were very helpful. Slide 21 was also much appreciated, as I was confused >> how to actually run the tests. >> > > I'm glad to hear it was helpful! > > >> With Protractor, how can I include chrome, internet explorer, and >> phantomjs in the protractor.conf.js at once. Is this possible? With Karma, >> it's as simple as listing the browser plugins as comma-separated values, >> but it does not appear that simple with Protractor. Care to shed any light >> on using multiple browsers at once? >> > > It appears that you can only specify one browser in protractor.conf.js. So > you'd need a separate configuration file for each browser to be tested and > then run the protractor command on each of them. See > https://github.com/angular/protractor/issues/20. > > -- > R. Mark Volkmann > Object Computing, Inc. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.