Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (22 sloc) 0.856 kB
#!/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
from import By
from page import Page
class BasePage(Page):
_page_title_locator = (By.CSS_SELECTOR, "h1.section-title")
def is_logged_in(self):
return self.login_region.is_logout_visible
def login_region(self):
from regions.login import LoginRegion
return LoginRegion(self.testsetup)
def page_title(self):
return self.selenium.find_element(*self._page_title_locator).text
def header_region(self):
from regions.header import HeaderRegion
return HeaderRegion(self.testsetup)
Jump to Line
Something went wrong with that request. Please try again.