from framework.base_page import BasePage

class MAMHomePage(BasePage):

    '''
        1、首页中，资源分类id：condition-tree-link，下拉列表如何获取
        2、chrome浏览器会出现浏览器未完全打开，导致元素无法获取的问题
    '''
    personal_center="xpath=>//*[@id='mymam_link']"
    manager_center="xpath=>//*[@id='mam_manager_link']"
    resource_manager = "xpath=>//*[@id='resource_manager_link']"
    advanced_search = "xpath=>*[@id='adv_search']"

    def personal_click(self):
        self.click(self.personal_center)
        self.sleep(2)

    def manager_click(self):
        self.click(self.manager_center)
        self.sleep(2)

    def resource_manager_click(self):
        self.click(self.resource_manager)
        self.sleep(2)

    def advanced_search_click(self):
        self.click(self.advanced_search)
        self.sleep(2)

08ee39c1168da2a4f9c9f9ac3bcc4288975050eb
<mask token>


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

    def personal_click(self):
        self.click(self.personal_center)
        self.sleep(2)

    def manager_click(self):
        self.click(self.manager_center)
        self.sleep(2)

    def resource_manager_click(self):
        self.click(self.resource_manager)
        self.sleep(2)

    def advanced_search_click(self):
        self.click(self.advanced_search)
        self.sleep(2)

<mask token>


class MAMHomePage(BasePage):
    <mask token>
    personal_center = "xpath=>//*[@id='mymam_link']"
    manager_center = "xpath=>//*[@id='mam_manager_link']"
    resource_manager = "xpath=>//*[@id='resource_manager_link']"
    advanced_search = "xpath=>*[@id='adv_search']"

    def personal_click(self):
        self.click(self.personal_center)
        self.sleep(2)

    def manager_click(self):
        self.click(self.manager_center)
        self.sleep(2)

    def resource_manager_click(self):
        self.click(self.resource_manager)
        self.sleep(2)

    def advanced_search_click(self):
        self.click(self.advanced_search)
        self.sleep(2)

<mask token>


class MAMHomePage(BasePage):
    """
        1、首页中，资源分类id：condition-tree-link，下拉列表如何获取
        2、chrome浏览器会出现浏览器未完全打开，导致元素无法获取的问题
    """
    personal_center = "xpath=>//*[@id='mymam_link']"
    manager_center = "xpath=>//*[@id='mam_manager_link']"
    resource_manager = "xpath=>//*[@id='resource_manager_link']"
    advanced_search = "xpath=>*[@id='adv_search']"

    def personal_click(self):
        self.click(self.personal_center)
        self.sleep(2)

    def manager_click(self):
        self.click(self.manager_center)
        self.sleep(2)

    def resource_manager_click(self):
        self.click(self.resource_manager)
        self.sleep(2)

    def advanced_search_click(self):
        self.click(self.advanced_search)
        self.sleep(2)

from framework.base_page import BasePage


class MAMHomePage(BasePage):
    """
        1、首页中，资源分类id：condition-tree-link，下拉列表如何获取
        2、chrome浏览器会出现浏览器未完全打开，导致元素无法获取的问题
    """
    personal_center = "xpath=>//*[@id='mymam_link']"
    manager_center = "xpath=>//*[@id='mam_manager_link']"
    resource_manager = "xpath=>//*[@id='resource_manager_link']"
    advanced_search = "xpath=>*[@id='adv_search']"

    def personal_click(self):
        self.click(self.personal_center)
        self.sleep(2)

    def manager_click(self):
        self.click(self.manager_center)
        self.sleep(2)

    def resource_manager_click(self):
        self.click(self.resource_manager)
        self.sleep(2)

    def advanced_search_click(self):
        self.click(self.advanced_search)
        self.sleep(2)

from framework.base_page import BasePage

class MAMHomePage(BasePage):

    '''
        1、首页中，资源分类id：condition-tree-link，下拉列表如何获取
        2、chrome浏览器会出现浏览器未完全打开，导致元素无法获取的问题
    '''
    personal_center="xpath=>//*[@id='mymam_link']"
    manager_center="xpath=>//*[@id='mam_manager_link']"
    resource_manager = "xpath=>//*[@id='resource_manager_link']"
    advanced_search = "xpath=>*[@id='adv_search']"

    def personal_click(self):
        self.click(self.personal_center)
        self.sleep(2)

    def manager_click(self):
        self.click(self.manager_center)
        self.sleep(2)

    def resource_manager_click(self):
        self.click(self.resource_manager)
        self.sleep(2)

    def advanced_search_click(self):
        self.click(self.advanced_search)
        self.sleep(2)
