Create a gist now

Instantly share code, notes, and snippets.

# 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment