简体   繁体   English

selenium.keypressnative似乎不起作用

[英]selenium.keypressnative doesn't seem to work

I am trying to simulate a keypress for enter key in selenium using the below statement: 我正在尝试使用以下语句模拟硒中的Enter键的按键:

Selenium.KeyPressNative("10");

It works on my colleague's PC, but, doesn't seem to be executed in my machine. 它可以在同事的PC上运行,但是似乎无法在我的计算机上执行。 It appears that selenium skips this command. 硒似乎跳过了此命令。

Please help. 请帮忙。

Thanks and Regards, 谢谢并恭祝安康,
Vamyip 瓦米耶普

应该是“ 13”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM