Quick question on how to follow a link in mech firefox.
Any help is greatly appreciated.
<a class="ctl00_Menu1_1 DynamicMenuItemStyle ctl00_Menu1_6" href="java
+,'Investment Detail','Yes')" target="_self" style="border-style:none;
I have tried each of these methods with no luck:
$mech->follow_link( text_contains=> '//a[text() = "Investment Detail"
$mech->follow_link( url_regex => qr/InvestmentDetail.aspx/i );
$mech->follow_link( xpath => '//a[text() = "Investment Detail"]' );
$mech->follow_link( text => 'Investment Detail',n => 12 );