Selenium webdriver 未单击带有输入标记的按钮

Selenium webdriver 未单击带有输入标记的按钮,selenium-webdriver,selenium-ide,Selenium Webdriver,Selenium Ide,我正在尝试识别一个看起来像 添加文件… 我正试图用密码识别这个按钮 //input[@type='file']" selector="Xpath" input[id='fileUploadComponent'][@type='file'] Selector Css input[id='fileUploadComponent'] Selector Css 我没有得到任何异常,相反,在我的日志中,它显示元素被单击,但页面中没有任何事情发生(按钮未被单击)尝试验证xpath(例如使用fir

我正在尝试识别一个看起来像

添加文件…

我正试图用密码识别这个按钮

//input[@type='file']"  selector="Xpath"
input[id='fileUploadComponent'][@type='file'] Selector Css
input[id='fileUploadComponent']   Selector Css

我没有得到任何异常,相反,在我的日志中,它显示元素被单击,但页面中没有任何事情发生(按钮未被单击)

尝试验证xpath(例如使用firebug)。请提供页面的来源或至少相关部分添加页面的相关部分可能要查看的内容