Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 766 Bytes
#!/usr/bin/env python
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at
import selenium
class BrowserID(object):
def __init__(self, selenium, timeout=60):
self.selenium = selenium
self.timeout = timeout
def sign_in(self, email, password):
"""Signs in using the specified email address and password."""
if isinstance(self.selenium, selenium.selenium):
from pages.rc.sign_in import SignIn
from pages.webdriver.sign_in import SignIn
sign_in = SignIn(self.selenium, timeout=self.timeout)
sign_in.sign_in(email, password)
Jump to Line
Something went wrong with that request. Please try again.