
|
If you were logged in you would be able to see more operations.
|
|
|
Watir
Created: 13/Dec/07 06:49 AM
Updated: 06/Apr/08 11:32 AM
|
|
| Component/s: |
Xpath Support
|
| Affects Version/s: |
Future
|
| Fix Version/s: |
Future
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
Currently Collection objects iterate over all Elements of their type in the whole document.
It would be nice if it was possible to construct collections that restrict their content to Elements which match a supplied XPath.
for example
ie.links("div[id='test']/a")
should only return the a tags that are directly below a div tag.
|
|
Description
|
Currently Collection objects iterate over all Elements of their type in the whole document.
It would be nice if it was possible to construct collections that restrict their content to Elements which match a supplied XPath.
for example
ie.links("div[id='test']/a")
should only return the a tags that are directly below a div tag. |
Show » |
|
ie.div(:id, 'test').links
would not work for the required functionality?