Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
feat(protractor): allow advanced features for ElementArrayFinder
Browse files Browse the repository at this point in the history
changed ElementFinder as a subset of an ElementArrayFinder.

This enables actions on ElementArrayFinders, such as:
`element.all(by.css('.foo')).click()`

The function `filter` now returns an ElementArrayFinder, so you may also do:
`element.all(by.css('.foo')).filter(filterFn).click()`

or

`element.all(by.css('.foo')).filter(filterFn).last().click()`
  • Loading branch information
hankduan authored and juliemr committed Sep 8, 2014
1 parent bd977d2 commit 466b383
Show file tree
Hide file tree
Showing 3 changed files with 571 additions and 318 deletions.
Loading

0 comments on commit 466b383

Please sign in to comment.