E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Webdriver
曲鸟全栈UI自动化教学(四):Selenium工作原理及
Webdriver
对浏览器的配置和操作_iu自动化的
webdriver
怎么配置
-[2.6使用已打开的浏览器](#26__90)-[2.7手动指定浏览器位置](#27__112)-[2.8隐藏【受到自动化测试软件的控制】提示](#28__118)-[2.9指定浏览器大小](#29__127)-[2.10指定浏览器位置](#210__133)-[2.11指定浏览器启动语言](#211__139)-[2.12更换浏览器请求头](#212__145)-[2.13设置浏览器代理](#
2401_84281601
·
2025-02-23 13:25
ui
自动化
selenium
python爬虫selenium行为链登录12306(滑动验证码滑块)(解决特征识别)(1)
fromseleniumimport
webdriver
fromselenium.
webdriver
.common.action_chainsimportActionChainsimporttimefromselenium.
webdriver
importChromeOptions
好像要长脑子了1
·
2025-02-23 03:40
程序员
python
爬虫
selenium
Appium(三)--- AppiumDriver初始化
准备工作--获取测试包的信息步骤:1、从appium中引入
webdriver
2、添加配置:deviceName:设备名称如果直接是ip:端口,那就直接输入ip:端口如果是不是ip:端口,如:emulator
xwj_865574332
·
2025-02-22 06:19
appium
Selenium--Pytest自动化测试脚本demo
Selenium--Pytest自动化测试脚本demo测试用例一、测试登录功能fromseleniumimport
webdriver
importpytestclassTestLogin():defsetup
测试小杰9527
·
2025-02-22 05:08
selenium
pytest
python
基于Selenium实现简单的任务流程操作
文章目录概要技术介绍Selenium
WebDriver
Manager开始编码先导入对应的依赖初始化
WebDriver
建立流程链创建抽象节点初始化流程使用Selenium小结概要前段时间同事让我帮他老婆写一个可以自动操作浏览器办理业务的小程序
一个有女朋友的程序员
·
2025-02-21 19:38
小工具
selenium
java
责任链模式
29道
WebDriver
IO面试八股文(答案、分析和深入提问)整理
1.如何在
WebDriver
IO中截取屏幕截图?回答在
WebDriver
IO中截取屏幕截图非常简单。
守护海洋的猫
·
2025-02-19 15:05
virtualenv
面试
javascript
前端
职场和发展
Selenium自动化测试入门:浏览器多窗口切换
点击文末小卡片,免费获取软件测试全套资料,资料在手,涨薪更快有时web应用会打开多个浏览器窗口,当我们要定位新窗口中的元素时,我们需要将
webDriver
的handle(句柄)指定到新窗口。什么意思?
测试杂货铺
·
2025-02-18 18:40
selenium
测试工具
软件测试
自动化测试
python
职场和发展
测试用例
Selenium 对页面元素的操作动作及其语法
示例代码:fromseleniumimport
webdriver
driver=
webdriver
.Chrome()drive
静静在思考
·
2025-02-18 09:43
#
Selenium
selenium
测试工具
爬虫实践——selenium、bs4
打开网页并获取网页源码的方式1、基于requests库2、基于urlib库3、基于selenium三、HTML解析1、BeautifulSoup2、Selenium动态渲染爬虫:模拟动态操作网页,加载JS(
webdriver
lucky_chaichai
·
2025-02-18 03:09
Python爬虫
selenium
requests
爬虫
selenium
python
selenium驱动Edge报错解决办法
selenium驱动Edge报错解决办法selenium使用Edge运行时报错Message:‘Microsoft
WebDriver
.exe’executableneedstobeinPATH//Anhighlightedblockselenium.common.exceptions.
WebDriver
Exception
Dream D
·
2025-02-18 03:07
selenium
python
edge
python3 + selenium
webdriver
自动化测试启动不同浏览器
selenium
webdriver
自动化测试启动不同浏览器selenium
webdriver
介绍Selenium
WebDriver
进行自动化测试的一般流程浏览器驱动下载浏览器驱动的安装chrome、edge
cs_mengxi
·
2025-02-16 09:06
selenium
Web自动化
selenium
测试工具
Selenium
WebDriver
自动化测试(扩展篇)--Jenkins持续集成
文章目录一、引言二、Jenkins简介三、安装部署Jenkins安装部署四、集成Git与Maven安装必要的插件配置Git配置Maven五、创建Job创建自由风格的项目配置源码管理配置构建触发器配置构建环境配置构建步骤配置Post-buildActions六、触发构建示例:GitHubWebhook触发构建七、封装通用方法示例:使用Groovy脚本创建Job八、总结参考文献一、引言持续集成(Con
职说测试
·
2025-02-16 08:34
selenium
jenkins
ci/cd
UI自动化测试
web自动化测试
火狐浏览器
webdriver
配置
要使用Selenium和Firefox浏览器,你需要配置Firefox浏览器和GeckoDriver。以下是配置的步骤:下载Firefox浏览器:确保你已经下载并安装了最新版本的Firefox浏览器。你可以从Mozilla官方网站下载Firefox:https://www.mozilla.org/firefox/下载GeckoDriver:根据你的Firefox浏览器版本下载对应的GeckoDri
爱吃红薯拔丝的小鹿
·
2025-02-16 05:12
爬虫
webdriver
io入门
搭建一个
webdriver
io进行自动化测试步骤创建目录mkdri
webdriver
demo&&cd
webdriver
demo初始化npminit-y安装wdio/clinpmi--save-dev@wdio
·
2025-02-15 10:45
selenium保留网页登陆信息(保留用户数据)
找到谷歌浏览器存放缓存信息的目录打开谷歌浏览器访问chrome://version/找到这个路径,把结尾的default去掉#导入模块fromseleniumimport
webdriver
#添加保持登录的数据路径
叶不休
·
2025-02-15 02:40
selenium
chrome
测试工具
python
开发语言
Anaconda使用selenium时报错:
WebDriver
Exception:Message: ‘chromedriver‘ executable needs to be in PATH
背景Anaconda使用selenium时报错:
WebDriver
Exception:Message:‘chromedriver‘executableneedstobeinPATH解决方法下载与chrome
数据挖土机
·
2025-02-13 04:15
python
Error问题
python
selenium
chrome
scrapy爬虫使用undetected_chromedriver登录总是失败
undetected_chromedriver是一个Python库,它可以用来绕过网站对Selenium
WebDriver
的检测,但是它并不是Scrapy的一部分。
叨叨爱码字
·
2025-02-12 23:07
scrapy
爬虫
java自动化高频面试题
Selenium客户端(Java代码)首先启动驱动程序,调用驱动打开浏览器get访问网址/点击/输入…这些操作会通过指令发送给驱动,由驱动再次传给浏览器解释执行,通讯采用的是
WebDriver
协议浏览器将执行结果通知到客户端
m0_66323401
·
2025-02-12 07:19
面试
学习路线
阿里巴巴
java
自动化
开发语言
mac搭建ios自动化环境之
WebDriver
Agent配置
一、
WebDriver
Agent1、简单介绍:
WebDriver
Agent是facebook为苹果公司开发的一款自动化测试工具,github上有下载资源;另外appium安装后也会自动安装自带的
WebDriver
Agent
力先生
·
2025-02-12 04:50
appium
2022 亲测可行:Windows 实现 iOS 手机 USB 自动化测试:Mac 环境配置+
WebDriver
Agent 编译+Windows tidevice 环境配置
Mac环境配置参考文章:https://blog.csdn.net/IT_LanTian/article/details/123693831注意:一定要开代理,不然容易失败还特别慢1.安装brew终端运行(以下命令都是用系统自带终端或者iTerm运行),安装完成后重启终端中间需要输入几次电脑开机密码/bin/zsh-c"$(curl-fsSL>https://gitee.com/cunkai/Ho
一枚产品丸子
·
2025-02-12 04:50
手机自动化
macos
windows
ios
自动化
python
python selenium操作cookie
fromseleniumimport
webdriver
"""1.获取所有的cookie:forcookieindriver.get_cookies():print(cookie)2.根据cookie的key
LLLLLLLLLLLLIU
·
2025-02-11 11:23
Python
cookie
session
python
chrome
【selenium】使用 cookies
WebDriver
与cookie进行交互的方法。cookie通常用于网站识别用户的身份,保持登录状态或追踪用户浏览记录。
ABEE3
·
2025-02-11 11:47
Selenium
selenium
python
Selenium自动化
用于自动下拉刷新视频评论);③tqdm(可视化爬取进程)第一步:获取douyin账号的Cookies运行下面代码,登录进douyin,然后在程序中回车,完成Cookie的获取fromseleniumimport
webdriver
importjso
Jo乔戈里
·
2025-02-11 07:16
python
浏览器自动化插件Selenium IDE介绍与下载
✅跨浏览器支持:兼容Chrome、Firefox,支持基于
WebDriver
的执行。
码码哈哈爱分享
·
2025-02-10 14:01
资源
自动化
selenium
ide
Python selenium
webdriver
自动化截图
#首先将一下第一段代码粘贴到一个pythonfile中,将该python命名为jieTu.py。然后放到Python安装目录Lib下importtimefrompathlibimportPathimportdatetime#nowTime=datetime.datetime.now().strftime('%Y-%m-%d%H:%M:%S')current_time=datetime.dateti
喝多拎壶冲
·
2025-02-10 06:24
Python web —— Selenium 库
1.Firefox/Chromefromseleniumimport
webdriver
browser=
webdriver
.Firefox()#browser=
webdriver
.Chrome()#browser
五道口纳什
·
2025-02-10 06:19
web
【Python技术学习】- python selenium 库
安装Selenium和
WebDriver
安装Selenium要开始使用Selenium,首先需要安装selenium库,并下载适用于你浏览器的
WebDriver
。
xiaoli8748_软件开发
·
2025-02-10 06:15
python技术学习
python
学习
selenium
【web自动化】指定chromedriver以及chrome路径
selenium自动化,指定chromedriver,以及chrome路径===对应这篇文章,可以点击查看,详情===fromseleniumimport
webdriver
defget_driver()
唐古乌梁海
·
2025-02-08 22:21
测试
python
自动化
chrome
python测试selenium等待时间,并输出log,设置log级别
__author__='Jeff.xie'importloggingfromselenium.
webdriver
.supportimportexpected_conditionsasECfromseleniumimport
webdriver
fromselenium.
webdriver
.common.byimportByfromselenium.
webdriver
.support.uiimportW
qq_492448446
·
2025-02-08 09:17
python
开发语言
Python问某星自动抢讲座
fromseleniumimport
webdriver
fromtimeimp
烽洋
·
2025-02-08 07:00
selenium
chrome
python
自动化抖音登录并获取视频链接
提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档自动化抖音登录并获取视频链接前言一、环境准备安装Python:安装Selenium:下载
WebDriver
:二、使用步骤设置
WebDriver
赵永豪861
·
2025-02-07 04:03
自动化
python
beautifulsoup
爬虫
python调用浏览器插件_Python+selenium自动化测试之浏览器基础操作
下面主要说明使用python如何调用
webdriver
框架的A
ae1915d
·
2025-02-07 02:20
python调用浏览器插件
DrissionPage:Python自动化测试的高效工具
目录一、安装与初步了解二、
WebDriver
的基本使用三、浏览器操作四、元素定位与操作元素定位元素操作五、网络请求跟踪六、iFrame切换与动态内容处理七、异常处理与日志记录异常处理日志记录八、总结DrissionPage
傻啦嘿哟
·
2025-02-06 12:21
关于python那些事儿
python
开发语言
Selenium
WebDriver
自动化测试(框架篇):BDD之Cucumber框架项目实战
selenium工具的自动化测试用例,转化成BDD框架的cucumber自然语言脚本。1、Cucumber环境准备,不管是eclipse安装还是pom配置,都需要Cucumber相关组件:junitjunit4.12testorg.seleniumhq.seleniumselenium-java3.7.0info.cukescucumber-java1.2.5
职说测试
·
2025-02-06 07:49
java
selenium
BDD
cucumber
行为驱动
毕业设计 基于python的boss直聘数据可视化系统
可运行的完整项目,如有需要课私信联系爬虫部分importjsonimporttimefromseleniumimport
webdriver
fromselenium.
webdriver
.common.byimportByimportcsvimportpandasaspdimportosimportdjangofromselenium.
webdriver
.chrome.serviceimportSer
2301_79916833
·
2025-02-05 14:35
python
信息可视化
开发语言
使用Selenium
WebDriver
,Python和Chrome编写您的第一个Web测试
准备好
WebDriver
后,让我们编写第一个Web测试!测试将是一个简单的DuckDuckGo搜索。DuckDuckGo是一个不跟踪用户数据的搜索引擎。
软件测试test
·
2025-02-05 08:50
java
python
css
html
selenium
Selenium向下滑动
Python爬虫利用selenium滚动下滑#导入所需要包fromseleniumimport
webdriver
importtime#Chrome
webdriver
路径path='chromedriver.exe'browser
_苏歌
·
2025-02-04 17:05
vs
code
Python爬虫
selenium
python
chrome
Python selenium 模拟鼠标滑轮滚动
学习笔记~fromseleniumimport
webdriver
fromselenium.
webdriver
.commonimportkeysfromselenium.
webdriver
.common.byimportByimporttimefromselenium.
webdriver
importActionChainsfromselenium.
webdriver
.support.selectim
HappyBirthday 9527
·
2025-02-04 17:03
Python
python
selenium
开发语言
【selenium】下拉滚动条
selenium下拉滚动条的三种方法一、设置滚动条位置execute_script(“document.documentElement.scrollTop=位置”)fromseleniumimport
webdriver
importtimedriver
egegerhn
·
2025-02-04 17:02
前端
html
selenium
python
爬虫
selenium记录Spiderbuf例题C01
可得buttonxpath:click_xpath:str=r'//li/a[@title="mnist"]'
WebDriver
Wait(driver,10).until(expected_conditions.element_to_be_clickable
Daisy-Mo
·
2025-02-04 17:31
selenium
测试工具
selenium.common.exceptions.
WebDriver
Exception: Message: unknown error: net::ERR_CONNECTION_CLOSED
https://www.cnblogs.com/lfri/p/10542797.html参照这篇重装chromedriver根据chromeF12修改代码里的headers设置
芝麻团坚果
·
2025-02-04 11:41
chrome
爬虫
Selenium之免登录获取CSDN代码块内容(Java)
importorg.openqa.selenium.By;importorg.openqa.selenium.JavascriptExecutor;importorg.openqa.selenium.
WebDriver
fuqying
·
2025-02-04 09:58
selenium
java
推荐篇:一探Selenium Java自动化测试架构的奥秘
selenium-java-test-automation-architectureReady-to-useUITestAutomationArchitectureusingJavaandSelenium
WebDriver
俞予舒Fleming
·
2025-02-03 03:01
module ‘selenium.
webdriver
‘ has no attribute ‘PhantomJS‘
新版的selenium已经放弃PhantomJS,所以才会出现module‘selenium.
webdriver
’hasnoattribute‘PhantomJS’。
rkmhr_sef
·
2025-02-01 23:12
前端
html
selenium
python
测试工具
网络爬虫爬取动态网页数据
目录一、导学与指南豆瓣单页分析豆瓣多页输出二、理论学习1.抓取动态网页的技术2.Selenium和
WebDriver
的安装与配置3.Selenium的基本使用三、小结一、导学与指南豆瓣单页分析importjsonimportrequests
db_sqy_2012
·
2025-01-31 14:36
爬虫
Python中selenium的玩法,小朋友看了都说学会了
2.selenium的作用和工作原理利用浏览器原生的API,封装成一套更加面向对象的Selenium
WebDriver
API,直接操作浏览器页面里的元素,甚至操作浏览器本身(截屏,窗口大小,启动,关闭,
2401_87361571
·
2025-01-31 01:12
python
selenium
开发语言
Selenium自动化测试框架 入门与使用
目录1.Selenium简介2.使用Selenium2.1Java使用Selenium2.2Python使用Selenium2.3支持的浏览器及
WebDriver
3.ChromeDriver的安装3.1
Future_yzx
·
2025-01-30 06:09
selenium
测试工具
如何处理selenium
Webdriver
中的文本框?
文本框或字段在整个网页中广泛使用,本文将介绍如何在Java中使用Selenium
Webdriver
处理文本框。可以有各种文本字段,我们将尝试包括其中的大多数,并执行各种操作,如清除和输入文本。
知识的宝藏
·
2025-01-30 05:34
Selenium基础篇
selenium
前端
python
python 自动填表单 不用
webdriver
_用python-
webdriver
实现自动填表
webdriver
是python的selenium库中的一个自动化测试工具,它能完全模拟浏览器的操作,无需处理复杂的request、post,对爬虫初学者十分友好。
weixin_39747293
·
2025-01-29 22:12
python
自动填表单
不用webdriver
应对FingerprintJS反爬:Selenium的破解策略与技术详解
目录引言FingerprintJS技术概述技术原理应用场景应对策略高级解决方案代码实现与案例分析去除
webdriver
特征使用Undetected_chromedriver案例分析:爬取目标网站数据结论引言在现代互联网环境中
傻啦嘿哟
·
2025-01-29 13:55
selenium
测试工具
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他