seleniuminternet-explorerbrowserstackselenium-iedriver

BrowserStack - Incorrect SendKeys on IE11


I am running a Selenium test on BrowserStack and sendkeys command is not sending the specified text to the input field. I noticed that this issue usually occurs with special characters like @, #, etc.

How do I fix it?


Solution

  • It is a known bug with IEDriver. SendKeys command doesn't work well with special characters and drops some letters from the input string.

    You can refer the GitHub Issue - https://github.com/seleniumhq/selenium/issues/805#issuecomment-396581314

    I recently found that BrowserStack has "browserstack.sendKeys" capability to overcome this. Refer this SendKeys on IE11 article on BrowserStack