Commit Graph

433 Commits

Author SHA1 Message Date
g1879
c7a8af6fe4 s模式元素text尽量与d模式保持一致 2021-01-01 00:33:45 +08:00
g1879
4ff724e6d4 修改错别字 2020-12-31 18:16:34 +08:00
g1879
eec2a510c4 继续研究text的显示,未完成 2020-12-31 18:16:26 +08:00
g1879
5187a6b5b1 优化s模式html和text,去除空格和回车,未完成 2020-12-31 00:33:59 +08:00
g1879
1badd08827 修复xpath返回数字时出错的问题 2020-12-29 23:30:21 +08:00
g1879
b33b14c3a0 1.7.12 2020-12-29 23:29:52 +08:00
g1879
67eb48fd97 1.7.11 2020-12-29 23:07:43 +08:00
g1879
7f6285f3cd 完善对xpath获取数字结果的支持 2020-12-29 23:07:29 +08:00
g1879
88f22bad84 1.7.10 2020-12-28 15:08:56 +08:00
g1879
51cef7fa7f 页面类添加retry_times和retry_interval属性 2020-12-28 15:08:43 +08:00
g1879
48049e4b03 调整获取chrome.exe方法次序 2020-12-28 11:44:59 +08:00
g1879
b0444fddd9 修复set_cookies()添加cookie时,selenium自动在二级域名前添加.导致无法正确覆盖cookie的问题 2020-12-27 10:50:34 +08:00
g1879
775e9d5ca2 1.7.8 2020-12-27 10:47:45 +08:00
g1879
9e923c8f55 修复set_cookies()时不能正确覆盖一级域名前面没有.的cookie的问题 2020-12-27 01:28:15 +08:00
g1879
ba3943da97 增加从注册表获取chrome.exe路径 2020-12-26 17:46:59 +08:00
g1879
d10da8d718 创建driver时可自动下载chromedriver.exe 2020-12-24 17:08:38 +08:00
g1879
f9ba0625e3 1.7.7 2020-12-24 17:07:28 +08:00
g1879
09db942090 修复不能获取content-type时会出现的问题 2020-12-24 17:07:17 +08:00
g1879
af2f2e2f45 !9 修复d模式元素获取子元素失败的bug
Merge pull request !9 from g1879/develop
2020-12-11 16:40:39 +08:00
g1879
c1454ab0db 微调 2020-12-11 16:35:28 +08:00
g1879
e7b88c5619 修复d模式元素获取子元素失败的bug 2020-12-11 16:05:30 +08:00
g1879
6adb05a24c Merge branch 'master' of https://gitee.com/g1879/DrissionPage into develop 2020-12-11 16:04:14 +08:00
g1879
2481c7f3fa !8 v1.7.4
Merge pull request !8 from g1879/develop
2020-12-09 19:10:24 +08:00
g1879
b078af0da3 Merge branch 'develop' of https://gitee.com/g1879/DrissionPage into develop
 Conflicts:
	DrissionPage/drission.py
2020-12-09 15:43:59 +08:00
g1879
b508aa20ab 1.7.3 2020-12-08 20:59:55 +08:00
g1879
cbb9887020 改进cookies_to_driver()处理逻辑。域为空的cookie传给driver时自动添加域 2020-12-08 20:59:39 +08:00
g1879
54d734089a 完善get_cookies(),没有domain的cookie也能获取到 2020-12-08 20:56:12 +08:00
g1879
f294a777ed 改进_cookie_to_dict()和_cookies_to_tuple()中处理cookie的代码 2020-12-08 20:53:32 +08:00
g1879
b9a1930ff8 set_cookies()增加refresh参数 2020-12-08 20:24:23 +08:00
g1879
041eb68b05 改进cookies传递逻辑,s转d时域为空的cookie会自动设置域 2020-12-08 14:17:02 +08:00
g1879
d8a179918a set_cookies()增加refresh参数 2020-12-08 14:15:31 +08:00
g1879
7149a417e4 优化cookies转换语句 2020-12-08 14:07:17 +08:00
g1879
4d6ca7f699 !7 v1.7.1
- d模式如指定了调试端口,可自动启动浏览器进程并接入
- 去除对cssselect库依赖
- 提高查找元素效率
- 调整获取元素xpath和css_path逻辑
2020-12-08 09:33:27 +08:00
g1879
84f18bbd50 获取元素的xpath和css_path属性时忽略id,避免页面上有重复id导致不准确 2020-12-08 09:25:42 +08:00
g1879
1a0d850cef DriverElement和ShadowRootElement删除timeout属性,DriverPage增加wait属性,页面及下级元素每次查找元素使用同一个wait对象,除非元素查找临时指定与页面timeout属性不一致的值 2020-12-07 22:57:36 +08:00
g1879
0058414a8a 调整注释 2020-12-07 22:52:01 +08:00
g1879
7916558963 Merge branch 'master' of https://gitee.com/g1879/DrissionPage into develop 2020-12-07 19:03:55 +08:00
g1879
4bfca6bf08 去除cssselect依赖 2020-12-07 14:41:00 +08:00
g1879
843bc7c420 去除cssselect依赖 2020-12-07 14:39:31 +08:00
g1879
ac83ef0e8d !6 优化创建driver逻辑
Merge pull request !6 from g1879/develop
2020-12-07 14:05:45 +08:00
g1879
d557feb22f Merge branch 'master' of https://gitee.com/g1879/DrissionPage into develop
 Conflicts:
	README.zh-cn.md
2020-12-07 14:02:56 +08:00
g1879
7985919365 创建driver时,如指定了本地调试浏览器,可自动接入或创建浏览器进程 2020-12-07 13:58:25 +08:00
g1879
a59274603a 1.7.0 2020-12-07 09:42:38 +08:00
g1879
256fa40026 !5 修改readme
* 1.7.0
2020-12-07 09:38:27 +08:00
g1879
fb8e666b92 1.7.0 2020-12-07 09:35:02 +08:00
g1879
463633d553 1.7.0 2020-12-07 09:31:20 +08:00
g1879
0d98abf5a0 修改 2020-12-06 21:29:58 +08:00
g1879
42ae354b16 Merge branch 'master' of https://gitee.com/g1879/DrissionPage into develop 2020-12-04 23:00:18 +08:00
g1879
e682427273 !4 v1.7.0
Merge pull request !4 from g1879/develop
2020-12-04 22:52:02 +08:00
g1879
3a0c7153db 1.7.0 2020-12-04 22:32:06 +08:00