in reply to Re^3: Javascript variables access help with WWW::Mechanize::Firefox
in thread Javascript variables access help with WWW::Mechanize::Firefox

Thanks to your suggestion now I'm able to extract wanted value. I didnt realize I can access dom values on xpath returned objects! That did the magic. I used:

my $mode=$mech->xpath('//textarea[@id="12345"]'); print $mech->{value};

I am still discovering the power of this module. Thanks for helping

  • Comment on Re^4: Javascript variables access help with WWW::Mechanize::Firefox
  • Download Code