Hi Charles, >I thought watir-webdriver implemented aliases for tr and td as row and cell, I see them in the rdoc. but they are not shown on your chart.
As far as I remember the only class watir-webdriver supplies with row() method is Watir::Table, but not the Container. Thank you, Aliaksandr Ikhelis On Mon, Jan 16, 2012 at 11:22 PM, Charles S van der Linden <[email protected] > wrote: > Z wrote sometime back in Dec > > I have created a table of all HTML elements and added data which Watir gem > (watir, watir-webdriver, safariwatir) supports each element and/or it's > collection. > > > I thought watir-webdriver implemented aliases for tr and td as row and > cell, I see them in the rdoc. but they are not shown on your chart. > > > I like that you have the column for the plural form. > > What does the color coding mean? > > It might be good to perhaps consider coloring the 'alias' methods that > are not the same as a tag, such as cell, text_field, etc. > > Speaking of which, what's our position on those? Are those deprecated? > or should we encourage their use under the basis of more readable > code? I'm a bit torn on that as I like .row better than .tr and .link > over .a but at the same time I wonder if we should be encouraging > testers to learn the html tag names. I think I've lost count of the > number of times we've had someone complaining that 'clicking a link > does not work' and then you see their html and the thing they are > trying to click is an li (list item) tag, not an a (anchor aka link) > tag. I guess I forget that when I tested my first web-app I didn't > know html very well either. > _______________________________________________ > Wtr-development mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-development >
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
