An open API service indexing awesome lists of open source software.

https://github.com/telenko/find-by-query


https://github.com/telenko/find-by-query

Last synced: 5 days ago
JSON representation

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;
...
}
```