Permalink
Browse files

Merge remote-tracking branch 'zacc/update_signin_window_page_title'

  • Loading branch information...
2 parents f2db380 + 62b088b commit 44b76330ea69da8493bf5d4ff6c54b63a05245fd @davehunt committed Jun 20, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 pages/webdriver/base.py
  2. +2 −0 pages/webdriver/sign_in.py
@@ -7,7 +7,7 @@
class Base(object):
- _page_title = 'BrowserID'
+ _page_title = 'Mozilla Persona'
def __init__(self, selenium, timeout=60):
self.selenium = selenium
@@ -30,6 +30,8 @@ def __init__(self, selenium, timeout, expect='new'):
self.selenium.switch_to_window(handle)
if self.selenium.title == self._page_title:
break
+ else:
+ raise Exception('Popup has not loaded')
if expect == 'new':
WebDriverWait(self.selenium, self.timeout).until(

0 comments on commit 44b7633

Please sign in to comment.