摘要:路径:e:/pythonpro/liuyun/requesttest/requests01.py 还是现在终端cmd输入:pip3 install requests -i https://pypi.tuna.tsinghua.edu.cn/simple #导入requests import requ
阅读全文
摘要:路径:e:/pythonpro/liuyun/selenium/demo1.py 1、通过ID值: 搜索框:<input id="search-input" name="wd" type="text" placeholder="其实搜索很简单^_^ !" value="" autocomplete=
阅读全文
摘要:自动化测试分为两种:一种是UI自动化测试(selenium) :一种是接口自动化测试() selenium的步骤: 1、下载安装谷歌浏览器 2、下载谷歌的驱动() 3、安装python的selenium包(管理员模式下的终端文件) pip3 install selenium -i https://p
阅读全文