https://github.com/telenko/find-by-query
https://github.com/telenko/find-by-query
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/telenko/find-by-query
- Owner: telenko
- License: mit
- Created: 2019-07-13T14:13:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-21T19:23:00.000Z (almost 7 years ago)
- Last Synced: 2025-03-03T13:45:10.997Z (over 1 year ago)
- Language: Java
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### FindByQuery
FindByQuery is an extended version of @FindBy annotation for selenium engine. Difference is only in support of [xdompath](https://github.com/telenko/xdompath "xdompath") query language in addition to all defaults. (XDomPath is query language similar to XPATH but **with ShadowDOM support**)
### API
1) Install (**not supported for now as public maven dependency!**)
Maven dependency:
```XML
telenko
find-by-query
0.0.1-beta
jar
test
```
2) Usage
```Java
class SomePage {
@FindByQuery(xdompath = ".//div")
WebElement div;
@FindByQuery(className = "header")
WebElement header;
...
}
```