开发者

Selenium Tests ant Key events

I have some problems with my selenium tests on Google Chrome with the key event.

I 开发者_StackOverflowjust used this code :

keyDown("//Myselector","a");

But the event is not triggered.

Everything is OK when I launch it with jetty. Any idea?

Thanks


Unfortunately, there seems to be a bug in htmlutils.js triggerKeyEvent() function. The issue in Selenium's tracking system provides a workaround for jQuery users and a fix for the function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