摘要:
能解决登陆一次后,之后不需要二次登陆的动态加载数据,网页保存的cookie和标签,加入到selenium自动化测试浏览器中 1 from selenium import webdriver 2 import re 3 from time import sleep 4 5 def willbill() 阅读全文
摘要:
通过selenium模块驱动Chrome浏览器,获得js动态数据,以17track为例:通过运单号查询最新的物流信息 1 import re 2 from time import sleep 3 from selenium import webdriver 4 def down_times(will 阅读全文