I just upgraded to Selenium 2 and having trouble simulating a keypress in firefox (maybe other browsers?). First of all, the new API, using IWebDrivers, does not provide a keypress funktion. I can acquire a ISelenium instance with the 1.0 API (WebDriverBackedSelenium) functions, however I receive an error when using this. E.g.
new WebDriverBackedSelenium(driver, TestServerUrl).KeyDownNative("27");
yields
System.NotSupportedException : keyDownNative
The same is the case for KeyDown, KeyPress etc. Is this not supported in Selenium v2?
Thanks in advance!
/Jasper