public
Created

  • Download Gist
sj_meetup_demo3.py
Python
1 2 3 4 5 6 7
#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');")

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.