SOLVED!!
I had to dig around in the source code of B2G find this (which seems to be the
only way to get this info.) ...
After you click the 'send sms' button in the contact, do this:
sms_app_iframe_locator = ('css selector',
'iframe[src="app://sms.gaiamobile.org/index.html"]')
self.marionette.switch_to_frame()
sms_iframe = self.marionette.find_element(*sms_app_iframe_locator)
self.marionette.switch_to_frame(sms_iframe)
I tried it and it works - I can now access the elements in the sms app. If
anyone knows of any docs that give this info (such as the sms iframe locator
address) please share - you'd be saving me (and probably a lot of other people)
a LOT of time!
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g