简体   繁体   中英

selenium.keypressnative doesn't seem to work

I am trying to simulate a keypress for enter key in selenium using the below statement:

Selenium.KeyPressNative("10");

It works on my colleague's PC, but, doesn't seem to be executed in my machine. It appears that selenium skips this command.

Please help.

Thanks and Regards,
Vamyip

应该是“ 13”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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