
| Key: |
WTR-175
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
sufyit
|
| Votes: |
1
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
Watir
Created: 24/Sep/07 04:34 PM
Updated: 14/Dec/07 04:06 PM
|
|
| Component/s: |
HTML Controls
|
| Affects Version/s: |
1.5.0/1.5.1
|
| Fix Version/s: |
Future
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
|
Watir's buttons.length method doesn't count <button> elements. Below is an example web page and watir code demonstrating the issue:
HTML:
<html>
<body>
<button>test</button>
</body>
</html>
WATIR CODE:
ie.buttons.length
#-->0
ie.buttons[1].exists?
#-->true
|
|
Description
|
Watir's buttons.length method doesn't count <button> elements. Below is an example web page and watir code demonstrating the issue:
HTML:
<html>
<body>
<button>test</button>
</body>
</html>
WATIR CODE:
ie.buttons.length
#-->0
ie.buttons[1].exists?
#-->true |
Show » |
|