Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View sj_meetup_demo5.py
1 2 3 4 5 6 7 8 9 10 11 12
from selenium import webdriver as w
d = w.Remote("http://localhost:3001/wd/hub", w.DesiredCapabilities.IPHONE)
 
d.get("http://seleniumhq.wordpress.com/")
 
f = d.find_element_by_css_selector("iframe[src^='https://plusone.google.com']")
 
d.switch_to_frame(f)
 
print d.page_source
 
print d.find_element_by_tag_name("div")
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.