I am using selenium with java and the following pom package,
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>
I am able to use WebDriver and other object but when i try to use the annotation @FindBy it seems that my project cannot find a package that satisfy it "cannot be resolved as a type" as well it does not propose to use the selenium package.
In which maven repository is located the annotation system from selenium ? Or am i missing something here ?
Thank you
您可以从包含软件包的 selenium 网站下载客户端组合 jar (import org.openqa.selenium.support.FindBy;)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.