![](https://img-blog.csdnimg.cn/20190918140053667.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
selenium
selenium
默金……
这个作者很懒,什么都没留下…
展开
-
selenium / playwright 浏览器托管
selenium / playwright 浏览器托管,是启动一个浏览器,调试代码,可以运行当前调试代码,不用从启动浏览器开始从头执行。–user-data-dir="C:\selenum\AutomationProfile,指定保存浏览器记录的目录。在谷歌浏览器chrome.exe 目录中打开cmd 输入下面目录,启动器浏览器。–remote-debugging-port=9222 指定连接浏览器的端口。原创 2023-07-06 10:41:19 · 1111 阅读 · 0 评论 -
web自动化测试框架 pytest-allure-selenium-po-demo
web自动化测试框架 pytest-allure-selenium-po-demo。原创 2022-12-28 11:51:10 · 373 阅读 · 2 评论 -
selenium4.0 批量删除163邮箱已删除邮件片
通过 添加cookie免登录方式进入邮箱,提取cookie内容。selenium4.0 批量删除163邮箱已删除邮件。原创 2022-09-28 15:12:24 · 389 阅读 · 0 评论 -
通过cookie绕过验证码登录(绕过验证码)
通过cookie绕过验证码登录(绕过验证码)#!/user/bin/env python3# -*- coding: utf-8 -*-from selenium import webdriverimport timefrom common.read_yaml import ReadYamldata = ReadYaml("data.yml").get_yaml_data()#读取数据driver=webdriver.Chrome()driver.get("http://888888原创 2022-03-02 16:47:30 · 863 阅读 · 0 评论 -
selenium切换为手机模式
selenium切换为手机模式from selenium.webdriver.chrome.options import Optionsmobile_emulation = {'deviceName': 'iPhone 6 Plus'}options = Options()options.add_experimental_option("mobileEmulation", mobile_emulation)driver = webdriver.Chrome(options=options)原创 2022-03-02 11:05:00 · 957 阅读 · 0 评论 -
第一个python+selenium自动化测试脚本(python3)
第一个python+selenium自动化测试脚本(python3) QQ群交流 822659419# !/usr/bin/env python# -*- coding: utf-8 -*-# @Time : 2019/01/21 16:34# @Author : huangpeng# @Site :# @File : Testin.py# @Software:...原创 2019-03-08 11:16:43 · 704 阅读 · 0 评论 -
安装pytesseract报错正确的解决方法(python爬虫抓取验证码)
pytesseract安装过程,教程很多、很多,这里就不赘述了如下链接:https://blog.csdn.net/weixin_42341986/article/details/80882413看重点、看重点、看重点看到好多教程都讲到,在D:\Python37\Lib\site-packages\pytesseract路径下修改pytesseract.py文件如:将这个tesserac...原创 2019-04-04 15:10:10 · 2060 阅读 · 0 评论