When trying to do this
VisibleForTesting @FindBy(css="li:nthchild(2).NoBullet.jmsbullet>h3>a[href^='javascript:ShowSelectedAddInScreen']")
private WebElement HolidayLink;
I get the error
"Annotations are not allowed here"
Why does @VisibileforTesting not allow annotations?
why u need private element here....it is not recommended to use private while u use @VisibileforTesting annotation.
u can find derails here
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments