当前位置:网站首页>Building web automation environment
Building web automation environment
2022-06-28 21:06:00 【Cool leg hair!】
Web Automation environment construction
1、 Environment building
be based on Python Environment building
- Python development environment
- install selenium package
- Install browser
- Install browser driver – Ensure that the browser can be driven by program , Implement automated testing
1.1 install selenium package
Premise :python3 After installation and normal operation
PIP Tools
pip It's a universal Python Package management tools , Provide for the right to Python Bag search 、 download 、 install 、 Uninstalled features .
install
pip install selenium
uninstall
pip uninstall selenium
see
pip show selenium
1.2 Install browser driver
drive
- firefox :https://github.com/mozilla/geckodriver/releases/
- Google :http://chromedriver.storage.googleapis.com/index.html
application
- Put the browser driver in the specified folder ( Or put it directly into Python The installation directory , because Python Has been added to Path in )
- Add the directory where the browser driver is located to the system path In the environment variables
( Select my computer / This computer - Right click –> attribute –> Advanced system setup –> senior ( environment variable )–>path( If it is wind7 Semicolons need to be added between paths ))
Be careful
- The browser driver must correspond to the browser version ( When viewing the download driver , Browser version with notification response )
- Get browser 48 Version below , Built in drive .
边栏推荐
- Input and output real data
- LeetCode188. The best time to buy and sell stocks IV
- CNN-LSTM的flatten
- Learn Tai Chi maker mqtt Chapter 2 (VIII) esp8266 mqtt user password authentication
- Data standardization processing
- LeetCode121. 买卖股票的最佳时机
- ANR无响应介绍
- RT-Thread线程同步与线程通信
- Characters and integers
- Understand the construction of the entire network model
猜你喜欢

Figure neural network can also be used as CV backbone model. Huawei Noah Vig architecture is comparable to CNN and transformer

Pyechart drawing multiple Y-axis line graphs

接口测试流程

Ehcache配置资料,方便自己查

什么是接口?什么是接口测试?
![[Note: circuit intégré MOS analogique] référence de bande Gap (principe de base + mode courant + circuit en mode tension)](/img/cd/be62272d465ca990456c222b38df67.png)
[Note: circuit intégré MOS analogique] référence de bande Gap (principe de base + mode courant + circuit en mode tension)

mysql-发生系统错误1067

Leetcode daily question - 515 Find the maximum value in each tree row

Learn Tai Chi maker mqtt Chapter 2 (VIII) esp8266 mqtt user password authentication

Apisik helps Middle East social software realize localized deployment
随机推荐
视频号如何下载视频?来看超简单方法!
开通挖财账号安全吗?是靠谱的吗?
什么是接口?什么是接口测试?
接口测试流程
Web 自动化环境搭建
Real number operation
接口用例设计
基于 Apache APISIX 的自动化运维平台
RT thread thread synchronization and thread communication
openGauss内核分析之查询重写
T-test (test whether the mean difference between the two populations is significant)
[learning notes] cluster analysis
Web自动化工具选择
ANR无响应介绍
Flask - Summary
Visualization of neural network structure in different frames
Is it safe to open a dig money account? Is it reliable?
No module named ‘PyEMD‘ ;使用plt.figure()TypeError: ‘module‘ object is not callable
LeetCode560. 和为K的子数组
API 网关 Apache APISIX 助力雪球双活架构演进