from base_page import BasePage
from main_page_locators import MainPageLocators


class MainPage(BasePage):
    """
    Класс страницы сайта.
    """
    URL = "https://plugins.jenkins.io/shiningpanda"

    def __init__(self, driver):
        super().__init__(driver, self.URL)

    def get_title(self):
        title = self.find_element(MainPageLocators.MAIN_PAGE_TITLE_LOCATORS)
        return title.text

208e13397de62fe986e7b3a42c2c87bf90fa01a8
<mask token>


class MainPage(BasePage):
    <mask token>
    <mask token>

    def __init__(self, driver):
        super().__init__(driver, self.URL)
    <mask token>

<mask token>


class MainPage(BasePage):
    <mask token>
    <mask token>

    def __init__(self, driver):
        super().__init__(driver, self.URL)

    def get_title(self):
        title = self.find_element(MainPageLocators.MAIN_PAGE_TITLE_LOCATORS)
        return title.text

<mask token>


class MainPage(BasePage):
    <mask token>
    URL = 'https://plugins.jenkins.io/shiningpanda'

    def __init__(self, driver):
        super().__init__(driver, self.URL)

    def get_title(self):
        title = self.find_element(MainPageLocators.MAIN_PAGE_TITLE_LOCATORS)
        return title.text

<mask token>


class MainPage(BasePage):
    """
    Класс страницы сайта.
    """
    URL = 'https://plugins.jenkins.io/shiningpanda'

    def __init__(self, driver):
        super().__init__(driver, self.URL)

    def get_title(self):
        title = self.find_element(MainPageLocators.MAIN_PAGE_TITLE_LOCATORS)
        return title.text

from base_page import BasePage
from main_page_locators import MainPageLocators


class MainPage(BasePage):
    """
    Класс страницы сайта.
    """
    URL = "https://plugins.jenkins.io/shiningpanda"

    def __init__(self, driver):
        super().__init__(driver, self.URL)

    def get_title(self):
        title = self.find_element(MainPageLocators.MAIN_PAGE_TITLE_LOCATORS)
        return title.text
