Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3fb77bce28
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (27 sloc) 1.032 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
from navigation_region import NavigationRegion
from personal_tools_region import PersonalToolsRegion
from header_region import HeaderRegion
from footer_region import FooterRegion
class BasePage(Page):
_page_title_locator = (By.ID, 'page-title')
def navigation_region(self):
return NavigationRegion(self.testsetup)
def personal_tools_region(self):
return PersonalToolsRegion(self.testsetup)
def header_region(self):
return HeaderRegion(self.testsetup)
def footer_region(self):
return FooterRegion(self.testsetup)
def page_title(self):
return self.selenium.find_element(*self._page_title_locator).text
Jump to Line
Something went wrong with that request. Please try again.