WWW::Mechanize and Combo Boxes
am 06.07.2006 18:59:36 von henrique.renno
Hello!!!
I'd like to know how I can use WWW::Mechanize to choose options inside
a combo box in a webpage. I want to select the options in several
combos and after click on a button to see some results.
Thanks for the attention.
Regards
--=20
Henrique
"N=E3o h=E1 ningu=E9m que seja t=E3o grande que n=E3o possa aprender e nem =
t=E3o
pequeno que n=E3o possa ensinar."
"There's no one that is so great that could not learn nor so small
that could not teach."
"O indiv=EDduo confiante tenta mais, erra mais, aprende mais." - Piaget
"The confident individual try more, err more, learn more." - Piaget
Re: WWW::Mechanize and Combo Boxes
am 06.07.2006 20:22:42 von henrique.renno
I've got it working!!! I've used the "field" method that receives as
arguments the component's name (which I get looking at the page's
source) then I set a possible value from the ones that are inside the
combo.
On 7/6/06, Henrique Renn=F3 wrote:
> Hello!!!
>
> I'd like to know how I can use WWW::Mechanize to choose options inside
> a combo box in a webpage. I want to select the options in several
> combos and after click on a button to see some results.
>
> Thanks for the attention.
>
> Regards
>
> --
> Henrique
> "N=E3o h=E1 ningu=E9m que seja t=E3o grande que n=E3o possa aprender e ne=
m t=E3o
> pequeno que n=E3o possa ensinar."
> "There's no one that is so great that could not learn nor so small
> that could not teach."
> "O indiv=EDduo confiante tenta mais, erra mais, aprende mais." - Piaget
> "The confident individual try more, err more, learn more." - Piaget
>
--=20
Henrique
"N=E3o h=E1 ningu=E9m que seja t=E3o grande que n=E3o possa aprender e nem =
t=E3o
pequeno que n=E3o possa ensinar."
"There's no one that is so great that could not learn nor so small
that could not teach."
"O indiv=EDduo confiante tenta mais, erra mais, aprende mais." - Piaget
"The confident individual try more, err more, learn more." - Piaget
Re: WWW::Mechanize and Combo Boxes
am 06.07.2006 20:25:29 von Andy
On Jul 6, 2006, at 1:22 PM, Henrique Renn=F3 wrote:
> I've got it working!!! I've used the "field" method that receives as
> arguments the component's name (which I get looking at the page's
> source) then I set a possible value from the ones that are inside the
> combo.
If you could write up an explanation and a code sample, I would put =20
it in the Mechanize FAQ.
--
Andy Lester =3D> andy@petdance.com =3D> www.petdance.com =3D> =
AIM:petdance