开发者

selenium: type_keys(locator, "movyt") not typing correct value

开发者 https://www.devze.com 2023-04-07 13:53 出处:网络
I am using firefox I Have used the following code in selenium: selenium: type_keys(locator, \"movyt\")

I am using firefox I Have used the following code in selenium:

selenium: type_keys(locator, "movyt")

But this types on mov and then clicks on the 'Tools' dropdown menu on th开发者_运维知识库e browser. I found that this is because y is treated as F10 and then t is treated as clicking on 'Tools' and hence the problem.

But is there a way to correctly type 'movyt' using type_keys() in selenium? Thnaks


Something similar was happening to me - check system settings and set English keyboard as the default one. (There might be issue in your language settings)

0

精彩评论

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