Questions tagged [www-mechanize-firefox]

WWW::Mechanize::Firefox - use Firefox as if it were WWW::Mechanize

A Perl module to use Firefox as if it were WWW::Mechanize

https://metacpan.org/pod/WWW::Mechanize::Firefox

This module will let you automate Firefox through the Mozrepl plugin. You need to have installed that plugin in your Firefox.

Note that the module only supports Firefox up to Firefox version 54 . After that, Firefox does not support the mozrepl plugin anymore. That plugin is needed for the functionality of this module.

Also see the Troubleshooting FAQ.

60 questions
1
vote
2 answers

Problems while installing WWW::Mechanize::Firefox

I am using the windows 8 operating system and I am trying to install the WWW::Mechanize::Firefox module in ActiveState Perl, from CPAN. I have successfully downloaded and installed all the dependencies and also installed the MozRepl module on…
Amritha
  • 783
  • 2
  • 9
  • 26
1
vote
1 answer

WWW::Mechanize::Firefox select element with no name

how to select option element from select only with class using WWW::Mechanize::Firefox. For example:
stephen
  • 7,825
  • 14
  • 77
  • 134
1
vote
3 answers

WWW::Mechanize::Firefox looping though links

I am using a foreach to loop through links. Do I need a $mech->back(); to continue the loop or is that implicit. Furthermore do I need a separate $mech2 object for nested for each loops? The code I currently have gets stuck (it does not complete)…
stephen
  • 7,825
  • 14
  • 77
  • 134
0
votes
2 answers

How to enter text into textbox using MozRepl if the text has backslashes in it as part of the text?

my @para_text = ( "The build of $build CUT$cut was started as requested and its progress can be monitored in Anthill here", "", "http://anthill:8080/tasks/project/BuildLifeTasks/viewBuildLife? buildLifeId=$lifeid", "", 'If it completes…
0
votes
1 answer

Issue with eval_in_page - Trying to interpolate an array

my @para_text = $mech->xpath('/html/body/form/table/tbody/tr[2]/td[3]/table/tbody/tr[2]/td/table/tbody/tr[3]/td/div/div/div', type => $mech->xpathResult('STRING_TYPE')); #BELOW IS JUST TO MAKE SURE THE ABOVE CAPTURED THE CORRECT TEXT print "Look…
0
votes
1 answer

going to a javascript link with mechanize-firefox

There is a link on a page, and I want to go to it but it just a javascript command. How with mechanize do I go to the link?
Bill
  • 1,169
  • 2
  • 19
  • 41
0
votes
1 answer

Can't locate MozRepl.pm in @INC (you may need to install the MozRepl module)

I am trying to logon to a website which has Javascript Login using Mechanize Firefox. The program works fine on Ubuntu, but when I run on windows I am getting the following error. Can't locate MozRepl.pm in @INC (you may need to install the MozRepl…
Anoop Pete
  • 482
  • 2
  • 4
  • 16
0
votes
1 answer

How to trigger an onchange event in Firefox::Mechanize?

I'm using Firefox::Mechanize to scrape a website. I'm stuck on a dropdown menu which has an onchange event associated with it. I'm able to select the option I wanted from the pulldown menu, and I'm able to verify this because the pulldown now…