in reply to Re: www-mechanize-firefox checkbox problem
in thread www-mechanize-firefox checkbox problem

Hihi, the title hints at the module, but I agree :)
  • Comment on Re^2: www-mechanize-firefox checkbox problem

Replies are listed 'Best First'.
Re^3: www-mechanize-firefox checkbox problem
by Anonymous Monk on Apr 01, 2011 at 11:10 UTC
    sorry about that, is it this?
    #!/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?

      owww, it's fine, i have already solved it. i can just tick checkbox with name defined w/o mentioning the value.

      $m->tick($inName);

      but nyway, thank you for replying ,time and attention. very appreciated :D