- 博客(3)
- 收藏
- 关注
原创 网页自动化编写和校验样例
from selenium import webdriverimport unittestimport time#打开google浏览器wangyingTemplate = webdriver.Chrome()wangyingTemplate.maximize_window()#打开嗨格式首页网址wangyingTemplate.get("https://www.wangying.cn")time.sleep(2) .
2021-08-12 14:13:10
115
原创 Selenium方法使用教程
获取ID、位置、tag_name、宽高from selenium import webdriverimport timebrowser = webdriver.Chrome()browser.get('http://www.mwenting.com/')search_input = browser.find_element_by_class_name('search-submit')print(search_input.id)print(search_input.location)print(searc
2021-08-12 14:07:06
199
原创 Python自动化搭建与安装手册(全)
软件准备 下载python地址:https://www.python.org/downloads/ 2.JDK安装步骤:https://blog.csdn.net/xuejiaguniang/article/details/86331557安装Python安装python的时候,记得在安装栏选择把python加到path的环境变量,这样python安装的时候,会自动安装setuptool 和pip。安装selenium在线安装:运行cmd,执行命令pipin...
2021-08-12 13:58:00
531
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人