from selenium.webdriver.common.by import By


class Locator:
    """Locator objects for finding Selenium WebElements"""

    def __init__(self, l_type, selector):
        self.l_type = l_type
        self.selector = selector

    def parameterize(self, *args):
        self.selector = self.selector.format(*args)


class SearchPageLocators:
    """Class for google search page selectors"""
    SEARCH_BAR = Locator(By.XPATH, "//input[@type='text']")
    SEARCH_RESULT = Locator(By.XPATH, "//a[@href='{}']")

35470278e2e9199daf8ccfcb68e645fa8c49bad4
<mask token>


class Locator:
    <mask token>
    <mask token>
    <mask token>


class SearchPageLocators:
    """Class for google search page selectors"""
    SEARCH_BAR = Locator(By.XPATH, "//input[@type='text']")
    SEARCH_RESULT = Locator(By.XPATH, "//a[@href='{}']")

<mask token>


class Locator:
    <mask token>

    def __init__(self, l_type, selector):
        self.l_type = l_type
        self.selector = selector

    def parameterize(self, *args):
        self.selector = self.selector.format(*args)


class SearchPageLocators:
    """Class for google search page selectors"""
    SEARCH_BAR = Locator(By.XPATH, "//input[@type='text']")
    SEARCH_RESULT = Locator(By.XPATH, "//a[@href='{}']")

<mask token>


class Locator:
    """Locator objects for finding Selenium WebElements"""

    def __init__(self, l_type, selector):
        self.l_type = l_type
        self.selector = selector

    def parameterize(self, *args):
        self.selector = self.selector.format(*args)


class SearchPageLocators:
    """Class for google search page selectors"""
    SEARCH_BAR = Locator(By.XPATH, "//input[@type='text']")
    SEARCH_RESULT = Locator(By.XPATH, "//a[@href='{}']")

from selenium.webdriver.common.by import By


class Locator:
    """Locator objects for finding Selenium WebElements"""

    def __init__(self, l_type, selector):
        self.l_type = l_type
        self.selector = selector

    def parameterize(self, *args):
        self.selector = self.selector.format(*args)


class SearchPageLocators:
    """Class for google search page selectors"""
    SEARCH_BAR = Locator(By.XPATH, "//input[@type='text']")
    SEARCH_RESULT = Locator(By.XPATH, "//a[@href='{}']")
