@FindBy Annotations not allowed here for CSS

OhAye

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?

noor

why u need private element here....it is not recommended to use private while u use @VisibileforTesting annotation.

u can find derails here

Guava @VisibleForTesting : Help me with a complete example

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

"AllowOverride not allowed here" in WAMP

From Dev

AllowOverride not allowed here

From Dev

"set" directive is not allowed here

From Dev

.htaccess: LogLevel not allowed here

From Dev

variable declaration not allowed here

From Dev

Array initializer is not allowed here

From Dev

Column not allowed here error

From Dev

"AllowOverride not allowed here" in WAMP

From Dev

variable declaration not allowed here

From Dev

Error: 'void' type not allowed here

From Dev

nginx "env" directive is not allowed here

From Dev

Apache error "AliasMatch not allowed here"

From Dev

cdef statement not allowed here for structure

From Dev

Why is variable declaration not allowed here?

From Dev

Android manifest attribute not allowed here

From Dev

NGINX - "server" directive is not allowed here

From Dev

Error: Parse Objects not allowed here

From Dev

Why is lambda function not allowed here?

From Dev

About "group function is not allowed here"

From Dev

Apache error "AliasMatch not allowed here"

From Dev

column not allowed here oracle with getText

From Dev

Error: 'void' type not allowed here

From Dev

Android Lint Shape not allowed here

From Dev

Why is Scala not retaining field annotations here?

From Dev

Why append a vector to another vector is not allowed here?

From Dev

500 Error on apache server - "AllowOverride not allowed here"

From Java

nginx: [emerg] "server" directive is not allowed here

From Dev

Is a function definition not allowed here before a '{' token?

From Dev

Oracle Column Not Allowed Here Default Value