Cheers Askeing!
FYI to get to the 'import contacts' list screen that comes next I figured this
out ...
self.marionette.switch_to_frame(),
then switch to frame
src="app://communications.gaiamobile.org/contacts/index.html",
then switch to frame with id = "fb-extensions"
Okay so that's conquered, woop! :)
Next question ... before that facebook contacts list screen appears, a screen
pops up which says "Please hold on. We are connecting to obtain your friend
list."
If I list every frame and take a screenshot + dump the source, I find the frame
with 'src' = "app://communications.gaiamobile.org/contacts/index.html" gives me
a screenshot with this screen on it.
But the source of this frame doesn't contain this text anywhere. I've looked in
the ".html" files called in the source and they don't contain it either -
hunting through the B2G code, I found it comes from a setting called
'waitFriends' in the '.properties' files but I can't find the tag that
eventually uses it on the screen.
If I do what Zac does (examine the source of the frame resulting from
"self.marionette.switch_to_frame()" ) I can't find this either.
Zac / whoever - how can I wait for this screen to appear, then wait for it to
disappear before moving on (it can take quite a long time or just a second, so
instead of just waiting a massive amount of time, I want to watch it)? Even if
I try a "link text" or "partial link text" match in this frame (or any other
frame), or matching items against the 'value' attribute, Marionette never finds
it.
(Sorry if I'm being a moron about this but none of my solutions are working,
and these are the last few things standing between me and yummy automated
creaminess! ;)
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g