Open samhatoum opened 6 years ago
Comment by Siva123Prasad Thursday Jun 28, 2018 at 09:14 GMT
Even I have the same issue.
Trying to run my tests through protractor. Getting this error
The best matching driver provider org.openqa.selenium.safari.SafariDriver can't create a new driver instance for Capabilities [{count=1, browserName=Chrome}] Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03' System info: host: 'krishnas.local', ip: '192.168.50.1', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.2', java.version: '1.8.0_131' Driver info: driver.version: unknown [14:18:20] E/launcher - WebDriverError: The best matching driver provider org.openqa.selenium.safari.SafariDriver can't create a new driver instance for Capabilities [{count=1, browserName=Chrome}] Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03' System info: host: 'krishnas.local', ip: '192.168.50.1', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.2', java.version: '1.8.0_131' Driver info: driver.version: unknown
I have the capabilities like this :
capabilities: { 'browserName': 'Chrome', },
Update: I have re-installed protractor and Webdriver-manager. The error looks like this now.
E/launcher - Unable to create session from {
"desiredCapabilities": {
"count": 1,
"browserName": "Chrome"
},
"capabilities": {
"desiredCapabilities": {
"browserName": "Chrome",
"count": 1
},
"firstMatch": [
{
"browserName": "Chrome"
}
]
}
}
Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:32:19.891Z'
System info: host: 'krishnas.local', ip: 'fe80:0:0:0:1c69:4717:69fe:bbd%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.2', java.version: '1.8.0_131'
Driver info: driver.version: unknown
[15:47:20] E/launcher - SessionNotCreatedError: Unable to create session from {
"desiredCapabilities": {
"count": 1,
"browserName": "Chrome"
},
"capabilities": {
"desiredCapabilities": {
"browserName": "Chrome",
"count": 1
},
"firstMatch": [
{
"browserName": "Chrome"
}
]
}
}
Build info: version: '3.13.0', revision: '2f0d292', time: '2018-06-25T15:32:19.891Z'
System info: host: 'krishnas.local', ip: 'fe80:0:0:0:1c69:4717:69fe:bbd%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.13.2', java.version: '1.8.0_131'
Driver info: driver.version: unknown
at Object.checkLegacyResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:509:13)
at doSend.then.response (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/http.js:441:30)
at
Issue by SindhuGupta Thursday Oct 06, 2016 at 10:28 GMT Originally opened as https://github.com/xolvio/chimp/issues/486
Hello,
I am facing the below error for safari browser. I am trying to run protractor tests on safari browser.
Please find the details below: E/launcher - The best matching driver provider org.openqa.selenium.edge.EdgeDriver can't create a new driver instance for Capabilities [{count=1, browserName=safari}] Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03' System info: host: 'BLRL36257', ip: '172.22.240.106', os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_17' Driver info: driver.version: unknown
Here is my config:
multiCapabilities: [ { browserName: 'safari' } ]
Please provide solution.
Thanks, Sindhu