Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Mechanize CPAN distribution.

Report information
The Basics
Id: 2547
Status: resolved
Priority: 0/
Queue: WWW-Mechanize

People
Owner: Nobody in particular
Requestors: tfagan [...] ebay.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: question
Date: Fri, 9 May 2003 20:56:04 -0700
From: "Fagan, Tony" <tfagan [...] ebay.com>
To: <bug-WWW-Mechanize [...] rt.cpan.org>
Hi, Great module! Is there a way to click a button that does not have a name? There are two buttons on the page (submit and cancel), but they do not have names. I've tried $agent->submit() and $agent->click() but receive the error: "Can't call method "uri" on an undefined value at ..." Thanks, Tony eBay Inc. Tony Fagan tfagan@ebay.com 408-376-6881 direct 303-619-8381 mobile 408-376-6135 fax
How do you know that you've got a valid page? Sounds to me like the page was not fetched.
[PETDANCE - Sat May 10 02:03:11 2003]: Show quoted text
> How do you know that you've got a valid page? Sounds to me like the > page was not fetched.
I'm almost sure the bug is on his code, as this form submitting code works like a charm in every case I've tried, and I've tried the most strange ones. You should close the bug, if this guy doesn't reply.
From: Tony Fagan
[guest - Thu Jun 12 05:27:43 2003]: Show quoted text
> [PETDANCE - Sat May 10 02:03:11 2003]: >
> > How do you know that you've got a valid page? Sounds to me like the > > page was not fetched.
> > I'm almost sure the bug is on his code, as this form submitting code > works like a charm in every case I've tried, and I've tried the most > strange ones. > > You should close the bug, if this guy doesn't reply.
I'm sorry, I replied a long time ago with more detail but did not hear back. I must have replied to the email, rather than posting it. You were right that I was not getting a valid page, but when I changed the code (and checked the page) I still got an error. Since I did not save the email, please close the bug because it will be a while before I can work on it again. Thanks!
OK, this ticket is closed.