0

我的代码如下:

  ChromeDriverService service = new ChromeDriverService.Builder()
 .usingChromeDriverExecutable(new File("E:\\Software\\chromedriver.exe"))
 .usingAnyFreePort().build();

它给出了以下错误:

 The method usingChromeDriverExecutable(File) is undefined for the type
 ChromeDriverService
4

1 回答 1

4

改变

usingChromeDriverExecutable

usingDriverExecutable
于 2013-04-22T05:48:19.353 回答