title: How can I programmatically control a browser such as chrome in linux and execute javascript per each tab?
body: <p>I have been given a task of toggling nearly 200 users' permissions in an admin. I have access to the database, and I'm sure I can do this in SQL but I'm curious to find out how to do it this way as well, plus I suspect it will be less work because I don't have to study the SQL that's going on and I know exactly what to do after I get access to the browser instance and know how to execute javascript programmatically in the context of the web page open.</p>
  
  <p>I basically want to provide a list of urls which will open ( 195 ) and then execute javascript to toggle checkboxes, then submit the form.</p>
  
  <p>As I stated, I want to use firefox or chrome and I'm on linux. </p>