基于Python搭建自动化框架

本文详细介绍了如何在本地计算机上安装Python及配置环境路径,并通过pip安装Selenium。此外还涵盖了PyCharm的安装步骤、ChromeDriver的设置方法以及如何为PyCharm添加ChromeDriver路径。最后提到了创建基本类如Utilities、Pages和Scripts等。

 1.       Install python on local machine and add it’s path to environment

2.       Install pip

3.       Install selenium using command pip install selenium

4.       Install python IDE Pycharm

5.       If running on chrome, need to install chrome driver and copy it under folder/python27(不用再添加到环境变量了)

6.       Add chromedriver.exe to pycharm using paste:

            

7.       Set project interpreter using python.exe

    

8.       Add basic class like Utilities, pages and scripts.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值