I checked it with other options#!/usr/bin/perl use strict; use warnings; use Win32::IE::Mechanize; my $ie = Win32::IE::Mechanize->new( visible => 1 ); my $url ='http://url/go'; $ie->get( $url ); $ie->follow_link (text =>"subForm('UA_Signin','signOff')")|| die"can't + find text $!"; # $ie->find_link (url=>"javascript:subForm('UA_Signin','signOff')");
One thing i want to let you know while hitting on signoff button (or reference) manually ,page moves to login page but the url (at address bar)does not get changed. Hope it will help you to find out my solution. Thanks#$ie->find_link (number=>2); # $ie->find_image(image =>"ua/images/button-signoff.gif")|| die"can't + find image$!"; # $ie->find_image(alt =>" ")|| die"can't find image$!";
In reply to Re^8: How do I click Javascript button with Win32::IE::Mechanize
by rshrivaQ
in thread How do I click Javascript button with Win32::IE::Mechanize
by rshrivaQ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |