Skip to content

Commit

Permalink
readme file extended + pom update for developer node
Browse files Browse the repository at this point in the history
  • Loading branch information
filipcynarski committed Mar 31, 2016
1 parent e9727c0 commit 136a4fd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ find(".small", withText("This field is mandatory."))
You can skip CSS selector argument:
`find(withId("idOne"))` will return the element whose id attribute is "idOne".

You can use By locator `Selenium object` instead of CSS selector argument:
`find(By.cssSelector(".header"))` will return the element using `By` locator as a reference - so you can use everything what `By` offering to you.
You can use `By` locator `Selenium object` instead of CSS selector argument:
`find(By.cssSelector(".header"))` will return the element using `By` locator as a reference - so you can use everything what `By` object offering to you.

You can also write chained filters:
`find(".small", withName("foo"), withId("id1"))` will return all the elements matching the 3 criteria.
Expand Down
11 changes: 11 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@
<role>developer</role>
</roles>
</developer>
<developer>
<id>Filip</id>
<name>Filip Cynarski</name>
<email>filip@cynarski.eu</email>
<url>https://github.com/filipcynarski</url>
<organization>Ocado Technology</organization>
<organizationUrl>http://www.ocadotechnology.com/</organizationUrl>
<roles>
<role>developer</role>
</roles>
</developer>
</developers>

<dependencyManagement>
Expand Down

0 comments on commit 136a4fd

Please sign in to comment.