title: Run Selenium Python Script on Remote Server
body: <p>I've built a web scraper using Selenium that I need to run when my local machine is sleeping and not connected to a network. I have a remote server that I can use to run this script, but I'm having a hard job conceptualizing how this will work. Can I use <a href="http://selenium-python.readthedocs.org/en/latest/getting-started.html" rel="nofollow">Selenium's remote driver</a> to do this? I have it installed on my local, do I need to install anything on my server? </p>
  
  <p>Here's an example of the start of my script which runs great on my local:</p>
  
  <pre><code>from selenium import webdriver
  from selenium.webdriver.common.keys import Keys
  from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
  from twilio.rest import TwilioRestClient
  import sys
  # driver = webdriver.Chrome()
  driver = webdriver.Remote(
  command_executor='http://127.0.0.1:4444/wd/hub',
  desired_capabilities=DesiredCapabilities.CHROME)
  
  driver.get("http://www.southwest.com")
  </code></pre>