Awakening
Awakening

Reputation: 3795

angular protractor test how to open test page in firefox

Chrome on my Macbook Pro has been restricted by company policy, so no chrome extensions can be added.

I'm using protractor to do angualrjs e2e test, and when I run the command to test, Chrome prompts an error dialog:

Failed to load extension from: /private/var/folders/fs/xrgskh8502ddg026py0f61j9v7q1z6/T/.org.chromium.Chromium.TQYyRX/internal. Loading of unpacked extensions is disabled by the administrator.

Now I suppose to have two solutions:

  1. Try to bypass the restriction. (still failed to break it yet)
  2. Try to change protractor to open in other browser, e.g. Firefox

Upvotes: 2

Views: 364

Answers (1)

rajana sekhar
rajana sekhar

Reputation: 511

change in your protractor.conf file

capabilities: {
"browserName": "firefox"
},
chromeOnly: false,

Upvotes: 1

Related Questions