Re: click_button gives error on a existing button



On Thu, Dec 28, 2006 at 08:46:25AM +0100, Tatiana Lloret Iglesias wrote:
Hi!
I'm executing this perl and I get an error in this line_
$browser2->click_button( value => "Next 25 records");

but i dont understand why because Next 25 records button exists!!
Can you help me with this please?
You can download the script from:
http://tlloreti.googlepages.com/pct3.pl



Normally buttons have names.

$browser2->click_button( value => "Next 25 records",
name => "Whatever");

Then you have a "Whatever" button, and when clicked, sends "Next 25 records" back to the server



Owen
.