Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Running the remote driver with Selenium and python
1. Download the latest selenium standalone server from:
http://code.google.com/p/selenium/downloads/list
2. Install the python selenium webdriver:
$ pip install selenium
3. Run the selenium server:
$ java -jar selenium-server-standalone-2.x.x.jar
4 Now you can invoke the web driver through:
from selenium import webdriver
from selenium.webdriver.common.desired_capabilities import DesiredCapabilities
driver = webdriver.Remote(command_executor='http://33.33.33.1:4444/wd/hub', desired_capabilities=DesiredCapabilities.FIREFOX)
More about this:
http://readthedocs.org/docs/selenium-python/en/latest/getting-started.html#using-selenium-with-remote-webdriver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.