[英]how to select kendo-drop down in selenium webdriver using python or java
in kendo dropdown, I get only class name can't get other elements from inspect element so what should I do I get only this fields by inspecting element在剑道下拉菜单中,我只得到类名,不能从检查元素中获取其他元素,所以我该怎么做我通过检查元素只得到这个字段
Shardul Patel沙杜尔·帕特尔
Use keyboard keys in selenium to move up and down to select the kendo drop down values.使用 selenium 中的键盘键上下移动以选择剑道下拉值。
Actions action = new Actions(driver);
action.sendkeys(keys.DOWN).build().perform();
Use with your webelement and get the desired results.与您的 webelement 一起使用并获得所需的结果。 Do let me know in case of any concerns.如有任何疑虑,请告诉我。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.