Selenium version 3.141.59 @FindBy annotation giving error 'cannot be resolved as a type'

296 Views Asked by At

I'm using the maven project with selenium 3.141.59 dependency.

<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
</dependency>

Findby cannot be resolved to a type error

while using @FindBy annotation, I am getting Findby cannot be resolved to a type error. if I'm updating the selenium version to '4.0.0-rc-3' not getting any error.

0

There are 0 best solutions below