Skip to content

Instantly share code, notes, and snippets.

@edwindotcom
Created December 4, 2013 00:03
Show Gist options
  • Save edwindotcom/7780009 to your computer and use it in GitHub Desktop.
Save edwindotcom/7780009 to your computer and use it in GitHub Desktop.
way to print iframes on b2g
self.marionette.switch_to_frame()
iframes = self.marionette.find_elements(*self._frame_locator)
for iframe in iframes:
print 'src', iframe.get_attribute("src")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment