NAME - send STDIN to the Javascript Console


    echo "Hello World" |

Options: --clear Clear console before sending text --mozrepl connection string to Firefox --close automatically close the tab at the end of input --type TYPE Fix the type to 'html' or 'text'



Clear the console before sending the text.

--text TEXT

Send the text TEXT instead of reading from STDIN.


Connection information for the mozrepl instance to use.


This program sends text read from standard input to the Javascript Console in Firefox. This can be convenient if you want to do testing and log the start or stop of a test run to the console.

SEE ALSO - the underlying Console Service that also shows how to listen to events getting added.