2012-09-24 19:12:10 +04:00
|
|
|
# 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 http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
|
|
from selenium.webdriver.common.by import By
|
|
|
|
|
|
|
|
from pages.base import Base
|
|
|
|
|
2012-10-03 16:23:32 +04:00
|
|
|
|
2012-09-24 19:12:10 +04:00
|
|
|
class About(Base):
|
|
|
|
|
|
|
|
_privacy_section_locator = (By.ID, 'privacy')
|
|
|
|
_get_involved_section_locator = (By.ID, 'get-involved')
|
|
|
|
|
|
|
|
@property
|
|
|
|
def is_privacy_section_present(self):
|
|
|
|
return self.is_element_present(*self._privacy_section_locator)
|
|
|
|
|
|
|
|
@property
|
|
|
|
def is_get_involved_section_present(self):
|
|
|
|
return self.is_element_present(*self._get_involved_section_locator)
|