Bret Pettichord
Fri, 10 Mar 2006 11:19:54 -0800
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.
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
Re: [Wtr-general] Problem enumerating forms Bret Pettichord
- Re: [Wtr-general] Problem enumerating forms Bret Pettichord
- Re: [Wtr-general] Problem enumerating forms Marcus Tettmar
- Re: [Wtr-general] Problem enumerating forms Paul Carvalho
- Re: [Wtr-general] Problem enumerating forms Marcus Tettmar
- Re: [Wtr-general] Problem enumerating forms Bret Pettichord
- Re: [Wtr-general] Problem enumerating forms Marcus Tettmar
- Re: [Wtr-general] Problem enumerating forms Bret Pettichord
- Re: [Wtr-general] Problem enumerating forms Marcus Tettmar