Edwin, we have a very similar test case already in gaia-ui-tests which you should be able to compare to see where you are going wrong. https://github.com/mozilla/gaia-ui-tests/blob/master/gaiatest/tests/persona/test_persona_cookie.py Can you check whether you are in the correct iframe after switching into the frame (line 16)? You can do this by printing self.marionette.current_url I'm concerned you're goign into the wrong frame because if I recall there's a temporary communication iframe in there and your frame locator might be matching both of them. If you change it to this locator: https://github.com/mozilla/gaia-ui-tests/blob/master/gaiatest/apps/persona/app.py#L12 what do you get?
I can give current_url a try but I've been printing page_source and I can see the exact controls I'm targeting in the src.
Sorry I've run out of time but if you spray it with sleeps and be sure you're in the correct iframe there should be no problem as we already run the equivalent of this test on that build you're using.
it looks like I might have been targeting the wrong element on page, since there are multiple instances with same class/text. I'll close the bug once I can get my test working. Thanks for looking into it.
yup, if i just did len on find_elements() -- closing