当我尝试使用远程Web驱动程序在浏览器中上载文件时,我遇到了问题,远程看不到本地文件。
我正在使用Java属性文件"fluentlenium.properties
“来配置Web驱动程序,因此,Web驱动程序实例化被委托给Fluentlenium
,并且getDriver()
没有实现setFileDetector()
方法。
org.openqa.selenium.WebDriverException:无效参数:文件未
发现: /projectPath/src/test/resources/attachedFiles/fileToUpload.docx