摘要:
# 将元组中的None值去掉,并转换为list input_= [('接口自动化测试用例', None, None, None, None, None, None)] output = [] for each in input_: newList = list(filter(None,each)) 阅读全文
posted @ 2022-03-09 17:40
博无止境
阅读(423)
评论(0)
推荐(0)
摘要:
1. 启动手机模式浏览器, 手机型号只能选以下范围。 from selenium.webdriver.chrome.options import Options# 手机模式 # 设置手机型号,这设置为iPhone 6 mobile_emulation = {"deviceName": "iPhone 阅读全文
posted @ 2022-03-09 11:42
博无止境
阅读(2207)
评论(0)
推荐(0)

浙公网安备 33010602011771号