![](/img/trans.png)
[英]Selenium shows error "The method sendKeys(CharSequence[]) in the type WebElement is not applicable for the arguments (String)"
[英]Selenium Webdriver error “The method sendKeys(CharSequence…) from the type WebElement refers to the missing type CharSequence”
我在MyEclipse Enterprise工作台中将Java“ 1.8.0_131”与Selenium Webdriver 2.53.1一起使用。 我已经按照所有程序操作并添加了所有必需的jar,但是当我尝试使用“ sendKeys”功能时,它显示以下错误:
WebElement类型的sendKeys(CharSequence ...)方法引用丢失的CharSequence类型。
有人可以帮忙解决这个问题吗?
以下是我的代码:
尝试这种方式。
Project -> right click -> Build Path -> Configure build Path - Add External Jars -> (once added) Up
(应该在顶部) selenium-server-standalone
下逐个添加其他jar
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.