Create a gist now

Instantly share code, notes, and snippets.

#load selenium library
from selenium import webdriver as w
# connect to the running iWebDriver instance
d = w.Remote("http://localhost:3001/wd/hub", w.DesiredCapabilities.IPHONE)
# start running your test just like you would any other time
email = d.find_element_by_css_selector("input[id$=':email']")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment