从零开始WEB自动化笔记01

一、首先需要安装pycharm和python

pycharm版本:选择免费社区版,先用社区版来做自动化吧!

python版本:3.8.5

这两个安装时注意勾选添加到环境变量path就行了,其他都是傻瓜式安装~

二、选择浏览器webdrive驱动,我选择Chrome

网站来自博主:smart_cat

Chrome浏览器驱动下载地址:https://chromedriver.storage.googleapis.com/index.html

Edge浏览器驱动下载地址:https://developer.microsoft.com/zh-cn/microsoft-edge/tools/webdriver) 或 https://msedgewebdriverstorage.z22.web.core.windows.net

Mozilla浏览器驱动下载地址:https://github.com/mozilla/geckodriver/tags

Opera浏览器驱动下载地址:https://github.com/operasoftware/operachromiumdriver/tags

Safari浏览器驱动下载地址:https://webkit.org/blog/6900/webdriver-support-in-safari-10

网站来自博主:

浏览器125版本及以后的

Chrome for Testing availability (googlechromelabs.github.io)

三、selenium、pytest、allure-pytest等pip包下载

1、pip命令

pip install pytest == 7.4.2 -i https://mirrors.aliyun.com/pypi/simple/

pip install selenium -i https://mirrors.aliyun.com/pypi/simple/

pip install pyYML -i https://mirrors.aliyun.com/pypi/simple/

pip install allure-pytest -i https://mirrors.aliyun.com/pypi/simple/

2、jdk 1.8版本(网上很多资源)

3、allure下载,配置环境变量。

  • 9
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值