in reply to Re^2: www-mechanize-firefox checkbox problem
in thread www-mechanize-firefox checkbox problem
#!/usr/bin/perl use strict; use warnings; use WWW::Mechanize::Firefox; my $m = WWW::Mechanize::Firefox->new(repl=>"localhost:4243",activate=> +1);
so, i just want to check the checkbox located in /html/body/div/div/div/form/table2/tbody/tr2/td2/label/input before i click submit
but it seemed that i didnt use the $m->tick() or $m->field() correctly. for starters, what must i throw to the code for tick or field ?
i think i have to use tick or field to check a checkbox, or is there any other way?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: www-mechanize-firefox checkbox problem
by Anonymous Monk on Apr 01, 2011 at 11:44 UTC |