Browser does not support MSPointer events while selecting an item from combo box

23 views
Skip to first unread message

Aravind K R

unread,
Dec 2, 2016, 12:31:32 PM12/2/16
to Selenium Users
Recently I'm experiencing an issue while selecting a combo box item using IE web driver in an embedded IE11 browser.
I used the below query for the combo box selection:
  
             IWebElement  webElement = driver.FindElementById("selectComboBox");

             IWebElement selectElement = new SelectElement(webElement);

       selectElement.SelectByIndex(1);

When I execute the above code, I'm getting a script error:
UnknownCommandError: Browser does not support MSPointer events.
in line 91, char 31.

When I tried executing via the below javascript, it is returning false, confirming that the browser do not support MSPointers.

      (bool)((IJavaScriptExecutor)webDriver).ExecuteScript("return window.navigator.msPointerEnabled")


So could you please help me selecting the item from the combo box.

Tried it via javascript, but in that case the onchange event is not firing.


Any help in this regard would be greatly appreciated.

Reply all
Reply to author
Forward
0 new messages