Hi All,
About to run my protractor scripts on IE, downloaded the IE driver, but not able to set the required config in conf.js,
thanks in advance,
Mahesh
exports.config = {
capabilities: {
'browserName': 'internet explorer',
'platform': 'ANY',
'version': '11'
},
};
Thanks @elgalu!
Thanks for response.
I have added this part in the conf.js file, but when running its complaining about the driver.
so i downloaded the driver from google website, what commands related the driver i need to add in conf.js file to make it work smoothly.
I use protractor from linux and connect to a remote selenium grid to test against IE.
But maybe you're looking for this (change the path to yours)
exports.config = {
seleniumArgs: ['-Dwebdriver.ie.driver=node_modules/protractor/selenium/IEDriverServer.exe']
};
@mum6ue I just wrote a blog post about how to get setup with protractor and IE VMs:
http://elgalu.github.io/2014/run-protractor-against-internet-explorer-vm/
The article is a bit extensive because it targets my colleagues, so you should look into these sections first, maybe you'll find there what you're looking for:
@elgalu - great post on configuring protractor against IE11. I do have a question on step 7. Where do you find the host file on your machine? Can I get a better path to /etc/hosts ?
Linux or OSX: /etc/hosts
Windows: %SystemRoot%system32driversetchosts
Hi @elgalu I tried the technique you had provided for running a protractor test from a MAC to a Windows VM, specifically to run it on IE 11.
I ended up getting the following:
Jiangs-iMac:ui_automation_test Venkata$ protractor conf.js
Using the selenium server at http://ie11.dev:4444/wd/hub
[launcher] Running 1 instances of WebDriver
/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:145
callback(new Error(message));
^
Error: ETIMEDOUT connect ETIMEDOUT
at ClientRequest.
at ClientRequest.emit (events.js:107:17)
at Socket.socketErrorListener (_http_client.js:271:9)
at Socket.emit (events.js:107:17)
at net.js:459:14
at process._tickCallback (node.js:355:11)
From: Task: WebDriver.createSession()
at Function.webdriver.WebDriver.acquireSession_ (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:155:22)
at Function.webdriver.WebDriver.createSession (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:129:30)
at [object Object].Builder.build (/usr/local/lib/node_modules/protractor/node_modules/selenium-webdriver/builder.js:416:22)
at [object Object].DriverProvider.getNewDriver (/usr/local/lib/node_modules/protractor/lib/driverProviders/driverProvider.js:38:7)
at [object Object].Runner.createBrowser (/usr/local/lib/node_modules/protractor/lib/runner.js:180:37)
at /usr/local/lib/node_modules/protractor/lib/runner.js:268:21
at _fulfilled (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:797:54)
at self.promiseDispatch.done (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:826:30)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/protractor/node_modules/q/q.js:759:13)
at /usr/local/lib/node_modules/protractor/node_modules/q/q.js:573:44
[launcher] Process exited with error code 1
It basically halts for about 10 seconds and then gives me the above error, message.
Any help would be awesome.
Venks88 I get a similar error, do you remember how to manage it?
thanks in advance
exports.config = {
defaultTimeoutInterval: 100000
}
Hello ,
I am using Protractor and trying to run in IE Browsers
I used this code
exports.config = {
capabilities: {
'browserName': 'internet explorer',
'platform': 'ANY',
'version': '11'
},
};
and I am not left with any errors but IE browser is not opening or running, Can anyone Help
@here anyone is having the options/capabilities for IE, Please paste here.
I tried 'ignoreZoomSetting': true, which is not working.
Most helpful comment
I use protractor from linux and connect to a remote selenium grid to test against IE.
But maybe you're looking for this (change the path to yours)