from framework.utils.common_utils import *

SUBMIT_BTN = by_css('input[type="submit"]')

QUESTIONS_WITH_ERRORS = by_xpath("//div[@class='answer']//ul[@class='errorlist']/li[normalize-space(text()) != '']")

TRIAL_WEB_LIMIT_REACHED_WARNING_BOX = by_xpath("//div[@class='warning-message-box']//p[normalize-space(text())]")

SECTION_TITLE = by_css(".section_title")

PROJECT = by_css(".project_name")

BACK_TO_PROJECT_LINK = by_css(".back-to-list")

WEB_NAVIGATION = by_css(".device-navigation .web")

CANCEL = by_id("cancel")

# SUCCESS_MESSAGE = by_css(".success-message-box")