#coding:utf-8
"""首页
LOCATOR : 所有页面元素的定位器
首页页面元素的定位和操作均写在该类中"""
from .basepage importBasePagefrom selenium.webdriver.common.by importByimport logging;logging.basicConfig(level=logging.INFO)classIndexPage(BasePage):"""首页类"""
#LOCATOR
_stylelist_LOCATOR = (By.CSS_SELECTOR, "#styleList li[data-style]")
_current_LOCATOR= (By.CSS_SELECTOR,"#styleList .current")
_latestInfoList_LOCATOR= (By.CSS_SELECTOR, "ul#latestInfoList>li")
_mystyle_name__LOCATOR= (By.ID, "myStyle_name_")
_mystyle_name_LOCATOR= (By.ID, "myStyle_name")
_style_desc_LCOATOR= (By.CLASS_NAME, "style-desc")
_myStyle_remark_LOCATOR= (By.ID, "myStyle_remark")
_read_strategy_LOCATOR= (By.CLASS_NAME, "read-strategy")
_style_d