Hi,

I'm new to Watir (and Ruby), so this may be a stupid question.... tried 
searching around a bit, but with little success. So here goes:

How do I find out if an input element precedes another or not?

There does not seem to be a method for accessing all html inputs on page 
at once, nor does not seem to be an index attribute or such in input 
objects. So I can get ordered lists of text fields, selects and buttons, 
but have no way of knowing if, for example, if a certain text field 
element is defined before a certain button on a page. Or do I?

TY in advance,

-PM



_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to