Closed shankarbkp closed 7 years ago
Are you able to recreate this with a isolated example (perhaps just using Safari and Edge?); i'd like to remove gulp-protractor from the equation. Our own CI tests use edge so my gut says that the issue lies elsewhere.
I am facing issue when i use these browser individually under capabilities . I went through the code which you shared however its the same. Can you share me the Drivers for browser version which is listed as part of my post.
Also, share me the drivers for the current version of the browsers which you have listed as part of the code.
Unfortunately there is no more code to share, the entirety of the example is available in the protractor repo. The best way to solve this is to produce a public repo with a minimal, complete, and verifiable example. Without this it is going to be difficult to actually understand your issue. This will help us eliminate any environmental inconsistencies and get to the root of the problem.
I'm going to go ahead and close this for now since I haven't heard back. Please feel free to update with an example and @
me and I can re-open.
: Win 10
Conf.js
multiCapabilities: [ { browserName: 'chrome',
{ browserName: 'MicrosoftEdge', }, { browserName: 'Opera', }, { browserName: 'Internet Explorer', }, { browserName: 'safari', }, ],
Protractor.js
'webDriverUpdate': { 'browsers': ['chrome'] }, 'webDriverUpdate': { 'browsers': ['Microsoft Edge'] }, 'webDriverUpdate': { 'browsers': ['safari'] },
1.Issue: It is unable to launch Firefox,Safari,Microsoft Edge and Internet explorer though the drivers are downloaded in specific path based on the browser versions.
2.The following is the error message which is throwing in the console for all the browser \node_modules\gulp-angular-protractor\node_modules\gulp-protractor\node_modules\protractor\node_modules\selenium-webdriver\lib\atoms\error.js:108 var template = new Error(this.message); ^ UnknownError: The best matching driver provider org.openqa.selenium.edge.EdgeDriver can't create a new driver instance for Capabilities [{count=1, browserName=Microsoft Edge