in reply to www-mechanize-firefox checkbox problem

You show us some objects and method calls, yet you don't even tell us of which class they are, and which modules you use. Are we supposed to know the method names of all >20k modules on CPAN by heart, as well as those of proprietary modules that we can't even know about?

See also: How (Not) To Ask A Question.

Update: ooops, I ignored the title. Still the post doesn't contain any code that we could execute to reproduce the problem, so the advice still stands.

  • Comment on Re: www-mechanize-firefox checkbox problem

Replies are listed 'Best First'.
Re^2: www-mechanize-firefox checkbox problem
by Anonymous Monk on Apr 01, 2011 at 10:03 UTC
    Hihi, the title hints at the module, but I agree :)
      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