开发者

Selenium Tests ant Key events

开发者 https://www.devze.com 2023-03-03 12:53 出处:网络
I have some problems with my selenium tests on Google Chrome with the key event. I 开发者_StackOverflowjust used this code :

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

精彩评论

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