title: How to control Chrome with Python
body: <p>I'm trying to write a Python app that can subscribe to a channel on YouTube, but I honestly have no idea how. The idea is that the script would open chrome, check if the user is signed in, and if so, subscribe to the channel by running code to clicking the button.</p>
  
  <p>I'm looking for some kind of API or tool I can use to send commands or control the browser in some way. I've tried selenium, but I need to use a browser where the user is already signed in, so the driver Selenium uses won't work. I also tried to use a selenium RC server, but that wouldn't work. No other Python lib I've looked for can do what I need it to do. The closest is webbrowser which opens the tab, but that's it.</p>
  
  <p>I don't need any code or anything, just a pointer to an API or keywords to search for to find what I need. Thanks for any help!</p>
  
  <p>EDIT: I found out for the thing i'm trying to do, using image recognition to find the buttons on the screen and clicking them directly is much easier and better. Sorry for the trouble.</p>