Browse files

Merge pull request #44 from klrmn/production

Change page title branding
  • Loading branch information...
2 parents c02a13a + 74b557a commit 3b299575f621255dee6be47dee9c216d25ee5304 zacc committed Sep 4, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −1 pages/webdriver/base.py
  2. +2 −0 pages/webdriver/sign_in.py
View
2 pages/webdriver/base.py
@@ -7,7 +7,7 @@
class Base(object):
- _page_title = 'BrowserID'
+ _page_title = 'Mozilla Persona'
def __init__(self, selenium, timeout=60):
self.selenium = selenium
View
2 pages/webdriver/sign_in.py
@@ -29,6 +29,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 3b29957

Please sign in to comment.