You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.
As far as I can tell, we're checking for more than one handle, and then iterating through the handles to find the one containing the FxA sign-in. Are you saying the code is trying to find the window before the popup has shown? There's not currently a wait here, so I'm not sure what might cause this issue. Perhaps we should introduce a short wait to see if a new window is opened? Maybe you could provide some additional information.
check_for_popup get initialized with the current window handles: self.check_for_popup(self.selenium.window_handles). Line 55 just checks if the amount of handles is greater than 1. If I already have 2 windows opened, it proceeds before the fxa popup window can actually open.
Currently the function found here: https://github.com/mozilla/fxapom/blob/master/fxapom/pages/sign_in.py#L55 assumes that the user only has 1 window_handle. What if the user has more then 1?
The function should wait for their to be 1 additional window that has opened and assume that window is the popup.
The text was updated successfully, but these errors were encountered: