[wtr-general] Re: Cannot identify button element by value?

2013-05-18 Thread Alex Rodionov
Reposting myself from SO: +1 to raise this as issue on watir-webdriver as it definitely needs > discussion. I use button(:value) in my tests a lot and it actually matches > button's value, so there is something behind this. > According to code, "button" tag name and "value" are treated specific

[wtr-general] Re: Cannot identify button element by value?

2013-05-17 Thread Chuck van der Linden
On Thursday, May 16, 2013 6:14:34 AM UTC-7, Dan wrote: > It doesn't look like it's just Chrome actually. I got the same results in > Firefox. Looks like the stackoverflow answer addresses the issue? If I > change from button type of button to input type of button it works like you > would ex

[wtr-general] Re: Cannot identify button element by value?

2013-05-16 Thread Dan
It doesn't look like it's just Chrome actually. I got the same results in Firefox. Looks like the stackoverflow answer addresses the issue? If I change from button type of button to input type of button it works like you would expect. >> b = Watir::Browser.new :firefox => # >> b.goto("file:/