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 fb99eb62e6d5d1a858218a094355f1fb5397c6c1 1 parent 44b7633
@davehunt authored
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
@@ -28,6 +28,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.