# py_selenium **Repository Path**: mtshen/py_selenium ## Basic Information - **Project Name**: py_selenium - **Description**: 基于 selenium 的自动化测试尝试 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 基于python的selenium库进行前端自动化测试 [selenium官方文档](https://www.selenium.dev/documentation/zh-cn/) #### 安装 需要提前安装 **python**, **selenium** 1. 文章 > https://blog.csdn.net/GitChat/article/details/79081187 > https://www.jianshu.com/p/1b63c5f3c98e 如果出现报错 ``` Traceback (most recent call last): File "c:/Users/mtshen/Desktop/auto/index0.py", line 2, in from selenium import webdriver ModuleNotFoundError: No module named 'selenium' ``` 可以参考这个文章 > https://www.cnblogs.com/zhuzhu1214/p/10027609.html **没有 pycharm 工具的话, 只需要将之前安装的其他版本的python从系统变量中删除即可** ##### 使用的插件 ``` pip install asyncio pip install selenium ```