I tried to use @FindBy annotation as part of object repository in selenium-POM approach in eclipse
when I included the @FindBy annotation, the eclipse IDE is giving following error:
"the annotation @FindBy is disallowed in this location"
I browsed google to find if any posted such a problem scenario, but failed to find any.
could anyone help me understand the scenario?
Thank you for contributing your valuable time and efforts! enter image description here