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)
d.execute_script("window.open('http://adobe.com');")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment