Not able to run protractor scripts in ie browser 11 Windows 10 64 bit OS
Hi Team,
Created a protractor script for ie browser.
It is not performing any actions like sendkeys, click....
todo-spec.js describe('angularjs homepage todo list', function() { it('should add a todo', function() { browser.waitForAngularEnabled(false); browser.get('https://angularjs.org'); element(by.css('[value="add"]')).click(); element(by.model('todoList.todoText')).sendKeys('write first protractor test');
var todoList = element.all(by.repeater('todo in todoList.todos'));
expect(todoList.count()).toEqual(3);
expect(todoList.get(2).getText()).toEqual('write first protractor test');
// You wrote your first test, cross it off the list
todoList.get(2).element(by.css('input')).click();
var completedAmount = element.all(by.css('.done-true'));
expect(completedAmount.count()).toEqual(2);
});
});
conf.js exports.config = { seleniumAddress: 'http://localhost:4444/wd/hub', capabilities:
{
// 'browserName': 'internet explorer',
// 'ignoreProtectedModeSettings': true,
// 'enableElementCacheCleanup': true,
// 'unexpectedAlertBehaviour': 'dismiss',
// "ie.forceCreateProcessApi": true,
// "ie.browserCommandLineSwitches": "-private",
// "ie.ensureCleanSession": "true",
'browserName': 'internet explorer',
'ignoreProtectedModeSettings': true,
'platform': 'ANY',
'version': '11',
},
specs: ['todo-spec.js']
};
Browser is launched and url is loaded. After that send keys operations are not performing.
using below server driver
IEDriverServer_x64_3.15.0


HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer svcVersion REG_SZ 11.356.18362.0
@praveenngp15 Have you tried it with non ie browsers? Because if you say browser.waitForAngularEnabled(false); you will have no success with angular pages
I tried in Chrome and firefox. It is working fine. Facing issue only in ie browser
I am facing similar issue on Firefox as well. Can you please suggest me how did you make it work on Firefox? On chrome, everything is working fine.