from . import Page


class Login(Page):
    """
    登录页面模型
    """

    def act_login(self, username: str, password: str) ->None:
        """
        登录动作
        :param username:
        :param password:
        :return:
        """
        self.driver.find_element_by_link_text('登录').click()
        self.driver.find_element_by_id('KgcForm_models_LoginForm_identity'
            ).send_keys(username)
        self.driver.find_element_by_id('KgcForm_models_LoginForm_password'
            ).send_keys(password)
        self.driver.find_element_by_id('login').click()

cc67c4fa59de190ef4e98e8c05a9ce8377f0a758
<mask token>


class Login(Page):
    <mask token>
    <mask token>

<mask token>


class Login(Page):
    <mask token>

    def act_login(self, username: str, password: str) ->None:
        """
        登录动作
        :param username:
        :param password:
        :return:
        """
        self.driver.find_element_by_link_text('登录').click()
        self.driver.find_element_by_id('KgcForm_models_LoginForm_identity'
            ).send_keys(username)
        self.driver.find_element_by_id('KgcForm_models_LoginForm_password'
            ).send_keys(password)
        self.driver.find_element_by_id('login').click()

<mask token>


class Login(Page):
    """
    登录页面模型
    """

    def act_login(self, username: str, password: str) ->None:
        """
        登录动作
        :param username:
        :param password:
        :return:
        """
        self.driver.find_element_by_link_text('登录').click()
        self.driver.find_element_by_id('KgcForm_models_LoginForm_identity'
            ).send_keys(username)
        self.driver.find_element_by_id('KgcForm_models_LoginForm_password'
            ).send_keys(password)
        self.driver.find_element_by_id('login').click()

from . import Page


class Login(Page):
    """
    登录页面模型
    """

    def act_login(self, username: str, password: str) ->None:
        """
        登录动作
        :param username:
        :param password:
        :return:
        """
        self.driver.find_element_by_link_text('登录').click()
        self.driver.find_element_by_id('KgcForm_models_LoginForm_identity'
            ).send_keys(username)
        self.driver.find_element_by_id('KgcForm_models_LoginForm_password'
            ).send_keys(password)
        self.driver.find_element_by_id('login').click()
