摘要:
from selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.support.wait import WebDriverWaitfrom selenium.webdri 阅读全文
摘要:
css selectors id 方法 (#txt_ing ) classname .classname 属性定位 input 出现重复属性,层级定位 用xpath 多属性定位select[] []多个[]连接,不需要and 模糊定位(场景:后面数据动态定位) 以什么开头,在=前加一个^ 以什么结尾 阅读全文
摘要:
1.xpath (唯一定位的方式) //*[@id='id'] //*[@type ='id'] //*[@plachoder='id'] //input[@id='id'] 先访问父级 //div[@class='driver']/input[id =il] 联合唯一定位 选择 下拉 //sele 阅读全文