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 + java 实现Android app自动化测试
它使用
WebDriver
协议驱动iOS,Android和Windows应用程序;UiAutomator测试框架是AndroidSDK自带的AppUI自动化测试Java库;appium在Android端基于
vachex
·
2024-01-20 01:51
UI自动化Selenium 无头模式运行
1、导入浏览器参数设置fromselenium.
webdriver
.chrome.optionsimportOptions2、创建参数,并使用无厘头模式创建driver对象opt=Options()#新建参数对象
北极之熊熊
·
2024-01-19 12:26
selenium
自动化
selenium
python
使用python爬取某专科学校官方信息
importcsvimportosimportreimporttimefromurllib.parseimporturljoinfrombs4importBeautifulSoupasbsfromseleniumimport
webdriver
fromselenium.
webdriver
.chrome.optionsimportOptionsfromselenium.
webdriver
.chrome
翱翔-蓝天
·
2024-01-19 01:07
python
python
开发语言
黑苹果注意事项
1.CPUIntel的就行,AMD的不是不可以,但是不稳定不推荐2.显卡嗯嗯,推荐A卡,6系列以后的N卡虽然可以
webdriver
驱动,但是卡顿,掉帧偶有发生很是不爽,现在的主流A卡大部分免驱,舒服3.
孤独带不走的风车
·
2024-01-18 16:22
Appium —— 初识移动APP自动化测试框架Appium
自动遍历回归测试、自动化测试平台及持续集成,多个维度一起由浅入深的学废Appium今天我们先来初步认识Appium,以及移动APP的UI自动化应该怎么设计更合理1、Appium设计理念Appium是开源的、由
Webdriver
Agent
MAYUHAO1011
·
2024-01-18 16:26
接口测试
自动化测试
appium
selenium
测试工具
python
压力测试
自动化测试
测试工程师
appium之联动pycharm
android-sdk安装好(uiautomatorviewer也可以把这个启动起来)3.appium安装好4.adbdevices查看下设备是否连接pycharm入门代码--固定写法fromappiumimport
webdriver
MaoLingHao
·
2024-01-18 15:16
appium
python学习-自动化测试Selenium
自动化测试SeleniumSelenium简介第一个Selenium应用SeleniumPythonAPISelenium
WebDriver
Selenium初始化浏览器Selenium导航到URLSelenium
weixin_51551879
·
2024-01-18 14:02
python
appium+python find_element定位元素的方法
1.继承
webdriver
的几个常见的定位方法a.find_element_by_id("id")b.find_element_by_name()#text值,appium1.14.0+python3.7
蜀山客e
·
2024-01-18 13:39
selenium clear()无效的解决办法
清空内容我们一般会用clear()方法importtimefromseleniumimport
webdriver
driver=
webdriver
.Chrome()driver.get('https://
joker_zsl
·
2024-01-18 11:45
自动化测试
selenium
测试工具
selenium爬虫爬取当当网书籍信息 | 最新!
#导入所需的库fromseleniumimport
webdriver
fromselenium.
webdriver
.common.byimportByfromselenium.
webdriver
.supp
yuwenduo123
·
2024-01-18 08:57
selenium
爬虫
测试工具
pycharm
python
开发语言
问题:Xcode秒级build success 但未能在手机上安装
webdriver
agent解决
今天运行Xcode上的WDA,遇到的问题:Xcode秒级buildsuccess但未能在手机上安装
webdriver
agent经检查,是Xcode缓存问题引起的。
水漾涟漪penny
·
2024-01-18 01:20
selenium常用API
1.八大元素定位方式driver.find_element_by_id(‘text’)通过id去定位控件【在web端ID一般是唯一的】#0fromseleniumimport
webdriver
#导入selenium
Orlando_奥尔兰多
·
2024-01-17 16:18
selenium
python
测试工具
webdriver
设置环境变量_怎么将chromedriver.exe位置到path环境变量实现
展开全部在gem安装完watir-
webdriver
后,默认情况下chrome浏览器的支持是没有安32313133353236313431303231363533e58685e5aeb931333365646234
weixin_39588432
·
2024-01-17 11:20
webdriver设置环境变量
IOS元素定位对应关系
resource-id也称为id,resource-id是唯一的#元素定位agree_continue_id="com.baidu.searchbox:id/positive_button"
WebDriver
Wait
qq_492448446
·
2024-01-17 10:26
Appium自动化
ios
python+selenium绕过验证码,通过cookie登录京东
importjsonfromtimeimportsleepfromseleniumimport
webdriver
browser=
webdriver
.Firefox()browser.maximize_window
qyykaola
·
2024-01-17 04:10
Python
selenium入门学习笔记
1元素定位及浏览器基本操作1.1游览器启动1.1.1普通方式启动fromseleniumimport
webdriver
#Chrome游览器driver=
webdriver
.Chrome()#Firefox
程序员?农民工!
·
2024-01-17 02:04
Python
selenium
学习selenium+python使用 XPath 表达式来实现找到目标元素时智能封装等待,执行测试代码启动Chrome浏览器后,地址栏只显示data;
背景学习使用XPath表达式来实现找到目标元素时智能封装等待执行测试代码启动Chrome浏览器后,地址栏只显示data;代码如下importunittestfromseleniumimport
webdriver
fromselenium.common.exceptionsimportNoSuchElementExceptionfromselenium.
webdriver
.support.waitim
seabirdssss
·
2024-01-17 02:04
测试
python
学习
selenium
selenium 捕获网络请求
importjsonfromseleniumimport
webdriver
fromselenium.
webdriver
.chrome.o
银空飞羽
·
2024-01-16 22:11
selenium
测试工具
python
自动化
一篇关于UI自动化的持续总结
selenium中有几个概念,刚刚了解,记录下:selenium-
webdriver
selenium-
webdriver
和
webdriver
是两个东西。
得活到老学到老
·
2024-01-16 22:32
2022-04-01
在PO模式中抽离封装集成一个BasePage类,该基类应该拥有一个只实现
webdriver
实例的属性每一个page都继承BasePage,通过driver来管理本page中元素,将page中的操作封装成一个个方法
Zhangkaix_
·
2024-01-16 19:10
python爬虫的常用库
4.GeckoDriver使用W3C
WebDriver
兼容客户端与基于Gecko的浏览器进行交互
大数据苦行僧—yisurvey123
·
2024-01-16 15:36
python
数据分析
数据挖掘
线性代数
爬虫
干货|app自动化测试之Appium 源码分析
Appium是由Node.js来实现的HTTP服务,它并不是一套全新的框架,而是将现有的优秀的框架进行了集成,在Selenium
WebDriver
协议(JsonWireProtocol/Restfulwebservice
橙子_菇凉
·
2024-01-16 12:00
基于Python的51job(前程无忧)招聘网站数据采集,通过selenium绕过网站反爬,可以采集全国各地数十万条招聘信息
然后,定义了一个名为login的函数,该函数接受一个
WebDriver
对象和一个关键词作为参数。在login函数中,使用
WebDriver
叫我:松哥
·
2024-01-16 12:27
python
selenium
爬虫
《手把手教你》系列技巧篇(九)-java+ selenium自动化测试-元素定位大法之By name(详细教程)
本文来介绍
Webdriver
中元素定位方法之Byname,顾名思义,就是我们想要定位的目标元素节点上,有一个name="value"的属性,这样我们就可以通过name的value直接去找到这个元素。
北京-宏哥
·
2024-01-16 11:09
java
selenium
开发语言
自动化
测试工具
windows
PO模型
一、po模型介绍优点:重用,业务和对象分离,代码结构清晰,方便代码维护二、核心要素1、在PO模式中抽离封装集成一个BasePage类,该基类应该拥有一个只实现
webdriver
实例的属性2、每一个page
384bdb547ea6
·
2024-01-16 03:47
自动上传淘宝达人视频
如果存在有的标签点击事件有时候可行,有时候不行,那就try:except:反复尝试,就可以了#coding:utf-8importrequestsimportreimportjsonfromseleniumimport
webdriver
importsslfromlxmlimportetreeimporttimefromselenium.
webdriver
.common.keysimportKeys
sexy_cyber
·
2024-01-15 09:45
阿里云ESC-CentOS7 安装Chrome+
Webdriver
+Selenium
1.创建yum源vim/etc/yum.repos.d/google-chrome.repo#添加如下内容:[google-chrome]name=google-chromebaseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearchenabled=1gpgcheck=1gpgkey=https://dl-ssl.google.com
Spade_
·
2024-01-14 17:13
Python
selenium
linux
chrome
centos
python
python selenium 截图
fromseleniumimport
webdriver
importtimeimportos#图片时间戳strftime()获取当前截图image_time=time.strftime("%Y-%m-%d
李盼_168d
·
2024-01-14 16:26
Appium 自动化测试
,android应用(当然了,还有firefoxos);4,appium是跨平台的,可以用在osx,windows以及linux桌面系统上;2.Appium基本原理在Android端,appium基于
WebDriver
鱼鱼说测试
·
2024-01-14 15:22
软件测试
自动化测试
appium
基于Selenium+Python的web自动化测试框架
Selenium主要包括三部分:SeleniumIDE、Selenium
WebDriver
和SeleniumGrid。
鱼鱼说测试
·
2024-01-14 15:21
软件测试
接口自动化测试
selenium
python
前端
自动更新谷歌
webdriver
的脚本
自动更新谷歌
webdriver
的脚本importosimportreimportwinregimportzipfileimportrequestsbase_url='http://npm.taobao.org
不爱打代码的程序员
·
2024-01-14 07:25
chrome
python
前端
软件测试|Python Selenium 库安装使用指南
安装Selenium库使用以下命令可以通过pip安装Selenium库:pipinstallselenium安装
WebDriver
安装selenium之后,我们暂时还不能直接使用脚本去操作浏览器,还需要我们下
软件测试曦曦
·
2024-01-14 01:13
软件测试
python
selenium
开发语言
软件测试
功能测试
自动化测试
程序人生
No Python at ‘C:\Users****************\Python38\python.exe’ 报错解决方案
记录python3.8卸载重装3.9后环境配置问题由于昨天需要用到
webdriver
去做web自动化,然而pycharm说因为python版本太低不支持下载,博主深思熟虑一番后决定升级python版本,
hey温馨
·
2024-01-14 00:26
python
pycharm
开发语言
使用 GPT4V+AI Agent 做自动 UI 测试的探索
一、背景从Web诞生之日起,UI自动化就成了测试的难点,到现在近30年,一直没有有效的手段解决WebUI测试的问题,尽管发展了很多的
webdriver
驱动,图片diff驱动的工具,但是这些工具的投入产出比一直被质疑
爱学习的执念
·
2024-01-13 23:54
技术分享
软件测试
人工智能
ui
selenium模拟浏览器查询导出参考文献
浏览器及
WebDriver
下载https://googlechromelabs.github.io/chrome-for-testing/#stable放到/usr/local/bin(ma
陈增林
·
2024-01-13 13:09
selenium
测试工具
common层-获取driver的方法
fromseleniumimport
webdriver
classDriver:defopen(self,url):self.driver=
webdriver
.Firefox()self.driver.implicitly_wait
Amir_zy
·
2024-01-13 09:00
selenium
测试工具
Selenium+Remote
WebDriver
+python脚本访问示例
一、环境要求:1、selenium-server安装,下载地址:ReleaseSelenium4.16·SeleniumHQ/selenium·GitHub2、python3及pycharm二、启动selenium-server下载selenium-server之后,解压到D:\selenium-server目录,然后启动服务:命令如下java-jarselenium-server-4.16.ja
grady.lu
·
2024-01-13 09:28
python
selenium
开发语言
webdriver
selenium不自动关闭chrome,selenium hello world
fromseleniumimport
webdriver
options=
webdriver
.ChromeOptions()options.add_experimental_option("detach",
aiXpert
·
2024-01-13 09:26
selenium
chrome
测试工具
Python 网络数据采集(四):Selenium 自动化
Python网络数据采集(四):Selenium自动化前言一、背景知识Selenium4Selenium
WebDriver
二、Selenium
WebDriver
的安装与配置2.1下载Chrome浏览器的驱动程序
半点闲
·
2024-01-13 09:25
Python
python
selenium
自动化
XPath
SOHU
selenium-鼠标、等待
1、鼠标操作常见鼠标操作包含在selenium.
webdriver
.common.action_chains的ActionChains类中,常用的方法:context_click()右击double_click
Amir_zy
·
2024-01-13 09:23
selenium
测试工具
基于selenium的pyse自动化测试框架
介绍:pyse基于selenium(
webdriver
)进行了简单的二次封装,比selenium所提供的方法操作更简洁。
心软小念
·
2024-01-13 09:20
软件测试
技术分享
selenium
测试工具
Python 爬虫:requests 和 selenium 伪装 headers 和代理应对反爬机制
目录[1、requests伪装headers发送请求][2、selenium模拟使用浏览器伪装headers][3、requests使用ip代理发送请求][4、selenium
webdriver
使用代理
程序员王饱饱
·
2024-01-13 08:20
Python编程
python入门
Python爬虫
python
爬虫
selenium
python入门
python教程
self:
WebDriver
, by: str = By.lD, value: Optional[str] = None这是什么意思
1.概念名称:self:
WebDriver
,by:str=By.lD,value:Optional[str]=None2.概念定义:这段代码是Python中Selenium
WebDriver
API的一部分
小助手python
·
2024-01-13 05:46
python
开发语言
selenium
webdriver
Web自动化测试:POM设计模式的实现
一、driver层的封装这一层主要是对于
webdriver
方法的封装,这里来举一个栗子,最常用的
测试-八戒
·
2024-01-13 04:51
前端
设计模式
python
selenium脚本编写及八大元素定位方法
selenium脚本编写上篇文章介绍了selenium环境搭建,搭建好之后就可以开始写代码了基础脚本,打开一个网址fromseleniumimport
webdriver
driver=
webdriver
.Chrome
软件测试媛
·
2024-01-13 04:49
软件测试
自动化测试
selenium
测试工具
基于Selenium+Python的web自动化测试框架
Selenium主要包括三部分:SeleniumIDE、Selenium
WebDriver
和SeleniumGrid。
测试界媛姐
·
2024-01-12 23:41
自动化测试
软件测试
技术分享
selenium
python
测试工具
软件测试/测试开发/全日制/测试管理丨Appium Server
AppiumServer是Appium框架的核心组件,提供了一个灵活、可扩展的服务器,用于执行自动化测试,并通过
WebDriver
协议与移动应用进行交互。它使得移动应用的自动化测试变得更加方便、
测试开发软件测试性能测试自动化测试
·
2024-01-12 19:45
appium
软件测试
自动化测试
测试开发
chromedriver不在路径的解决办法
fromseleniumimport
webdriver
driver=
webdriver
.Chrome()#错误信息
WebDriver
Exception:Message:'chromedriver'executableneedstobeinPATH.Pleaseseehttps
刘凯KAI
·
2024-01-12 15:09
DEBUG
【软件测试实验报告作业】集信达,web自动化软件测试
根据题目要求使用python编程完成如下Web自动化软件测试项目环境指建搭建开发环境,pycharm启动,下载selenium-3.141.0版本插件,下载并配置
webdriver
(chrome版本)网站自动化功能测试
weixin_42665577
·
2024-01-12 07:08
selenium
postman
jmeter
python
开发语言
自动化
selenium
测试工具
jmeter
功能测试
selenium学习:pycharm报错“Message: ‘chromedriver‘ executable needs to be in PATH.
selenium.common.exceptions.
WebDriver
Exception:Message:'chromedriver'executableneedstobeinPATH.Ple
韩薇薇
·
2024-01-12 02:19
selenium
chrome
python
上一页
3
4
5
6
7
8
9
10
下一页
按字母分类:
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
其他