【发布时间】:2017-09-19 12:58:31
【问题描述】:
我正在尝试上传图片,但没有可用的输入类型。
打开 OX 对话框的按钮是:
//button[@ng-model='singleFileUpload']
代码: [![在此处输入图片描述][1]][1]
[1]:
我尝试了以下主题中描述的方法,但它们对我不起作用: Webdriver: File Upload c# selenium to browse and upload a file How to upload file/ handle window using Selenium web driver
感谢您的帮助。
【问题讨论】:
-
请阅读为什么a screenshot of code is a bad idea。粘贴代码并正确格式化。