Is there a way to programmatically get input from the Javascript Console of Google Chrome, similar to readline() in Firefox?
You might need to incorporate jsh (Javascript Shell) in your environment if you are working with console IO. See http://code.google.com/p/jsh/ for the how-to. Hope this helps.