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
详细解读appium怎样连接多台设备
2.获取需要操作app的包名和页面名称(前提该设备已经打开了app)3.设置初始配置信息fromappiumimport
webdriver
importthreading#设备一de
测试小贝
·
2024-02-03 05:34
appium
python
webdriver
测试框架数据驱动json文件驱动的方式
简介:数据驱动excel驱动方式,就是数据配置在excel里面,主程序调用的时候每次用从excel里取出的数据作为参数,进行操作,需要掌握的地方是对excel的操作,要灵活的找到目标数据测试数据.xlsx:路径-D:\test\0627ExcelUtil.py:#encoding=utf-8fromopenpyxlimportload_workbookclassParseExcel(object)
秦玖
·
2024-02-03 04:59
python
json
开发语言
淘宝购物车定时秒杀
需要的软件chromepython3.8chromedriver.exe安装selenium把chromedriver.exe放到chome启动程序的目录下fromseleniumimport
webdriver
importdatetimeimporttimefromosimportpathd
贪吃的猪-me
·
2024-02-03 03:15
python
python 爬虫
phantomJS,然后稍微配置了一下运行,发现
webdriver
已经放弃phantomJS了。在动态网页的解析上还是考we
Oppenheim
·
2024-02-03 03:43
Selenium自动化测试 —— 模拟鼠标键盘的操作事件
ActionChains类中鼠标操作常用方法:首先导入ActionChains类:fromselenium.
webdriver
.common.action_chainsimportActionChainscontext_click
.咖啡加剁椒.
·
2024-02-02 13:52
软件测试
selenium
计算机外设
测试工具
软件测试
自动化测试
功能测试
程序人生
macOS-appium2.x 安装全流程(ios/android--python)
(ios)前提三.appium安装四.配置
webdriver
agent(连接ios真机设备)五.连接iOS设备六.开启(ios)自动化脚本调试有关设备信息的常用命令如下:七.完整的启动应用代码(ios真机
may_一一
·
2024-02-02 08:59
macos
appium
ios
Selenium处理Alert弹窗
alert弹窗,Selenium提供如下方法:序号方法/属性描述1accept()接受2dismiss()取消3text获取显示的文本4send_keys()输入内容对应处理方式:alert(警告信息):
WebDriver
.switch_to.alert.accept
qq_492448446
·
2024-02-01 15:57
Web自动化
selenium
python+selenium+unittest实现自动登录
fromseleniumimport
webdriver
importunittestimporttimeclassHomePageLogin(unittest.TestCase):defsetUp(self
xiaoxiaozhang11
·
2024-02-01 11:07
selenium
xpath
unittest
Python+Selenium+Unittest 之selenium13--
WebDriver
操作方法3-鼠标操作2
这篇说下ActionChains里常用的几种鼠标操作的方法。ActionChains常用的鼠标操作方法click()鼠标左键单击double_click()鼠标左键双击context_click()鼠标右键单击move_to_element()鼠标移动到某个元素上(鼠标悬浮操作)click_and_hold()点击鼠标左键,不松开drag_and_drop()拖拽到某个元素然后松开drag_and
刘阿童木
·
2024-02-01 11:06
web自动化
python
selenium
Python+Selenium+Unittest 之selenium14--
WebDriver
操作方法4-键盘操作
在自动化中除了能模拟鼠标的操作外,也需要模拟键盘的操作,比如复制、粘贴、删除等等,这时候就可以用selenium的Keys库,可以看到截图中里的都是Keys的方法,下面说下常用的几个操作方法。常用的键盘操作方法键盘方法对应的键盘上的按键Keys.ENTER回车键Keys.TABTab键Keys.SHIFTShift键Keys.CONTROLCtrl键Keys.ALTAlt键Keys.SPACE空格
刘阿童木
·
2024-02-01 11:06
python
selenium
Python+Selenium+unittest demo
代码如下:#coding=utf-8importtimeimportunittestfromseleniumimport
webdriver
classBaiduSearch(unittest.TestCase
·
2024-02-01 11:35
Python
软件测试
python
自动化
实用Python定时点击Chrome网页按钮
#condacreate-npython39python=3.9#导入selenium和time库from
webdriver
_manager.chromeimportChromeDriverManager
eatcosmos
·
2024-02-01 10:18
开发环境
未分类
python
chrome
开发语言
爬虫学习笔记-handless的使用
1.封装handless函数#定义函数defshare_browser():#导包fromseleniumimport
webdriver
fromselenium.
webdriver
.chrome.optionsimportOptionschrome_options
DevCodeMemo
·
2024-01-31 10:13
爬虫
学习
笔记
Python爬虫学习之selenium库
selenium库的基本使用二、selenium元素定位三、selenium元素信息四、selenium交互一、selenium库的基本使用#(1)导入seleniumfromseleniumimport
webdriver
蜀道之南718
·
2024-01-31 10:42
python
爬虫
学习
爬虫学习笔记-selenium交互
1.导包fromseleniumimport
webdriver
importtimefromselenium.
webdriver
.common.byimportBy2.打开浏览器访问百度页面,睡眠2秒url
DevCodeMemo
·
2024-01-31 10:10
python
开发语言
如何隐藏Selenium特征实现自动化网页采集
以下是三种常见的隐藏Selenium特征的方法:1、修改navigator.
webdriver
标志:navigato
咖啡加 剁椒
·
2024-01-31 06:11
软件测试
selenium
自动化
测试工具
软件测试
功能测试
自动化测试
程序人生
Python自动化
目录一.自动化环境的搭建二.使用selenium三.元素定位四.元素等待五.操控元素六.Selenium
WebDriver
的属性七.Selenium屏幕截图八.Selenium定位frame和iframe
小帅没烦恼~
·
2024-01-30 17:44
python
python
[python+selenium]自动下载与当前浏览器驱动版本匹配的
webdriver
python使用selenium自动化操作浏览器,隔一段时间Chrome自动升级,或者换一台电脑,相同的脚本又不能运行了。出现错误如下错误:“selenium.common.exceptions.SessionNotCreatedException:Message:sessionnotcreated:ThisversionofChromeDriveronlysupportsChromeversio
qq_492448446
·
2024-01-30 14:48
Python
自动化测试
python
selenium
开发语言
用python脚本完成chromedriver的版本自动升级
很多时候chrome浏览器会自动升级,chromedriver的版本号与chrome浏览器版本不匹配时在运行程序时就会报错用下面的脚本可以自动安装chromedriver的最新版本到指定路径from
webdriver
_manager.utilsimportget_browser_version_from_osfrom
webdriver
_manager.chromeimportChromeDrive
chengsj5
·
2024-01-30 14:17
Python
自动化测试
python
python脚本实现浏览器驱动chromedriver的版本自动升级
chromedriver的版本号与chrome浏览器版本不匹配时在运行程序时就会报错用下面的脚本可以自动安装chromedriver的最新版本到指定路径from
webdriver
_manager.utilsimportget_browser_version_from_osfrom
webdriver
_manager.chromeimportChromeDriverManagerimportreque
qq_492448446
·
2024-01-30 14:16
自动化测试
Python
python
开发语言
如何隐藏Selenium特征实现自动化网页采集
以下是三种常见的隐藏Selenium特征的方法:1、修改navigator.
webdriver
标志:navigato
.咖啡加剁椒.
·
2024-01-30 09:13
软件测试
selenium
自动化
测试工具
软件测试
自动化测试
功能测试
程序人生
web自动化测试 -- katalon recorder
一、介绍katalonrecorder是近年来比较流行的自动化测试工具,在chrome和firefox浏览器中都可以进行添加,支持录制伙房脚本,转化成
webDriver
脚本或者Python的脚本,上手简单
什么鬼昵称
·
2024-01-30 05:12
python
测试工具
python
selenium强制等待,隐式等待和显式等待
三,显示等待(1)
WebDriver
Wait():显示等待
半腼色
·
2024-01-30 00:08
使用
WebDriver
采样器将JMeter与Selenium集成
第一步:在JMeter中添加Selenium/
WebDriver
插件第二步:创建一条测试计划–添加线程组添加配置元素-jp@gc-
WebDriver
Sampler添加配置元素-jp@gc-ChromeDriverConfig
咖啡 加剁椒
·
2024-01-29 10:47
软件测试
jmeter
selenium
测试工具
软件测试
自动化测试
功能测试
程序人生
一个完整Python实战项目:selenium识别验证码实现自动登录,自动操作浏览器获取某东数据
目标:某东话不多说直接开始准备工作环境Python3.10Pycharm模块使用importrandomimporttimefromseleniumimport
webdriver
importpyautoguiimportbase64importddddocrimportcsvwin
嗨学编程
·
2024-01-29 06:41
Python
python
selenium
开发语言
解决:selenium.common.exceptions.
WebDriver
Exception:Message:Can not connect to the Service chromedriver
解决:selenium.common.exceptions.
WebDriver
Exception:Message:CannotconnecttotheServicechromedriver文章目录解决:
ninghes
·
2024-01-29 03:02
#
Python
Bug
selenium
测试工具
python
自动化
Selenium链式定位
fromseleniumimport
webdriver
importssl#加载SSL模块defhandle(tagId):#创建一个对每个页面重新定位的函数driver.switch_to.window
single仔
·
2024-01-28 19:20
python查询excel中的数据
#时间:2022-08-02#程序:python自动化:读取Excel的题目并查询importopenpyxlimporttimefromseleniumimport
webdriver
if__name_
kaiyu0426
·
2024-01-28 19:07
python
chrome
开发语言
java selenium自动化测试工具学会可写网页脚本
*;importorg.openqa.selenium.By;importorg.openqa.selenium.
WebDriver
;importorg.openqa.selenium.WebElement
ikun,ikun
·
2024-01-28 18:10
测试工具
java
selenium
selenium采集后Win平台下结束chrome进程的方法
fromseleniumimport
webdriver
fromselenium.common.exceptionsimportTimeoutException,
WebDriver
Exceptionfromselenium.
webdriver
.common.byimportByfromselenium.
webdriver
.common.keysimportKeysfromselenium.webdr
walk walk
·
2024-01-28 15:18
python
selenium
chrome
爬虫
Python实现网页端抢票脚本
使用python的selenium,搭配谷歌浏览器版本对应的
webdriver
.exe注意:版本很关键,本人调试版本花了一定的时间,该代码仅供学习参考fromseleniumimport
webdriver
水阳。
·
2024-01-28 08:22
python
python
爬虫
零售
正则表达式
python+selenium 定位到元素,无法点击的解决方法
一起跟随小编过来看看吧selenium.common.exceptions.
WebDriver
Exception:Message:Elementisnotclickableatpoint(234.75,22
咖啡加剁椒
·
2024-01-27 21:34
自动化测试
软件测试
软件测试工程师
python
selenium
开发语言
软件测试
自动化测试
功能测试
程序人生
Python之selenium自动化开发click()点击无效原因
出现问题的代码片段如下:wait=
WebDriver
Wait
码者——沉默者也
·
2024-01-27 21:33
python
selenium
自动化
Selenium环境运行错误
在配置好基本的环境中下,输入以下代码进行验证:fromseleniumimport
webdriver
driver=
webdriver
.Firefox()运行之后出现以下的错误,从最后一行可知,缺少Firefox
糖candy
·
2024-01-27 20:20
selenium
The chromedriver version cannot be discovered
selenium动态抓取的时候需要安装chromedriver驱动,结果安装好了之后,代码运行出错,检查代码没有错,Chrome下载版本也是对应的,importtimefromseleniumimport
webdriver
web
临翎
·
2024-01-27 20:20
python
开发语言
阿里最强 Python 自动化工具开源了!
最近,阿里内部开源了一个iOS端由Python编写的自动化工具,即:tidevice它是一款跨平台的自动化开源工具,不依赖Xcode就可以启动
WebDriver
Agent(WDA),这也就意味着Windows
AirPython
·
2024-01-27 16:44
APPium简介及安装
APPium使用
WebDriver
协议驱动iOS、Android等应用程序。
.咖啡加剁椒.
·
2024-01-27 13:17
软件测试
appium
软件测试
自动化测试
功能测试
程序人生
职场和发展
java+chromeDriver实现微博爬虫
org.seleniumhq.seleniumselenium-java3.4.0然后下载chromeDriver(本人是在Linux下运行测试的)直接上代码:importorg.openqa.selenium.By;importorg.openqa.selenium.
WebDriver
小陈阿飞
·
2024-01-27 04:28
03_selenium
1、selenium的基本使用#(1)导入seleniumfromseleniumimport
webdriver
path='chromedriver.exe'browser=
webdriver
.Chrome
葡萄爱写代码(备战秋招版)
·
2024-01-27 04:12
python爬虫笔记
selenium
python
2018-10-17
webdriver
环境搭建
(1)环境搭建1、安装Python2、安装seleniumpipinstallselenium--安装seleniumpipinstallselenium==2.48.0(安装最新版的selenium2.48.0)或pip3installselenium==2.48.0#pip是python自带的组件,此条命令直接在命令台打开即可pipshowselenium--查看已安装的包的版本信息3、安装:
初见_0308
·
2024-01-27 02:39
Selenium中的
WebDriver
Wait
1.利用help函数得到
WebDriver
Wait中的方法。
abrila
·
2024-01-26 20:46
软件测试学习笔记丨Selenium常见控件定位方法(八大定位方式)
Selenium常见控件定位方法通过name属性值定位fromseleniumimport
webdriver
importtimefromselenium.
webdriver
.common.byimportBy
软件测试大空翼
·
2024-01-26 18:43
学习
笔记
selenium
自动化测试
软件测试
淘宝爬虫爬取商品详情和销量
/usr/bin/python#-*-coding:utf-8-*-importrequestsfrombs4importBeautifulSoupfromseleniumimport
webdriver
importrefrommodule.Taoba
探索者_逗你玩儿
·
2024-01-26 16:55
Selenium教程11:模拟账号密码,自动登入qq空间
Selenium自动化教程02:浏览器options配置及常用的操作方法Selenium自动化教程03:延时等待的3种方式Selenium自动化教程04:鼠标+键盘网页的模拟操作Selenium教程05:使用
webdriver
-manager
我的Python教程
·
2024-01-26 14:10
#
Selenium网页自动化
我的Python教程
selenium
Python教程
python
自动答题脚本,自动答题驾考试题
fromseleniumimport
webdriver
importrequestsimportparseldefget_all_answer(answer_url):html_data=requests.get
努力学习各种软件
·
2024-01-26 11:45
selenium
python
selenium一些常用设置
chromefromseleniumimport
webdriver
importos#进入浏览器设置options=
webdriver
.ChromeOptions()#谷歌无头模式options.add_argument
shifuren
·
2024-01-26 00:25
其他
selenium
Python+Selenium+
WebDriver
API元素定位
元素定位
webdriver
提供了八中元素定位的方法,在Python语言中,对应的方法如下:1.id定位find_element_by_id()方法通过id属性定位元素2.name定位find_element_by_name
gz_tester
·
2024-01-25 18:30
2018-10-17
webdriver
API
(1)浏览器操作:最大化设置宽、高前进、后退fromseleniumimport
webdriver
importtime#调用python中time模块aa=
webdriver
.Firefox()#将模块赋值给实例
初见_0308
·
2024-01-25 15:23
从网页下载文件显示文件损害计算机的解决方案
现象:解决方案:到谷歌浏览器的【下载内容】页面选择文件是否保留fromseleniumimport
webdriver
importtimeimportwin32conimportwin32apibr.get
忘心虚无
·
2024-01-25 15:18
报错:Provisioning profile "iOS Team Provisioning Profile: doesn't match the entitlements file's
问题:Provisioningprofile"iOSTeamProvisioningProfile:com.jiejing.
WebDriver
AgentRunner"doesn'tmatchtheentitlementsfile'svaluefortheget-task-allowentitlement
橙子园
·
2024-01-25 02:48
自动化测试
#
appium
appium
doesn't
match
the
entitlements
上一页
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
其他