No clickable input with activeperl mechanize.pm at line 1345

No clickable input with activeperl mechanize.pm at line 1345

am 18.11.2005 14:54:10 von nospam

I am constantly getting the no clickable input error msg with whatever input
I use:

No clickable input with name .... at C:/Perl/lib/WWW/Mechanize.pm line 1345

Is this a known bug?

what is the workaround?

Re: No clickable input with activeperl mechanize.pm at line 1345

am 18.11.2005 20:05:25 von burak

I am not at all an expert at this, so take what I say with a grain of
salt and skepticism because I may be wrong.

First, I know that WWW::Mechanize doesn't work with some systems (ie It
won't work with IIS and you might get a weird error like that), so make
sure you're on a compatible platform.

Second, you may want to post some of your code up here so that we can
take a look.

Third, you may want to try using the submit() method instead of trying
to "click" the submit button:

$agent->submit();

That method doesn't try to click anything at all, it simply submits the
form. You may have better luck using that.

But, as I said, I'm not expert at this. I'm sure somebody else will
come along with a more specific response than mine.

Burak

Re: No clickable input with activeperl mechanize.pm at line 1345

am 18.11.2005 22:34:36 von nospam

wrote in message
news:1132340725.311428.18780@g14g2000cwa.googlegroups.com...
> I am not at all an expert at this, so take what I say with a grain of
> salt and skepticism because I may be wrong.
>
> First, I know that WWW::Mechanize doesn't work with some systems (ie It
> won't work with IIS and you might get a weird error like that), so make
> sure you're on a compatible platform.
>
> Second, you may want to post some of your code up here so that we can
> take a look.
>
> Third, you may want to try using the submit() method instead of trying
> to "click" the submit button:
>
> $agent->submit();
>
> That method doesn't try to click anything at all, it simply submits the
> form. You may have better luck using that.
>
> But, as I said, I'm not expert at this. I'm sure somebody else will
> come along with a more specific response than mine.
>
> Burak
>

everything else works fine however this is the part of the code mechanize.pm
is having problems with in line 1354

$mech->follow_link( text_regex => qr/viewtopic/ );

$mech->click("newtopic");