摘要:
<form> 表单 以下是表单元素 <input type= text文本 / radio单选按钮 / submit 提交按钮 > 输入 属性 action 在提交表单时执行的动作,提交后发送到“ ”的文件里 method 提交表单时所用的 HTTP 方法(GET / POST) name 表单名字 阅读全文
摘要:
1.写一个测试用例 新建类,继承unittest.TestCase -》导包-》写test方法 1 class TestCase(unittest.TestCase) // 1. 新建类继承unittest.TestCase 2导入uniitest 2 def test_01_login(self) 阅读全文
摘要:
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdr 阅读全文
摘要:
1. from selenium import webdriver from selenium.webdriver.common.keys import Keys //Key 表示键盘上的键, By 定位文本中的元素 from selenium.webdriver.common.by import 阅读全文