public
Created

  • Download Gist
sj_meetup_demo7.py
Python
1 2 3 4 5 6 7 8 9 10
# script run to debug iWebDriver unicode sendkeys
# http://code.google.com/p/selenium/issues/detail?id=2374
 
from selenium import webdriver as w
d = w.Remote("http://localhost:3001/wd/hub", w.DesiredCapabilities.IPHONE)
d.get("http://www.dreamforce.com/login")
 
e = d.find_element_by_css_selector("input[id$=':email']")
from selenium.webdriver.common.keys import Keys
e.send_keys(Keys.RETURN)

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.