我在将chrome驱动程序用于Cucumber Step Definitions文件时遇到错误。我已经添加了代码,
System.setProperty("webdriver.chrome.driver","C:\\chromedriver.exe")
,以及ChromeDriver和webDriver依赖项。 我得到的错误是,
Error:(44, 18) java: cannot access org.openqa.selenium.chromium.ChromiumDriver
class file for org.openqa.selenium.chromium.ChromiumDriver not found.
有人可以帮忙吗?非常感谢。