Questions tagged [mozrepl]

MozRepl (Mozilla Plugin) lets you program Firefox and other Mozilla-based applications from the inside using a telnet client.

MozRepl Is a plugin for Mozilla-based applications. It is an read/eval/print loop, that acts like a telnet server within e.g. Firefox.

The server allowing you connect to the "telnet server" using any application and send commands to Firefox. Commands sent to Firefox by MozRepl are executed as if it was run from the browser.

Example of client: WWW::Mechanize::Firefox what uses MozRepl and allows automate Firefox via perl through the Mozrepl plugin.

34 questions
0
votes
1 answer

cant locate MozRepl.pm in @INC

I have a Perl script which uses WWW::Mechanize::Firefox which works well before its been converted into Executable file by using PAR::Packager. it shows an error as Can't locate MozRepl.pm in @INC Need some suggestion to solve this issue, Thank…
Balakumar
  • 650
  • 1
  • 12
  • 29
0
votes
1 answer

Is the only way to disconnect WWW::Mechanize::Firefox from mozrepl destruction of the objects?

As the title says I'm trying to make a perl daemon which, being long-running I want to be sane on resource usage. All the examples / documentation I've seen doesn't seem to mention a way to disconnect a session. The best documentation on the topic I…
pacifist
  • 712
  • 4
  • 13
0
votes
2 answers

How to read Mozrepl Javascript result into a Python Variable?

With Mozrepl addon in Firefox and Python I do: >>> import telnetlib >>> tn = telnetlib.Telnet(r'127.0.0.1', 4242, 5) >>> tn.read_eager() '\nWelcome to MozRepl.\n\n - If you get stuck at the "' >>> tn.read_until("repl> ") ...snip... >>>…
user1325143
  • 213
  • 1
  • 5
  • 15
0
votes
1 answer

mozrepl: go to the context of the browser window when entering in a new opened window

My problem is that I can not ascend to the browser window context after creating and entering a new window using mozrepl, how to do it? ubugnu@spin-foam:~$ telnet localhost 4242 | tee -a .repl_log Trying 127.0.0.1... Connected to localhost. Escape…
ubugnu
  • 1,004
  • 2
  • 15
  • 30
1 2
3