I'm working out of Head, rather than out of 1.4, but when I try$IE0.form.methodsI get this:ArgumentError: wrong number of arguments (0 for 1)
from (irb):10:in `form'
from (irb):10
from ♥:0which gives me a clue. I try this:$IE0.form('f').methods...and I get a list of methods back.So it seems as though "form" is either misdocumented as being something that takes two parameters (as SupportsSubElements does), or is buggy such that it should be taking two parameters and is only taking one, and that one is the name. I note in the source code comments that the intention appears to be to support :index , :name, :id, :method, :action, and :xpath.
Like several other methods, IE#form can take one or two parameters. If only one is given, then it is presumed to be a :name. I don't encourage this usage, but it is supported.
Regardless, this is unrelated to Marcus' problem.
Bret
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general