Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
#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)
#cause an alert
d.execute_script("setTimeout(function(){alert('hi San Jose!');}, 100)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.