예제 #1
0
def get_result_fail(driver):
    """获取登录失败后“账号或密码错误”字样"""
    dry = Base(driver)
    result = dry.get_Text(loc_zhanghaohemimacuowu)
    return result
예제 #2
0
def get_result_success(driver):
    """获取登录成功后的“MPen出版系统”字样"""
    dry = Base(driver)
    result = dry.get_Text(loc_chubanxitong)
    return result