Skip to content

Instantly share code, notes, and snippets.

View psanzay's full-sized avatar

Sanjay Pandey psanzay

View GitHub Profile
@psanzay
psanzay / selenium-examples.py
Created November 25, 2012 05:33 — forked from hugs/selenium-examples.py
Example code for using the Selenium 2 Python bindings.
# To install the Python client library:
# pip install -U selenium
# Import the Selenium 2 namespace (aka "webdriver")
from selenium import webdriver
# iPhone
driver = webdriver.Remote(browser_name="iphone", command_executor='http://172.24.101.36:3001/hub')
# Android