![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
软件测试
Kazunorawa
从今天开始投身dotnet
展开
-
python+selenium实现自动化登陆测试
登陆界面如下实现代码如下(添加了Mac端的通知处理)import osfrom selenium import webdriverfrom selenium.webdriver.support.wait import WebDriverWaitusername = ("name", "phonenum")psw = ("name", "password")loginbutton = ("id", "login")message = ("id", "message")print("m原创 2022-04-06 20:40:11 · 1541 阅读 · 0 评论 -
Python+selenium+chromedriver实现自动登录微博并发微博
python环境这里就是默认安好的状态首先要确保安装了selenium在cmd/终端界面输入pip install selenium如果是pycharm的话那就是Pycharm->Preferences (Mac)Window->Preferences (Windows)这是已经安装的情况若是没安好点加号搜索selenium点击Install Package即可这里的本质其实就是Pycharm替你使用pip install selenium来安装装好原创 2022-03-09 13:46:42 · 1428 阅读 · 0 评论