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
python3+selenium实现qq邮箱登陆并发送邮件
#encoding=utf-8fromseleniumimport
webdriver
importtime#启动chrome浏览器driver=
webdriver
.Chrome()#进入qq邮箱登陆首页driver.get
小小小小人ksh
·
2020-08-15 06:35
selenium
python
自动化测试
python+selenium小结7:查找复选框并勾选复选框
/usr/bin/envpython#-*-coding:utf-8-*-fromseleniumimport
webdriver
importtimeoptions=
webdriver
.ChromeOptions
酷酷木女侠
·
2020-08-15 06:02
python+selenium
Selenium 3 之路
WebDriver
作为Selenium2最主要的新特性,目前已被收录为W3C标准API,全面支持Chrome、FireFox和Opera。
iteye_13202
·
2020-08-15 06:36
IOSDriver 启动不了
问题现象:driver启动不了了,
webdriver
agent也安装不上了问题原因:因为xcode对最新版本的手机不支持解决办法:升级xcode,但是xcode又依赖新系统的mac,于是又升级了mac,
hccgk
·
2020-08-15 06:43
selenium
selenium 获取值的方法
新建实例driver=
webdriver
.Chrome()1.获取当前页面的Url函数方法:current_url实例:driver.current_url2.获取元素坐标方法:location解释:首先查找到你要获取元素的
fqlike
·
2020-08-15 06:25
selenium
selenium+重点操作步骤
****重点1:脚本编写流程:4大步步骤1:创建浏览器对象步骤2:获取页面步骤3:操作页面步骤4:关闭页面步骤1:1)导入模块2)driver=
webdriver
.Firefox()---类似的操作情况步骤
ding773655686
·
2020-08-15 06:40
web自动化
selenium命令集合
#coding=utf-8fromseleniumimport
webdriver
**#引入Keys类包**driver=
webdriver
.Firefox()#调用火狐浏览器driver=
webdriver
.Chrome
chenmiao207
·
2020-08-15 06:46
随笔:python+selenium进行UI自动化窗口跳转实例
#coding=utf-8importunittestfromseleniumimport
webdriver
fromtimeimportsleepfromselenium.
webdriver
.common.action_chainsimportActionChainsclassTruelogin
caodingzheng
·
2020-08-15 06:09
随笔
随笔:python+selenium进行UI自动化循环删除一组元素
#coding=utf-8importunittestfromseleniumimport
webdriver
fromtimeimportsleepfromselenium.
webdriver
.common.action_chainsimportActionChainsclassDelete
caodingzheng
·
2020-08-15 06:09
随笔
随笔:当python的try捕捉不到异常时的一种用法
随笔:当python的try捕捉不到异常时的一种方法#coding=utf-8importunittestfromseleniumimport
webdriver
fromtimeimportsleepfromselenium.
webdriver
.common.action_chainsimportActionChainsclassSysmgt
caodingzheng
·
2020-08-15 06:09
随笔
软件测试
python
selenium
unittest
selenium之selenium的原理是什么?
driverclient:也就是我们写的代码client其实并不知道浏览器是怎么工作的,但是driver知道,在selenium启动以后,driver其实充当了服务器的角色,跟client和浏览器通信,client根据
webdriver
海-最强的男人
·
2020-08-15 06:37
selenium
selenium
利用selenium实现中国知网的注册(纪念自己的第一个Paco程序)
importtimefromseleniumimport
webdriver
browser=
webdriver
.Chrome()url='http://my.cnki.net/elibregister/commonRegister.aspx'browser.get
王副村长
·
2020-08-15 05:58
selenium.common.exceptions.
WebDriver
Exception: Message: "Can't load the profile.
使用selenium操作firefox出现以下问题:Traceback(mostrecentcalllast):File"zs.py",line6,inbrowser=
webdriver
.Firefox
Gloveing
·
2020-08-15 05:09
Python
对UI自动化测试的一些感悟
把每个特性都设计成一个独立的部分,然后组装成UI自动化框架:(appium/
webdriver
)底层操作封装特性PageObject特性测试用例管理特性测试执行引擎特性测试报告管理特性测试数据管理特性keyword
拖油瓶ZZH
·
2020-08-15 05:31
UI自动化
seleniumu 复选框操作(定位一组元素)
谷歌浏览器代码如下:publicstaticvoidmain(String[]args)throwsIOException,InterruptedException{System.setProperty("
webdriver
.chrome.driver
Mr_Lee521
·
2020-08-15 05:03
Selenium
selenium+chrome模拟知网注册
importloggingfromseleniumimport
webdriver
fromselenium.common.exceptionsimportTimeoutExceptionfromselenium.
webdriver
.common.byimportByfromselenium.
webdriver
.support.uiimport
WebDriver
Waitfromselenium.web
MJlife
·
2020-08-15 05:55
Python
【Selenium
WebDriver
自动化测试实例】清除文本框内容!
importorg.testng.annotations.BeforeClass;importorg.apache.http.util.Asserts;importorg.openqa.selenium.By;importorg.openqa.selenium.
WebDriver
牛牛Plus
·
2020-08-15 05:14
自动化测试实例
Selenium自动化之清除输入框的内容
#清除输入框的内容input.clear()importunittestimporttimefromseleniumimport
webdriver
classVisitSogouByIE(unittest.TestCase
DansonC
·
2020-08-15 05:38
python
自动化
谈谈自动化测试框架之PO设计模式
传统测试脚本的弊端测试脚本分离,维护成本高可扩展性差复用性低等PageObject设计模式PO的核心要素:1.在PO模式中抽象封装成一个BasePage类,该基类应该拥有一个只实现
webdriver
实例的
蜀山客e
·
2020-08-15 05:47
自动化软件
软件测试
Python3+selenium(九) 全选\删除
命题打开CSDN博客界面,全选思路打开CSDN界面对body体进行全选#encoding=utf-8#导入包fromseleniumimport
webdriver
fromselenium.
webdriver
.common.keysimportKeysimporttime
Cloudia8020
·
2020-08-15 05:43
selenium基础3-修改header、cookies等
webdriver
初始options
githubissue
WebDriver
lacksHTTPresponseheader
飞舞的羽毛
·
2020-08-15 05:20
python
selenium
selenium史上非常全非常全面的常用命令【持续更新】
webdriver
常用的类
Webdriver
类:元素定位、打开浏览器、元素获取,切换页面ActionChains类:鼠标操作、悬停、点击、双击、右击等select类:下拉框的处理switchTo类:用来做切换
kyle_p
·
2020-08-15 05:53
UI自动化测试
随笔:python+selenium进行UI自动化循环删除一组元素2
随笔:python+selenium进行UI自动化删除一组元素2跟第一篇有点区别,适用不同的场景#coding=utf-8importunittestfromseleniumimport
webdriver
fromtimeimportsleepfromselenium.
webdriver
.common.action_chainsimportActionChainsclassDeletetwo
caodingzheng
·
2020-08-15 04:14
随笔
随笔:python+selenium+unittest用qq邮箱上传文件并发送邮件
随笔:python+selenium+unittest用qq邮箱上传文件并发送邮件#coding=utf-8importunittestfromseleniumimport
webdriver
fromtimeimportsleepclassqqemail
caodingzheng
·
2020-08-15 04:14
随笔
webdriver
不自动播放 adobe flash player
webdriver
不自动播放adobeflashplayer自动化测试的时候遇到一个问题,chrome
webdriver
不自动播放adobeflashplayer.上网找了一下资料,是需要设置一下chrome
assless
·
2020-08-15 04:58
自动化相关
python
robot-framework
全网超级详细的selenium介绍!
安装1.Windows2.linux(ubuntu)二.常用方法详细1.创建实例2.打开某个地址3.定位元素(重点)3.1:公有八种匹配方法3.2:私有两个方法3.3:模糊匹配4.等待显式等待:(重要)
WebDriver
Wait
_ALONE_C
·
2020-08-15 04:32
解决selenium报错--unknown error: DevToolsActivePort file doesn't exist
的个人博客早上在linux下用selenium启动Chrome时出现问题:报错:Traceback(mostrecentcalllast):File"get2.py",line62,inbrowser=
webdriver
.Chrome
zhang0peter
·
2020-08-15 04:21
python
行走的问题解决机
Selenium之当鼠标悬浮时隐藏的元素才出现
这时候如果想要点击导航按钮直接用selenium的
webDriver
是无法定位的元素的,因为这些元素是隐藏的,只有鼠标悬浮时才出现,所以要记录一下,给大家一个参考Actionsaction=newActions
weixin_34248849
·
2020-08-15 04:43
对于鼠标放上去才显示的元素的定位方法
中存储的行为context_click():右击double_click():双击drag_and_drop():拖拽move_to_element():鼠标悬停例子:1、鼠标悬停:fromselenium.
webdriver
.common.action_chainsim
weixin_30906185
·
2020-08-15 03:16
前端自动化测试之UI RECORDER(二、PC录制)
PC录制教程准备工作:NodeJs环境请自行先安装好nodejs环境,在命令行执行node-v命令成功说明已经安装成功Chrome浏览器JAVA环境UIRecorder
WebDriver
Server安装
weixin_30751947
·
2020-08-15 03:40
selenium -
webdriver
- 截图方法
selenium-
webdriver
-截图方法get_screenshot_as_file()
WebDriver
提供了截图函数get_screenshot_as_file()来截取当前窗口。?
sophiaviayang
·
2020-08-15 03:08
自动化
macaca之uirecorder环境搭建windows
UIRecorder:npminstalluirecordermocha-g4、安装服务Seleniumstandaloneserver:npminstallselenium-standalone-g5、安装
webdriver
二毛毛毛毛毛
·
2020-08-15 03:03
网络爬虫day09
Day09Day08回顾selenium+phantomjs/chrome/firefox设置无界面模式(chromedriver|firefox)options=
webdriver
.ChromeOptions
qq_40849557
·
2020-08-15 03:54
web流程测试工具uirecorder
安装NodeJs(版本号>=v7.x)npminstalluirecordermocha-g新建测试文件夹uirecorderinit启动
WebDriver
服务器npmrunserver修改hosts文件
正在输入代码中
·
2020-08-15 02:16
web前端
UIRecorder环境搭建及录制实现
参考:https://github.com/alibaba/uirecorder/blob/master/doc/zh-cn/readme.mdUIRecorder是一款基于
WebDriver
、Chrome
baiji2176
·
2020-08-15 02:31
Macaca-Java版入门指南
一、认识MacacaMacaca是一套基于
WebDriver
标准协议开发的
weixin_34418883
·
2020-08-15 01:28
使用python爬取淘宝商品信息
使用python爬虫爬取淘宝商品信息使用的模块主要有selenium,time,re,fromseleniumimport
webdriver
importtimeimportcsvimportredefsearch_product
赵清河
·
2020-08-14 22:55
爬虫
iOS远程真机之
WebDriver
Agent 安装使用完全指南
iOS-remote是结合
WebDriver
Agent和ios-minicap开源项目做出来的基于JAVA的iOS远程真机控制的项目。
fswy
·
2020-08-14 22:39
#
iOS远程真机
Web
Driver
Agent
ios
远程真机
学习问题记录
1、pythonselenium调用Chrome,提示不安全的data和您使用的是不支持命令行标记我在网上查找了一段时间总算把和这一样的问题解决了options=
webdriver
.ChromeOptions
yutr12345
·
2020-08-14 22:35
selenium和
webdriver
自动化测试-helloworld
什么是seleniumselenium是一个用于Web应用程序测试的工具。Selenium测试直接运行在浏览器中,就像真正的用户在操作一样。支持的浏览器包括IE(7,8,9,10,11),MozillaFirefox,Safari,GoogleChrome,Opera等。selenium是一套完整的web应用程序测试系统,包含了测试的录制(seleniumIDE),编写及运行(SeleniumRe
yuhaibao324
·
2020-08-14 22:00
08-DEVOPS-TEST
Mac selenium环境安装
pom.xml中添加selenium依赖:org.seleniumhq.seleniumselenium-java3.4.0并写了一个Java的测试类.如下:importorg.openqa.selenium.
WebDriver
放羊的ta
·
2020-08-14 22:23
自动测试
爬虫初尝试 | 易车网文章url爬取
body/div[3]/div/div[1]/div[3]/div/div/h2/a(推荐使用Xpathhelper可以直接复制Xpath)#coding:utf8fromseleniumimport
webdriver
f
yangdelu855
·
2020-08-14 22:28
爬虫
nlp
Mac下使用selenium包时,"chromedriver' executable needs to be in PATH"
开发环境操作系统MacOS10.13.6Python3.7Chrome72.0chromedriver2.45使用selenium库下
webdriver
模块打开谷歌浏览器时报错,代码如下:fromseleniumimport
webdriver
ALazyPerson
·
2020-08-14 22:50
python
selenium 模块
webdriver
使用:Mac下 Firefox和Chrome浏览器驱动下载安装
Python:selenium模块
webdriver
使用报错:Nosuchfileordirectory:'geckodriver':'geckodriver'1.例子:获取网页句柄fromseleniumimport
webdriver
fromtimeimportsleepbrowser
星痕紫瞳
·
2020-08-14 22:26
工具安装设置
ios 安装
WebDriver
Agent笔记
在安装
WebDriver
Agent时遇到了不少坑,小小的记录下。最初参考的是这个地址来安装,很详细;1、
WebDriver
Agent教程在github上时有的在xcode打包之前一定记得要先执行.
石头257
·
2020-08-14 22:38
UI
自动化
iOS
WebDriver
Agent 环境搭建
WebDriver
Agent简介
WebDriver
Agent是Facebook在去年的SeleniumConf大会上推出了一款新的iOS移动测试框架。
xiangzhihong8
·
2020-08-14 22:37
ios
ios开发大揭秘
修改Nvidia
WebDriver
驱动程序,支持当前macOS版本
每个Nvidia
WebDriver
驱动,只支持唯一一个macOS版本,检查操作系统版本时精确到小版本号,也就是说,打一个系统补丁,就有可能使得驱动不能使用。
wudengyu
·
2020-08-14 22:37
Hackmac
selenium
Webdriver
操作chrome浏览器
ChromeDriver是Chromiumteam开发维护的,它是实现
WebDriver
有线协议的一个单独的服务。ChromeDriver通过chrome的自动代理框架控制浏览器,Ch
秋秋花
·
2020-08-14 22:28
selenium
webdriver
我简述一下我在上家公司是通过python做的自动化测试
接着我们用pycharm编写代码,在Python脚本中输入fromseleniumimport
webdriver
来调入这个库,然后输入importtime来调入这个库,在需要的时
Hou cw.
·
2020-08-14 21:36
Python爬虫 - Selenium(8)frame/iframe表单嵌套页面
在Web应用中经常会遇到frame/iframe表单嵌套页面的应用,
WebDriver
只能在一个页面上对元素识别与定位,对于frame/iframe表单内嵌页面上的元素无法直接定位。
程序猿杂记
·
2020-08-14 21:49
#
Selenium
selenium
python
iframe
上一页
94
95
96
97
98
99
100
101
下一页
按字母分类:
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
其他