Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
from selenium import webdriver as w
d = w.Remote("http://localhost:3001/wd/hub", w.DesiredCapabilities.IPHONE)
f = d.find_element_by_css_selector("iframe[src^='']")
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