Last active
December 22, 2015 06:08
-
-
Save lfryc/6428591 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Retention(RetentionPolicy.RUNTIME) | |
@Target(ElementType.FIELD) | |
@ImplementsLocationStrategy(ByJQuery.JQueryLocationStrategy.class) | |
public @interface $ { | |
String value(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Retention(RetentionPolicy.RUNTIME) | |
@Target(ElementType.FIELD) | |
@ImplementsLocationStrategy(ByJQuery.JQueryLocationStrategy.class) | |
public @interface jQuery { | |
String value(); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@jQuery(".ui-calendar:visible") | |
JQueryUICalendar calendar; | |
// this won't be allowed by compiler | |
@$(".ma-rockin-element") | |
WebElement guessTheNumber; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment