无法执行Jenkins中的chromedriver

时间:2018-12-12 06:42:53

标签: selenium jenkins bitbucket

java.lang.IllegalStateException:驱动程序可执行文件不存在 在com.google.common.base.Preconditions.checkState(Preconditions.java:518)     在org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:136)     在org.openqa.selenium.remote.service.DriverService.findExecutable(DriverService.java:131)     位于org.openqa.selenium.chrome.ChromeDriverService.access $ 000(ChromeDriverService.java:32)     在org.openqa.selenium.chrome.ChromeDriverService $ Builder.findDefaultExecutable(ChromeDriverService.java:137)     在org.openqa.selenium.remote.service.DriverService $ Builder.build(DriverService.java:330)     在org.openqa.selenium.chrome.ChromeDriverService.createDefaultService(ChromeDriverService.java:88)     在org.openqa.selenium.chrome.ChromeDriver。(ChromeDriver.java:124)     在com.helper.BrowserFactory.launchChromeDriver(BrowserFactory.java:47)     在com.helper.BrowserFactory.setDriver(BrowserFactory.java:26)     在com.mytestcases.LoginTest.launchBrowser(LoginTest.java:32)

0 个答案:

没有答案