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
破解滑动验证码(selenium, opencv)
selenium安装过程自己上网找,很简单,还需要安装一个
webdriver
classWangYi(object)
WesleyWang97
·
2020-08-05 17:36
计算机视觉
python易盾滑动验证码
上selenium比较好上手的一种验证码,cv2模板匹配方法找缺口图在背景图中的位置,计算要移动的距离,移动缺口图,要注意的是移动轨迹模拟人移动的加速和减速fromseleniumimport
webdriver
fromselenium.
webdriver
.chrome.optionsimportOptionsfromselenium.
webdriver
.support.uiimportWebDri
weixin_30553777
·
2020-08-05 17:32
【python+selenium】自动登陆青果教务系统
这里主要使用
Webdriver
库直接切入主题,上代码fromseleniumimport
webdriver
fromaipimportAipOcrfromPILimportImageimporttimeimportosimportreurl
将暮
·
2020-08-05 17:46
python的教学
【python+selenium】自动登陆学校青果教务网
这里主要使用
Webdriver
库这个程序里用到的
Webdriver
的方法有:
webdriver
.Chrome():调用chrome浏览器;get_
Renyan20
·
2020-08-05 16:15
网络蜘蛛:8.Selenium 爬取淘宝商品实战
Selenium安装pipinstallseleniumpipinstallpyquery自动运行浏览器fromseleniumimport
webdriver
#从selenium导入网页内驱动软件#如何要版本更新
Python学习中的进阶者
·
2020-08-05 15:01
网络机器人
王一博豆瓣电影海报抓取
#-*-coding:utf-8-*-importrequestsfromlxmlimportetreefromseleniumimport
webdriver
importosname='王一博'defdownload
白色纯度
·
2020-08-05 15:00
小随笔
python
Selenium爬取淘宝商品信息
fromseleniumimport
webdriver
fromselenium.common.exceptionsimportTimeoutExceptionfromselenium.
webdriver
.common.byimportByfromselenium.
webdriver
.supportimportexpected_conditionsasECfromselenium.
webdriver
小小蒲公英
·
2020-08-05 15:59
Python
基于Selenium+Python的web自动化测试框架
Selenium主要包括三部分:SeleniumIDE、Selenium
WebDriver
和SeleniumGrid。
weixin_33877092
·
2020-08-05 14:12
python3速查参考- python基础 1 -> python版本选择+第一个小程序
Python原因:可以自动添加python环境变量,自动关联.py文件,其余的优点很多,例如学习selenium的,使用pipinstallselenium命令就可以安装selenium3了,虽然python
webdriver
weixin_33851429
·
2020-08-05 14:38
Python+selenium:get_screenshot_as_file截图代码和UserWarning: name used for saved screenshot does not match file type提醒
-8-*-#@Time:2020/8/513:59#@Author:Gengwu#@FileName:Screenshot.py#@Software:PyCharmfromseleniumimport
webdriver
fromtimeimport
Cindy的喵喵
·
2020-08-05 14:00
python+selenium2自动化---定位元素报错element click intercepted
页面元素结构如下图所示:通过如下方式获取该元素后直接点击会报错:selenium.common.exceptions.
WebDriver
Exception:Message:elementclickintercepted
小江子
·
2020-08-05 14:00
Python浏览器自动化爬取淘宝商品信息
Python爬取淘宝商品信息python爬虫的库有很多,在这里我们使用selenium的自动化库,导入其中的
webdriver
包来实现使用到的库有selenium,time,re需提前安装浏览器自动化工具
一只快乐的小白
·
2020-08-05 14:35
python
爬虫
浏览器自动化
Python爬取电影信息
爬取电影天堂的影片进行多页爬取1、导入模块frombs4importBeautifulSoupimportreimportrequestsfromseleniumimport
webdriver
importtime2
八爪蜘蛛
·
2020-08-05 14:22
Python爬虫开发
爬虫开发
Python+Selenium,document.documentElement.scrollTop浏览器滚动条操作
Time:2020/8/510:314#@Author:Gengwu5#@FileName:Scroll_window.py6#@Software:PyCharm78fromseleniumimport
webdriver
9fr
Cindy的喵喵
·
2020-08-05 13:00
python爬虫_selenium_输入关键字爬取淘宝任意商品
目的:学习笔记代码fromseleniumimport
webdriver
importtimeimportcsvimportredefsearch_product(key):"""搜索商品,获取最大页数"
Purvis爱学习
·
2020-08-05 13:54
selenium爬取淘宝商品信息
文章目录导入必要的包、登录淘宝,找到要爬取的页面以第一个商品为例进行爬取该页面中所有商品信息的爬取将爬取到的信息存储到excel中导入必要的包、登录淘宝,找到要爬取的页面fromseleniumimport
webdriver
importpandasaspdurl
缦旋律
·
2020-08-05 12:01
爬虫
基于selenium登录淘宝
packagedemo;importorg.openqa.selenium.By;importorg.openqa.selenium.
WebDriver
;importselenium.Browser;publicclassTaoBao
默默前行的蜗牛
·
2020-08-05 12:42
工作经验
最新微博滑动验证码的破解
当我将将后面的display去掉,更改为验证码原图片就出来了进行代码编写fromseleniumimport
webdriver
fromselenium.
webdriver
importActionChainsfromselenium.
webdriver
.common.byimportByfroms
破法者之终结
·
2020-08-05 11:02
爬取boss直聘上的工作岗位信息
爬取boss直聘上的“python爬虫”的岗位信息,在点击下一页的内容时出现如下错误selenium.common.exceptions.
WebDriver
Exception:Message:unknownerror
wg5foc08
·
2020-08-05 11:56
Python
使用selenium爬取淘宝商品
其中需要多次使用
WebDriver
Wait,来保证需要爬取的内容出现,
Juno的学习日记
·
2020-08-05 11:18
爬虫
利用selenium动态爬取淘宝的商品信息
其中相对比较关键的遍历代码已经被我删除了,如果想要使用代码的话可以call我,现在可以实现的功能自动的登录、搜索,只是去除了中间的遍历功能,有一定爬虫代码功底的人结合注释应该都可以看懂.fromseleniumimport
webdriver
fromselen
@公瑾
·
2020-08-05 11:13
爬虫
使用selenium实现极验验证码
fromseleniumimport
webdriver
fromselenium.
webdriver
importActionChainsfromselenium.
webdriver
.common.byimportByfromselenium.
webdriver
.common.keysimportKeysfromselenium.
webdriver
.supportimportexpected_cond
s l y
·
2020-08-05 11:06
selenium爬商品淘宝信息
fromseleniumimport
webdriver
fromselenium.common.exceptionsimportTimeoutExceptionfromselenium.
webdriver
.common.byimportByfromselenium.
webdriver
.supportimportexpected_conditionsasECfromselenium.
webdriver
※槑囧槑※
·
2020-08-05 11:57
selenium跳过
webdriver
检测并爬取天猫商品数据
简介现在爬取淘宝,天猫商品数据都是需要首先进行登录的。上一节我们已经完成了模拟登录淘宝的步骤,所以在此不详细讲如何模拟登录淘宝。把关键点放在如何爬取天猫商品数据上。过去我曾经使用get/post方式进行爬虫,同时也加入IP代理池进行跳过检验,但随着大型网站的升级,采取该策略比较难实现了。因为你使用get/post方式进行爬取数据,会提示需要登录,而登录又是一大难题,需要滑动验证码验证。当你想使用I
weixin_33973609
·
2020-08-05 11:16
Selenium登录淘宝 另类方法跳过淘宝滑块验证
附上代码:fromseleniumimport
webdriver
fromselenium.
webdriver
.common.keysimportKeysimporttimeoptions=
webdriver
.ChromeOptions
weixin_30297281
·
2020-08-05 11:47
selenium 避免被检测
谷歌浏览器79以前的版本通过下面方法修改避免网站监测window.navigator.
webdriver
值fromselenium.
webdriver
importChromefromselenium.
webdriver
importChromeOptionsoption
rongDang
·
2020-08-05 11:58
python爬虫
突破淘宝对于selenium检测
去年11月之前淘宝对于selenium还是很友好的,后来selenium被检测了window.navigator.
webdriver
等参数,出滑动验证码什么的,selenium已经很难用了,网上大片教程都使用的
yaooye
·
2020-08-05 11:39
selenium
爬虫
淘宝
今日头条的街拍下载实现 python
fromseleniumimport
webdriver
fromselenium.
webdriver
.chrome.optionsimportOptionsfromtimeimportsleepimportrequestsimportthreadingimportosimportredefgethtml
水木工南
·
2020-08-05 11:07
爬虫
selenium模块+滑动验证码登录QQ(可运行源码)
导入模块fromselenium.
webdriver
importActionChainsfromseleniumimport
webdriver
fromtimeimportsleep实例化浏览器对象bro
孤城浪子+1
·
2020-08-05 11:43
链接:
突破淘宝对于 selenium 检测
突破淘宝模拟登录滑块:http://www.imooc.com/article/285729爬虫自动化:https://www.jianshu.com/p/b3b92f327374selenium跳过
webdriver
擒贼先擒王
·
2020-08-05 10:22
python
爬虫相关
Selenium+python文件上传代码和注释!
8-*-#@Time:2020/8/510:00#@Author:Gengwu#@FileName:upload_file.py#@Software:PyCharmfromseleniumimport
webdriver
fromtimeimportsleepdriver
Cindy的喵喵
·
2020-08-05 10:00
Python 最新版破解滑块验证码&自动登录QQ空间
1.2selenium+Python环境配置前提条件:已安装好Python开发环境(python3.7.2),这是最基本的呦~安装步骤:1.安装selenium:pipinstallselenium2.安装
webdriver
Smile_Mr
·
2020-08-05 10:47
C# selenium 破解 速卖通 滑块验证码
_locale=zh_CN";I
WebDriver
driver=null;stringsyspath=AppDomain.CurrentDomain.BaseDirectory.TrimEnd('/')
MeGoodtoo
·
2020-08-05 10:35
selenium
使用Python学习selenium测试工具-5:元素交互
本节主要内容如下:了解更多关于
WebDriver
和WebElement类的知识使用
webdriver
和WebElement类方法和属性实现测试与应用交互使用Select类自动化下拉菜单和列表的操作自动化的
东方欲晓-
·
2020-08-05 02:05
Selenium自动化测试
爬虫篇(2.1)selenium开启开发者模式
fromseleniumimport
webdriver
classIPPOOlS(object):def__init__(self,ip=""):chromeOptions=
webdriver
.ChromeOptions
tzyyy1
·
2020-08-05 02:54
爬虫
在selenium(
webdriver
)中执行js
代码JavascriptExecutorjs=(JavascriptExecutor)driver;js.executeScript(Stringscript,object...args);第一行代码将driver强制转换为JavascriptExecutor第二行代码是执行js,参数script是要执行的js语句,可以看到第二个参数在参数类型和参数名之间有…,在java里,这代表这个参数可以没有
七月晴链
·
2020-08-05 01:01
当selenium 定位页面元素失效时尝试使用execute_script执行js函数定位
案例以百度为例:fromseleniumimport
webdriver
importtimepath='.
FOAF-lambda
·
2020-08-05 01:51
selenium
python中的selenium,工作中的一次实践
fromseleniumimport
webdriver
fromselenium.
webdriver
.support.selectimportSelectfromselenium.
webdriver
.common.action_chainsimportActionChainsimporttimewithopen
hsc_1
·
2020-08-05 00:53
python
Selenium
WebDriver
中常用到的JavaScript操作
在使用selenium中的
webdriver
编写automation时,我们可能需要执行一些JavaScript的代码。在selenium中有Javascript类可以执行。
greta_guo
·
2020-08-05 00:26
selenium
WebDriver
拾级而上·之十三 调用Java Script
当然selenium
webdriver
也提供这样的一个方法:JavascriptExecutor.executeScript(string)例如:importorg.openqa.selenium.JavascriptExecutor
打杂人
·
2020-08-05 00:41
自动化测试+Selenium
python3+selenium入门15-执行JavaScript
通过execute_script()方法可以执行js的代码window.scrollTo()可以传两个参数,第一个参数是下方滚动条的位置,第二个参数是右边滚动条的参数fromseleniumimport
webdriver
importtimedr
梦忆安凉
·
2020-08-05 00:32
web自动化--PYTHON Selenium
/chromedriver/链接:https://pan.baidu.com/s/1o8IG7c2密码:jb3g简单演示代码:#-*-coding:utf-8-*-fromseleniumimport
webdriver
impor
Qton
·
2020-08-04 23:12
测试
python selenium 自动化测试框架搭建
pythonselenium自动化测试框架搭建PC端需要安装python环境下载python相关selenium包去官网下载chrome
webdriver
根据当前chrome版本选择下载http://chromedriver.chromium.org
zxb730916
·
2020-08-04 22:27
测试
testNG + Selenium自动化测试,动态加载测试类
新加入一家公司,接手一个Selenium自动化测试的Web项目,使用testNG单元测试,Selenium+testNG进行功能测试,功能测试需要读取excel文件获取
WebDriver
类型(浏览器不同
yangzitheonly
·
2020-08-04 22:58
学习
python3 appium启动app时会自动清除app里面的数据,怎么做到启动app不清除数据呢?使用 'noReset': "True"解决
此时我们需要添加‘noReset’:“True”属性和属性值来解决这个问题具体代码如下fromtimeimportsleepfromappiumimport
webdriver
desired_caps={
shawn xie123
·
2020-08-04 22:32
appium
[Selenium自动化测试实战] 不打开浏览器如何进行WEB自动化测试
一、问题在一般的使用场景下,使用selenium进行web自动化测试都需要打开一个浏览器的实体,测试脚本通过控制
webdriver
来对浏览器进行操作。
weixin_48048408
·
2020-08-04 21:37
Selenium—
WebDriver
简介及元素定位
一、
WebDriver
原理1、关于
WebDriver
设计模式:按照Server-Client的经典设计模式设计;Server端:即RemoteServer(远程服务器),可以是任意的浏览器,当脚本启动浏览器时
weixin_48048408
·
2020-08-04 21:37
Web自动化测试从基础到项目实战之一启动不同的浏览器及配置
在selenium里面一些简短的教程会这样写:123#coding=utf-8fromseleniumimport
webdriver
driver=webdr
weixin_48048408
·
2020-08-04 21:37
selenium 定位方式1
1.1find_element_by_id应用#find_element_by_id的应用1:定位百度输入框fromseleniumimport
webdriver
#导入
webdriver
模块fromtimeimportsleep
Leofighting
·
2020-08-04 21:54
selenium
自动化测试
测试
转行
selenium 定位方式2
1.1find_element_by_link_text应用#find_element_by_link_text的应用1:点击“hao123”,跳转值hao123页面fromseleniumimport
webdriver
Leofighting
·
2020-08-04 21:54
selenium
自动化测试
测试
转行
上一页
103
104
105
106
107
108
109
110
下一页
按字母分类:
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
其他