# 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 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)