Commit 0c59b700 by mac

注入localStorage方法登陆

parent 53e04837
......@@ -218,12 +218,12 @@ class Page(object):
login_page.excute_script_set_url()
login_page.sleep(1)
login_page.input_text(account_input, readConfig.test_header(user)['username'])
login_page.input_text(password_input, readConfig.test_header(user)['password'])
login_page.click(login_button)
login_page.sleep(2)
login_page.click_text("取 消")
login_page.sleep(3)
# login_page.input_text(account_input, readConfig.test_header(user)['username'])
# login_page.input_text(password_input, readConfig.test_header(user)['password'])
# login_page.click(login_button)
# login_page.sleep(2)
# login_page.click_text("取 消")
# login_page.sleep(3)
# 鼠标键盘操作
# 拖拽元素,从sourse元素开始拖拽(x,y)像素
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment