public
Created

  • Download Gist
sj_meetup_demo1.py
Python
1 2 3 4 5 6 7 8 9 10 11
#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
d.get("http://www.dreamforce.com/login")
 
email = d.find_element_by_css_selector("input[id$=':email']")
email.send_keys("luke.semerau@gmail.com")

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.