Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Wait for each window to have a title when looking for the popup.

  • Loading branch information...
commit fbe62ada0caa569117669ad0e22f34a6ce505724 1 parent 3b29957
@davehunt davehunt authored bebef1987 committed
Showing with 1 addition and 0 deletions.
  1. 0  .travis.yml
  2. +1 −0  pages/webdriver/sign_in.py
View
0  .travis.yml
No changes.
View
1  pages/webdriver/sign_in.py
@@ -27,6 +27,7 @@ def __init__(self, selenium, timeout, expect='new'):
if self.selenium.title != self._page_title:
for handle in self.selenium.window_handles:
self.selenium.switch_to_window(handle)
+ WebDriverWait(self.selenium, self.timeout).until(lambda s: s.title)
if self.selenium.title == self._page_title:
break
else:
Please sign in to comment.
Something went wrong with that request. Please try again.