views:

342

answers:

1

Can I control a running Google Chrome instance from the command line? I'm hoping there's something like a -remote flag that will allow me to send in some javascript or somesuch. In particular, I would like to reload the topmost document on the foremost window.

+1  A: 

Take a look at http://code.google.com/p/chromedevtools/ . It might be you can use the Debugging Protocol to do the job. There is also an Ruby Client.

DrDol