from selenium.webdriver.common.by import By


class MainPageLocators():
    LOGIN_LINK = (By.CSS_SELECTOR, "#login_link")


class LoginPageLocators():
    LOGIN_FORM = (By.CSS_SELECTOR, "#login_form")
    REGISTRATION_FORM = (By.CSS_SELECTOR, "#register_form")
    REGISTRATION_EMAIL = (By.CSS_SELECTOR, "#id_registration-email")
    REGISTRATION_PASSWORD = (By.CSS_SELECTOR, "#id_registration-password1")
    REGISTRATION_PASSWORD_AGAIN = (By.CSS_SELECTOR, "#id_registration-password2")
    REGISTRATION_BUTTON = (By.CSS_SELECTOR, "#register_form button")


class ProductPageLocators():
    BUTTON_ADD_TO_BASKET = (By.CSS_SELECTOR, "#add_to_basket_form > button.btn-add-to-basket")
    SUCCESS_MESSAGE = (By.CSS_SELECTOR, ".alertinner > strong")
    PRODUCT_NAME = (By.CSS_SELECTOR, ".product_main > h1")
    PRODUCT_PRICE = (By.CSS_SELECTOR, ".product_main > p")
    BASKET_TOTAL_PRICE = (By.CSS_SELECTOR, ".alert-info strong")


class BasePageLocators():
    LOGIN_LINK = (By.CSS_SELECTOR, "#login_link")
    LOGIN_LINK_INVALID = (By.CSS_SELECTOR, "#login_link_inc")
    USER_ICON = (By.CSS_SELECTOR, ".icon-user")


class BasketPageLocators():
    BASKET_BUTTON = (By.CSS_SELECTOR, ".basket-mini a.btn-default")
    BASKET_TEXT = (By.CSS_SELECTOR, "#content_inner > p")
    BASKET_PRODUCT = (By.CSS_SELECTOR, "#basket_formset")

7beaf1b2b120e5014a9fd8999089f0e33f067a6d
<mask token>


class LoginPageLocators:
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class ProductPageLocators:
    BUTTON_ADD_TO_BASKET = (By.CSS_SELECTOR,
        '#add_to_basket_form > button.btn-add-to-basket')
    SUCCESS_MESSAGE = By.CSS_SELECTOR, '.alertinner > strong'
    PRODUCT_NAME = By.CSS_SELECTOR, '.product_main > h1'
    PRODUCT_PRICE = By.CSS_SELECTOR, '.product_main > p'
    BASKET_TOTAL_PRICE = By.CSS_SELECTOR, '.alert-info strong'


class BasePageLocators:
    LOGIN_LINK = By.CSS_SELECTOR, '#login_link'
    LOGIN_LINK_INVALID = By.CSS_SELECTOR, '#login_link_inc'
    USER_ICON = By.CSS_SELECTOR, '.icon-user'


class BasketPageLocators:
    BASKET_BUTTON = By.CSS_SELECTOR, '.basket-mini a.btn-default'
    BASKET_TEXT = By.CSS_SELECTOR, '#content_inner > p'
    BASKET_PRODUCT = By.CSS_SELECTOR, '#basket_formset'

<mask token>


class LoginPageLocators:
    LOGIN_FORM = By.CSS_SELECTOR, '#login_form'
    REGISTRATION_FORM = By.CSS_SELECTOR, '#register_form'
    REGISTRATION_EMAIL = By.CSS_SELECTOR, '#id_registration-email'
    REGISTRATION_PASSWORD = By.CSS_SELECTOR, '#id_registration-password1'
    REGISTRATION_PASSWORD_AGAIN = By.CSS_SELECTOR, '#id_registration-password2'
    REGISTRATION_BUTTON = By.CSS_SELECTOR, '#register_form button'


class ProductPageLocators:
    BUTTON_ADD_TO_BASKET = (By.CSS_SELECTOR,
        '#add_to_basket_form > button.btn-add-to-basket')
    SUCCESS_MESSAGE = By.CSS_SELECTOR, '.alertinner > strong'
    PRODUCT_NAME = By.CSS_SELECTOR, '.product_main > h1'
    PRODUCT_PRICE = By.CSS_SELECTOR, '.product_main > p'
    BASKET_TOTAL_PRICE = By.CSS_SELECTOR, '.alert-info strong'


class BasePageLocators:
    LOGIN_LINK = By.CSS_SELECTOR, '#login_link'
    LOGIN_LINK_INVALID = By.CSS_SELECTOR, '#login_link_inc'
    USER_ICON = By.CSS_SELECTOR, '.icon-user'


class BasketPageLocators:
    BASKET_BUTTON = By.CSS_SELECTOR, '.basket-mini a.btn-default'
    BASKET_TEXT = By.CSS_SELECTOR, '#content_inner > p'
    BASKET_PRODUCT = By.CSS_SELECTOR, '#basket_formset'

<mask token>


class MainPageLocators:
    <mask token>


