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
element ui select 自动向上向下弹出_Python+Selenium WebUI自动化框架 -- 基础操作封装...
browseroperator.py浏览器操作
webdriver
operator.pyWEBd页操作分层设计:基础目
weixin_39819671
·
2023-02-26 08:36
element
ui
select
自动向上向下弹出
element
ui
treetable操作
python中框架封装打包
Selenium-新八大元素定位方法(BY)
8种元素定位方式(各举一例):fromseleniumimport
webdriver
fromsel
BetterFate!
·
2023-02-26 08:36
Selenium
selenium
python
python之web自动化<二>
ActionChains引用库:fromselenium.
webdriver
.common.ac
小木可菜鸟测试一枚
·
2023-02-26 08:27
python
python
webdriver
自动化
Selenium元素定位的30种方式(史上最全)
WebDriver
8种基本元素定位方式find_element_by_id()采用id属性进行定位。例如在百度页面中输入关键字Se
小菜菜-K
·
2023-02-26 08:56
selenium
测试工具
前端
自动化测试元素定位方式之link_text、partial_link_text超链接定位实例
tag_name四种定位有所不同,它专门用来定位超链接文本(标签)link_text定位实现步骤与id定位实现步骤相似点击‘聚划算’,实现跳转,link_text定位案例代码:fromseleniumimport
webdriver
importti
Rachelgo2019
·
2023-02-26 08:25
自动化之selenium
link_text
自动化测试
元素定位方式
封装selenium的常用方法(python)
本章内容为大家分享使用selenium时一些好用但官方未明确制定的接口方法功能列表:启动chrome时的参数对页面元素的增删改查灵活切换标签页importtimefromseleniumimport
webdriver
fromselenium.
webdriver
.common.byimportByfromselenium.
webdriver
.support.uiimport
WebDriver
Wait
GuanluC
·
2023-02-26 08:54
python
selenium
测试工具
python
爬虫
【Selenium学习】Selenium 八大定位法
搜索框的id属性值为“kw”,如图1.1所示:代码如下,“find_element_by_id”方法已废弃,使用find_element(By.ID,'kw')fromseleniumimport
webdriver
fromselenium.
webdriver
.c
小胖虎*
·
2023-02-26 08:23
selenium
python
selenium
Selenium---八大定位方法,三种等待方式
目录八种元素基本定位方法:三大等待方式:强制等待,隐式等待,显式等待强制等待:time.sleep()隐式等待:implicitly_wait()显式等待:
WebDriver
Wait()iframe窗口的切换八种元素基本定位方法
Ther653
·
2023-02-25 13:27
selenium
测试工具
win10定时执行python脚本实现自动订餐
WIN10设置定时任务脚本(chorme浏览器)importsysfromseleniumimport
webdriver
#实例化Chrome浏览器对象fromselenium.
webdriver
.common.byimportB
顾秋生
·
2023-02-25 07:52
Python
python
chrome
自动化
基于Selenium+Python的web自动化测试框架
Selenium主要包括三部分:SeleniumIDE、Selenium
WebDriver
和SeleniumGrid。SeleniumIDE:Fir
小码哥说测试
·
2023-02-25 07:51
软件测试
自动化测试
技术分享
python
selenium
前端
自动化测试
测试工程师
python + selenium 实现 华为商城自动抢购
准备python环境chromedriver.exechromedriver下载-技术交流站需要修改的地方修改成自己下载地址driver=
webdriver
.Chrome(executable_path
程序工厂
·
2023-02-25 07:51
工具及脚本
python
selenium
华为商城
python京东自动下单_京东自动下单脚本
1源码(python实现)#JDAutoBuyimportosfromseleniumimport
webdriver
importdatetimeimporttimefromosimportpath#将下面的路径替换为你电脑内
weixin_39867125
·
2023-02-25 07:51
python京东自动下单
软件测试肖sir__python之ui自动化封装和单元测试框架
将论坛的登录还有点击模块管理通过类来进行封装(给实参)2、将论坛的登录还有点击模块管理用例封装(给形参)且通过类的传递完成调用案例1:按函数顺序来写classDiscuz():defjiazai(self,url):globaldd=
webdriver
.Chrome
多测师软件测试培训师肖sir
·
2023-02-24 16:58
多测师
面试题
python
selenium自动化测试框架
1.2Selenium
WebDriver
:业界通用的测试框
鱼鱼说测试
·
2023-02-24 08:09
自动化测试
接口自动化测试
软件测试
python
pycharm
开发语言
自动化测试(一)调用
webdriver
打开浏览器
前提:安装并配置好了Python,selenium以及浏览器驱动#导包timeimporttime#导包
webdriver
fromseleniumimport
webdriver
#获取谷歌浏览器对象driver
从软测进阶测开的猫
·
2023-02-24 03:18
python
笔记
python
chrome
开发语言
使用appium模拟用户发送短信
python版本3.5.2appium版本1.4.16.1fromappiumimport
webdriver
desired_caps={'platformName':'Android','platformVersion
weixin_30527323
·
2023-02-23 16:19
python
移动开发
ui
python-selenium的使用方法以及应用
首先第一步,我们应该打开pycharm,导入
webdriver
和By使用的包。
戴佳伟是大帅逼
·
2023-02-23 08:03
软件测试
python
selenium
开发语言
干货|移动端App自动化之触屏操作自动化
具体用法参见链接:https://ceshiren.com/t/topic/...导入TouchActionfromappium.
webdriver
.common.touch_actionimportTouchAct
·
2023-02-22 16:14
软件测试
干货|app自动化测试之Appium 源码修改定制分析
Appium是由Node.js来实现的HTTP服务,它并不是一套全新的框架,而是将现有的优秀的框架进行了集成,在Selenium
WebDriver
协议(JsonWireProtocol/Restfulwebservice
·
2023-02-22 16:41
软件测试
干货|app自动化测试之Appium 源码分析
Appium是由Node.js来实现的HTTP服务,它并不是一套全新的框架,而是将现有的优秀的框架进行了集成,在Selenium
WebDriver
协议(JsonWireProtocol/Restfulwebservice
·
2023-02-22 16:41
软件测试
Selenium无法定位元素的解决方案合集
WebDriver
只能在一个页面上对元素识别与定位,对于frame/iframe表单内嵌的页面元素无法直接定位。解决方法:switch_to.frame()默认可以直接取表单的id或name属性。
DD丿
·
2023-02-19 17:55
selenium3 web自动化测试框架 :页面基础操作、元素定位方法封装、页面操作方法封装
学习目的:掌握自动化框架中需要的一些基础web操作正式步骤:使用title_contains检查页面是否正确#-*-coding:utf-8-*-importtimefromseleniumimport
webdriver
fromselenium.
webdriver
.supportimportexpected_conditionsasECdr
蜀山客e
·
2023-02-18 18:31
继承和多态
JavascriptExecutorjsDriver=(JavascriptExecutor)driver;强制类型转换实现接口,向上转型JavascriptExecutor这个接口类中,有执行js代码的方法实现,这句就是说向上转型,把
webdriver
jmyang1518
·
2023-02-18 16:44
2022-04-10 Java selenium
平台:IDEAPOI不用5.2.2,会出错,使用5.0.0导入web驱动:System.setProperty("
webdriver
.chrome.driver","C:\\Users\\111\\Desktop
玩大左Vincent
·
2023-02-18 09:12
浅谈Python与Selenium、
Webdriver
的关系
在说关系之前,先了解下各自的定义:Python,一种计算机编程语言;Selenium,一种主要用于Web应用程序的自动化测试工具包;
Webdriver
,一种能够调用浏览器的API(程序接口),并返回响应结果的工具
shudonglidepixiu
·
2023-02-18 05:39
Selenium
python
selenium
Python+selenium(一)
1、selenium介绍主要由
webdriver
、IDE、grid2、selenium环境配置(1)准备Python环境(2)准备selenium环境(3)下载浏览器对应driver版本CNPMBinariesMirror
aliez..
·
2023-02-18 05:38
自动化测试
测试框架
python
selenium
软件测试
2020-01-12Selenium+phantomjs无界面浏览器
了解Selenium和PhantomJS导入selenium包中的
webdriver
fromseleniumimport
webdriver
selenium是一个用于Web应用程序测试的工具。
智障猿
·
2023-02-18 04:36
selenium设置浏览器参数(分辨率/不加载图片和css/不提供可视化界面/不等待页面一直加载)
fromselenium.
webdriver
.common.desired_capabilitiesimportDesiredCapabilities#get直接返回,不再等待界面加载完成(避免网页一直加载出现超时
沫明
·
2023-02-17 17:52
Selenium+java+maven
目录Maven项目构建引入selenium框架基本元素定位:元素操作API
WebDriver
相关API三大等待特殊元素定位与操作Selenium家族selenium包括:SeleniumIDE、
webDriver
zipdd
·
2023-02-16 22:26
selenium
测试工具
Selenium自动化测试Python二:
WebDriver
基础
欢迎阅读
WebDriver
基础讲义。本篇讲义将会重点介绍Selenium
WebDriver
的环境搭建和基本使用方法。
程序员二黑.
·
2023-02-16 21:09
python
selenium
开发语言
软件测试
自动化测试
公共的-Common目录
image.pngbasepage.py"""所有框架公共的部分"""importloggingimportdatetimeimporttimefromselenium.
webdriver
.support.waitimport
WebDriver
Waitfromselenium.
webdriver
.supportimportexpected_conditionsasECfromCommonimpor
测试探索
·
2023-02-07 07:11
Python+selenium
异常1:driver=
webdriver
.chrome()TypeError:'module'objectisnotcallable异常截图:代码截图:原因:Chrome方法首字母大小写错误解决方案:将
坑货的自赎
·
2023-02-07 05:08
Python+selenium 支持浏览器页面不显示
拿chrome浏览器举例,正常我们是用
webdriver
.Chrome()调用浏览器后台运行只需要在调用前加上两行代码然后在调用浏览器的代码参数里引用我们设置的option就好了option=
webdriver
.ChromeOptions
也是如此
·
2023-02-07 01:14
Selenium
WebDriver
(一)
Selenium
Webdriver
(也就是Selenium2,Selenium3)和SeleniumRC(Selenium1)一样提供了web自动化的各种语言调用接口库。
自如_
·
2023-02-06 15:53
Selenium3+python3
启动浏览器fromseleniumimport
webdriver
dr=webdri
憨厚的老菜鸟
·
2023-02-06 13:31
selenium屏幕截图
WebDriver
内置了一些在测试中捕获屏幕并保存的方法:image.pngcodeimportosfromseleniumimport
webdriver
fromtimeimportsleep,strftime
柠檬橘子茶_
·
2023-02-06 12:32
十三 键盘按键操作
没什么好说的,代码简单直接看吧#1.创建
WebDriver
对象browser=
webdriver
.Chrome()#chrome浏览器#2.发起请求url='https://www.python.org
重庆阿登
·
2023-02-06 10:50
selenium 简单用法之刷游戏后台道具
fromseleniumimport
webdriver
importtimefromselenium.
webdriver
.support.uiimportSelectfromselenium.
webdriver
.common.keysimport
看不见上帝
·
2023-02-06 08:21
解决:selenium.common.exceptions.
WebDriver
Exception: Message: ‘chromedriver‘ execu
运行爬虫代码出现上面的bugbug详细信息如下D:\Anaconda3\file\envs\item\python.exeD:/pycharm/code/BadmintonCrawler.pyD:\pycharm\code\BadmintonCrawler.py:22:DeprecationWarning:executable_pathhasbeendeprecated,pleasepassina
tp_0moyi0
·
2023-02-06 07:28
爬虫
python
windows
chrome
selenium
一键更新码云Pages
实现思路使用python的
webdriver
自动化pages更新流程。使用shell脚本自动
rrblm
·
2023-02-05 23:00
已解决(selenium报错)AttributeError: ‘
WebDriver
‘ object has no attribute ‘execute_cdp_cmd‘
已解决(selenium报错)AttributeError:‘
WebDriver
‘objecthasnoattribute‘execute_cdp_cmd‘文章目录报错信息报错翻译报错原因解决方法帮忙解决报错信息粉丝群里面一个小伙伴运行
无 羡ღ
·
2023-02-05 23:07
《告别Bug》
selenium
python
chrome
自动化
测试工具
连续滑动操作--TouchAction
使用TochAction需要先导入对应的模块fromappium.
webdriver
.common.touch_actionimportTouchAction按压方法:press()开始按压一个元素或坐标点
柱柱007
·
2023-02-05 22:28
5.python + selenium 爬取京东动态加载数据
selenium-release.storage.googleapis.com/index.html2.使用示例(爬取京东手机数据)fromlxmlimportetreefromseleniumimport
webdriver
importtime
思绪太重_飘不动
·
2023-02-05 15:38
python爬取数据(selenium)-根据城市名city name获取经纬度(机器学习-Sklearn-11(支持向量机SVM-SVC真实数据案例:预测明天是否会下雨)中爬取数据模块内容)
importtimefromseleniumimport
webdriver
#导入需要的模块,其中爬虫使用的是seleniumimportpandasaspdimport
Henrik698
·
2023-02-05 11:54
python控制系统操作
python其他
python
selenium
数据挖掘
python+selenium滑动式验证码解决办法
一:fromselenium.
webdriver
importActionChainsaction=ActionChains(driver)source=driver.find_element_by_xpath
十分好
·
2023-02-05 06:31
跨平台iOS自动化测试工具——tidevice
前言一直以来,iOS自动化的实现&执行都依赖Mac系统,其主要原因是因为需要通过Xcodebuild编译&安装WDA(
WebDriver
Agent)到iOS设备中,通过WDA实现对被测应用进行操作。
i张无张
·
2023-02-05 05:39
python Selenium 常用知识点总结
fromselenium.
webdriver
.supportimportexpected_conditionsasECwait=
WebDriver
Wait(driver,10)elemen
fanchuang
·
2023-02-05 02:24
selenium笔记16:无界面浏览器
主要应用于爬虫或自动化测试fromseleniumimport
webdriver
options=
webdriver
.ChromeOptions()options.add_argument("--headless
_百草_
·
2023-02-04 22:40
webdriver
selenium获取浏览器network请求
获取浏览器network请求1.下载chromedriver,需要和chrome版本一致,解压到目录/Users/***/https://chromedriver.chromium.org/downloads2.代码如下publicstaticvoidmain(String[]args){LoggingPreferenceslogPrefs=newLoggingPreferences();logP
测试鼠小妹
·
2023-02-04 21:46
安装linux服务器实现自动化所需要的Google Chrome浏览器和
webdriver
linux(ubuntu)系统安装web自动化测试所需的GoogleChrome浏览器和
webdriver
前言一、安装GoogleChrome浏览器二、安装Chromedriver前言在使用Python
暴走的牛奶Lee
·
2023-02-04 17:34
#
自动化测试
#
linux
chrome
linux
服务器
上一页
47
48
49
50
51
52
53
54
下一页
按字母分类:
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
其他