g1879
|
86ff9098b2
|
ele()和s_ele()增加index参数,未完成;优化查找元素速度
|
2024-01-09 23:35:36 +08:00 |
|
g1879
|
cf4ba9cda9
|
4.0.1
|
2024-01-08 20:24:45 +08:00 |
|
g1879
|
a1ec25dc44
|
Merge branch 'dev'
# Conflicts:
# .gitee/ISSUE_TEMPLATE.zh-CN.md
# DrissionPage/__init__.py
# DrissionPage/_base/base.py
# DrissionPage/_base/base.pyi
# DrissionPage/_configs/chromium_options.py
# DrissionPage/_configs/configs.ini
# DrissionPage/_configs/driver_options.py
# DrissionPage/_configs/driver_options.pyi
# DrissionPage/_configs/session_options.py
# DrissionPage/_elements/chromium_element.py
# DrissionPage/_functions/cli.py
# DrissionPage/_functions/tools.pyi
# DrissionPage/_functions/web.py
# DrissionPage/_functions/web.pyi
# DrissionPage/_pages/chromium_frame.py
# DrissionPage/_pages/chromium_tab.py
# DrissionPage/_pages/chromium_tab.pyi
# DrissionPage/_pages/session_page.py
# DrissionPage/_pages/session_page.pyi
# DrissionPage/_pages/web_page.py
# DrissionPage/_pages/web_page.pyi
# DrissionPage/_units/setter.py
# DrissionPage/_units/setter.pyi
# DrissionPage/_units/waiter.py
# DrissionPage/chromium_base.py
# DrissionPage/chromium_base.pyi
# DrissionPage/chromium_driver.py
# DrissionPage/chromium_driver.pyi
# DrissionPage/chromium_element.pyi
# DrissionPage/chromium_frame.pyi
# DrissionPage/chromium_page.py
# DrissionPage/chromium_page.pyi
# DrissionPage/commons/browser.py
# DrissionPage/commons/browser.pyi
# DrissionPage/commons/constants.py
# DrissionPage/commons/tools.py
# DrissionPage/easy_set.py
# DrissionPage/easy_set.pyi
# DrissionPage/errors.py
# DrissionPage/session_element.pyi
# README.md
# setup.py
|
2024-01-08 20:23:14 +08:00 |
|
g1879
|
29de18c023
|
4.0.1
|
2024-01-08 18:58:56 +08:00 |
|
g1879
|
c3b58bc90d
|
4.0.0get_frame()序号改成从0开始;页面save()增加as_pdf参数;修复一些小问题
|
2024-01-08 18:04:59 +08:00 |
|
g1879
|
bff8d6ba73
|
4.0.0b35(+)
优化查找浏览器方法;
监听器增加资源类型筛选;
监听器增加fail_info和is_failed属性;
调整set_targets()和start()参数默认值;
blocked_urls()可接收str
|
2024-01-07 21:27:33 +08:00 |
|
g1879
|
e56995dcf0
|
微调_get_document()
|
2024-01-05 00:25:20 +08:00 |
|
g1879
|
dcbf970075
|
check()增加by_js参数;input()和clear()by_js时触发change;增加set.blocked_urls()
|
2024-01-04 23:14:24 +08:00 |
|
g1879
|
f13681e0df
|
ChromiumPage增加close(),删除close_other_tabs();微调quit()
|
2024-01-04 00:28:46 +08:00 |
|
g1879
|
1be8f00c21
|
微调get()逻辑;不指定用户文件夹路径时优先选择tmp_path
|
2024-01-03 17:40:35 +08:00 |
|
g1879
|
5c8ba2da58
|
4.0.0b34修复get()timeout很短时报错问题
|
2024-01-03 11:06:39 +08:00 |
|
g1879
|
ecfa83dcf8
|
录像过程文件放到临时文件夹;微调参数
|
2024-01-03 00:06:23 +08:00 |
|
g1879
|
2986e3eeb1
|
4.0.0b33(+)
co增加tmp_path和is_auto_port属性;
auto_port在创建对象时才确定端口和路径;
auto_port的对象在浏览器关闭时情况用户文件夹
|
2024-01-02 22:51:40 +08:00 |
|
g1879
|
a20fafebd7
|
优化处理立即执行的动作逻辑
|
2024-01-02 15:26:13 +08:00 |
|
g1879
|
f2e147a7e2
|
修复is_displayed小问题
|
2024-01-01 23:34:34 +08:00 |
|
g1879
|
d1a87654a1
|
可指定临时文件夹(+)
auto_port()增加tmp_path参数;
ini增加tmp_path项;
co增加set_tmp_path()方法
|
2023-12-31 11:02:27 +08:00 |
|
g1879
|
c0f50e2bbf
|
修复WebPage的set.cookies问题;添加add_init_js()和remove_init_js();尝试修复获取元素大小报错
|
2023-12-31 00:00:40 +08:00 |
|
g1879
|
28544e2532
|
!31 在页面加载任何脚本前执行js
Merge pull request !31 from 又阳月/dev
|
2023-12-30 15:06:06 +00:00 |
|
g1879
|
54d2e3b9de
|
元素对象间可用==判断是否指向同一个元素;Page的save()默认返回文本,不保存
|
2023-12-30 20:51:06 +08:00 |
|
g1879
|
34c5ad818b
|
元素对象间可用==判断是否指向同一个元素;Page的save()默认返回文本不保存
|
2023-12-30 14:40:20 +08:00 |
|
又阳月
|
290baa680a
|
移动add_init_script到TabSetter中
|
2023-12-30 12:19:05 +08:00 |
|
又阳月
|
3005468ce0
|
添加接口 add_init_script:在页面进行任何脚本的加载前,执行js语句
|
2023-12-30 08:48:35 +08:00 |
|
g1879
|
6f5020f955
|
修复监听一个问题;PageClosedError改为PageDisconnectedError
|
2023-12-29 19:20:15 +08:00 |
|
g1879
|
63266cce76
|
修复Page关闭后new_tab()报错问题;微调Driver错误处理
|
2023-12-28 17:23:47 +08:00 |
|
g1879
|
a75cb3a0b3
|
删除run_async_js()timeout参数
|
2023-12-27 23:57:53 +08:00 |
|
g1879
|
655895c560
|
4.0.0b32(+)
优化WebPage的post()返回值;
优化run_async_js()逻辑,删除timeout参数;
修复判断覆盖失效问题;
修复页面滚动有时报错问题;
优化_make_response()返回逻辑
|
2023-12-27 23:45:58 +08:00 |
|
g1879
|
9a6bd9c2b4
|
微调注释
|
2023-12-27 17:38:44 +08:00 |
|
g1879
|
221204b2f2
|
4.0.0b31完善Driver的stop()逻辑;优化录像保存逻辑;页面对象增加save()
|
2023-12-27 17:29:42 +08:00 |
|
g1879
|
eaad58da9e
|
4.0.0b31完善Driver的stop()逻辑;优化录像保存逻辑;页面对象增加save()
|
2023-12-27 17:21:52 +08:00 |
|
g1879
|
bd47aee4ca
|
完善Driver逻辑
|
2023-12-27 07:23:38 +08:00 |
|
g1879
|
8c870c1c3e
|
截图不再自动重命名;修改录屏未完成
|
2023-12-26 17:11:48 +08:00 |
|
g1879
|
23881d03a3
|
4.0.0b30优化_reload();修复type()、select()和close()问题
|
2023-12-26 15:51:32 +08:00 |
|
g1879
|
465ef15734
|
修复type()组合键无效问题
|
2023-12-25 21:16:21 +08:00 |
|
g1879
|
e86ac7517d
|
4.0.0b29(+)
增加disconnect()方法;
优化查找元素逻辑;
修复动作链按键超时问题;
|
2023-12-25 18:00:13 +08:00 |
|
g1879
|
d8a85d361e
|
4.0.0b28
|
2023-12-22 22:10:00 +08:00 |
|
g1879
|
364bb3f9e0
|
4.0.0b27
|
2023-12-22 22:01:30 +08:00 |
|
g1879
|
da5a8a9e42
|
增加wait.alert_closed()、wait.has_rect();run_js()无视其中产生的弹窗
|
2023-12-22 17:49:49 +08:00 |
|
g1879
|
98b992ac90
|
4.0.0b26修复小问题
|
2023-12-21 21:31:05 +08:00 |
|
g1879
|
17728bdfa2
|
4.0.0b25wait.ele_display()改成wait.ele_displayed();wait.display()改成wait.displayed()
|
2023-12-21 17:08:30 +08:00 |
|
g1879
|
4de95e6354
|
修复小问题
|
2023-12-21 16:28:41 +08:00 |
|
g1879
|
71dfe3037c
|
wait.ele_display()和wait.ele_hidden()会等待元素加载;
修复Page获取元素有时会返回str问题
|
2023-12-21 10:48:48 +08:00 |
|
g1879
|
4adb8247fd
|
修改注释,ele()只返回元素
|
2023-12-20 17:37:30 +08:00 |
|
g1879
|
e9f6322e5e
|
优化处理alert逻辑
|
2023-12-20 14:35:14 +08:00 |
|
g1879
|
b1f4c0767d
|
4.0.0b24修复动作链问题
|
2023-12-19 21:29:04 +08:00 |
|
g1879
|
774c6dd963
|
4.0.0b23微调参数
|
2023-12-19 14:18:24 +08:00 |
|
g1879
|
79c6eae2db
|
4.0.0b23优化处理alert逻辑
|
2023-12-18 20:24:38 +08:00 |
|
g1879
|
8e3e0750ce
|
等待方法修改(+)
ele_delete()改为ele_deleted()、ele_load()改为ele_loaded()、delete()改为deleted()、disabled_or_delete()改为disabled_or_deleted()
|
2023-12-18 18:51:58 +08:00 |
|
g1879
|
13cb1d7f53
|
完善连接阶段逻辑和alert处理逻辑
|
2023-12-18 01:07:11 +08:00 |
|
g1879
|
05cac3b69a
|
不少修改(+)
修复一个cookies问题;
元素被覆盖时states.is_covered返回覆盖元素id;
click()by_js默认改为False;
修复html带xml描述时SessionPage报错问题;
get()逻辑避免浏览器自动重试;
删除set.cookie();
增加set.cookies.clear()和set.cookies.remove();
set.cookies()可接收单个cookie;
修复select问题;
ChromiumDriver改为Driver
|
2023-12-17 19:16:41 +08:00 |
|
g1879
|
35c25fa454
|
修复re没有适配换行问题
|
2023-12-15 16:52:53 +08:00 |
|