class LoginPageLocators:
    LOGIN_FORM = By.CSS_SELECTOR, '#login_form'
    REGISTRATION_FORM = By.CSS_SELECTOR, '#register_form'
    REGISTRATION_EMAIL = By.CSS_SELECTOR, '#id_registration-email'
    REGISTRATION_PASSWORD = By.CSS_SELECTOR, '#id_registration-password1'
    REGISTRATION_PASSWORD_AGAIN = By.CSS_SELECTOR, '#id_registration-password2'
    REGISTRATION_BUTTON = By.CSS_SELECTOR, '#register_form button'


class ProductPageLocators:
    BUTTON_ADD_TO_BASKET = (By.CSS_SELECTOR,
        '#add_to_basket_form > button.btn-add-to-basket')
    SUCCESS_MESSAGE = By.CSS_SELECTOR, '.alertinner > strong'
    PRODUCT_NAME = By.CSS_SELECTOR, '.product_main > h1'
    PRODUCT_PRICE = By.CSS_SELECTOR, '.product_main > p'
    BASKET_TOTAL_PRICE = By.CSS_SELECTOR, '.alert-info strong'


class BasePageLocators:
    LOGIN_LINK = By.CSS_SELECTOR, '#login_link'
    LOGIN_LINK_INVALID = By.CSS_SELECTOR, '#login_link_inc'
    USER_ICON = By.CSS_SELECTOR, '.icon-user'


class BasketPageLocators:
    BASKET_BUTTON = By.CSS_SELECTOR, '.basket-mini a.btn-default'
    BASKET_TEXT = By.CSS_SELECTOR, '#content_inner > p'
    BASKET_PRODUCT = By.CSS_SELECTOR, '#basket_formset'

from selenium.webdriver.common.by import By


class MainPageLocators:
    LOGIN_LINK = By.CSS_SELECTOR, '#login_link'


class LoginPageLocators:
    LOGIN_FORM = By.CSS_SELECTOR, '#login_form'
    REGISTRATION_FORM = By.CSS_SELECTOR, '#register_form'
    REGISTRATION_EMAIL = By.CSS_SELECTOR, '#id_registration-email'
    REGISTRATION_PASSWORD = By.CSS_SELECTOR, '#id_registration-password1'
    REGISTRATION_PASSWORD_AGAIN = By.CSS_SELECTOR, '#id_registration-password2'
    REGISTRATION_BUTTON = By.CSS_SELECTOR, '#register_form button'


class ProductPageLocators:
    BUTTON_ADD_TO_BASKET = (By.CSS_SELECTOR,
        '#add_to_basket_form > button.btn-add-to-basket')
    SUCCESS_MESSAGE = By.CSS_SELECTOR, '.alertinner > strong'
    PRODUCT_NAME = By.CSS_SELECTOR, '.product_main > h1'
    PRODUCT_PRICE = By.CSS_SELECTOR, '.product_main > p'
    BASKET_TOTAL_PRICE = By.CSS_SELECTOR, '.alert-info strong'


class BasePageLocators:
    LOGIN_LINK = By.CSS_SELECTOR, '#login_link'
    LOGIN_LINK_INVALID = By.CSS_SELECTOR, '#login_link_inc'
    USER_ICON = By.CSS_SELECTOR, '.icon-user'


class BasketPageLocators:
    BASKET_BUTTON = By.CSS_SELECTOR, '.basket-mini a.btn-default'
    BASKET_TEXT = By.CSS_SELECTOR, '#content_inner > p'
    BASKET_PRODUCT = By.CSS_SELECTOR, '#basket_formset'

from selenium.webdriver.common.by import By


class MainPageLocators():
    LOGIN_LINK = (By.CSS_SELECTOR, "#login_link")


class LoginPageLocators():
    LOGIN_FORM = (By.CSS_SELECTOR, "#login_form")
    REGISTRATION_FORM = (By.CSS_SELECTOR, "#register_form")
    REGISTRATION_EMAIL = (By.CSS_SELECTOR, "#id_registration-email")
    REGISTRATION_PASSWORD = (By.CSS_SELECTOR, "#id_registration-password1")
    REGISTRATION_PASSWORD_AGAIN = (By.CSS_SELECTOR, "#id_registration-password2")
    REGISTRATION_BUTTON = (By.CSS_SELECTOR, "#register_form button")


class ProductPageLocators():
    BUTTON_ADD_TO_BASKET = (By.CSS_SELECTOR, "#add_to_basket_form > button.btn-add-to-basket")
    SUCCESS_MESSAGE = (By.CSS_SELECTOR, ".alertinner > strong")
    PRODUCT_NAME = (By.CSS_SELECTOR, ".product_main > h1")
    PRODUCT_PRICE = (By.CSS_SELECTOR, ".product_main > p")
    BASKET_TOTAL_PRICE = (By.CSS_SELECTOR, ".alert-info strong")


class BasePageLocators():
    LOGIN_LINK = (By.CSS_SELECTOR, "#login_link")
    LOGIN_LINK_INVALID = (By.CSS_SELECTOR, "#login_link_inc")
    USER_ICON = (By.CSS_SELECTOR, ".icon-user")


class BasketPageLocators():
    BASKET_BUTTON = (By.CSS_SELECTOR, ".basket-mini a.btn-default")
    BASKET_TEXT = (By.CSS_SELECTOR, "#content_inner > p")
    BASKET_PRODUCT = (By.CSS_SELECTOR, "#basket_formset")
