web自动化_python版
CPS1016347441
这个作者很懒,什么都没留下…
展开
-
selenium.common.exceptions.ElementClickInterceptedException Element is not clickable at point
背景:点击课堂派官网,点击登录按钮,想进入登录页面课堂派官网地址:https://prepc.ketangpai.com/#/homePage错误代码如下:import timefrom selenium import webdriverfrom selenium.webdriver.common.by import Byurl="https://prepc.ketangpai.com/#/homePage"driver = webdriver.Chrome()drive..原创 2022-04-10 02:32:56 · 1315 阅读 · 1 评论 -
修改pycharm用例运行方式
背景:最近在用python写 脚本,碰到一个现象,脚本有时候用unittest方式运行,有时候又是用pytest方式运行,搞得自己一头雾水,不知道如何控制自己的运行方式。现在做下总结!用例运行方式的控制在下图点击 Edit Configurations,进入Run/Debug Configurations 这个界面就是控制脚本的运行方式的地方...原创 2022-04-05 22:58:04 · 1047 阅读 · 0 评论 -
没有进入iframe框内,就定位它的内部元素,导致内部元素找不到
没有进入iframe框内导致找不到元素原创 2022-01-09 10:42:15 · 398 阅读 · 0 评论 -
python+selenium+chrome+chromedriver版本匹配
mac环境下的web自动化环境版本匹配python 3.7chrome 96chromedriver 96selenium 3.7这样比较匹配!原创 2021-12-19 21:40:38 · 801 阅读 · 0 评论 -
python打开chrome浏览器的2种方法
python打开浏览器的方法有2种,起始本质都是一样的。如果学过java,会用Java写,更好理解这个环节。原创 2021-12-19 17:34:40 · 12534 阅读 · 2 评论