g1879
|
ec6a2d4494
|
4.0.4.3(+)
增加add_ele()
run_js()可读取文件
修复旧版python中get()报错问题
click.multiple()改为click.multi()
|
2024-01-29 23:43:08 +08:00 |
|
g1879
|
6e802f1087
|
!40 v4.0.4.2
Merge pull request !40 from g1879/dev
|
2024-01-29 15:07:03 +00:00 |
|
g1879
|
7e08dea72e
|
4.0.4.2(+)
增加add_ele()
run_js()可读取文件
修复旧版python中get()报错问题
click.multiple()改为click.multi()
|
2024-01-29 23:06:11 +08:00 |
|
g1879
|
1a6418918c
|
页面对象增加upload()方法;
配置对象增加clear_arguments()、clear_prefs()、clear_flags()、clear_headers()方法
|
2024-01-28 21:33:54 +08:00 |
|
g1879
|
20948577f9
|
!39 v4.0.4.1
Merge pull request !39 from g1879/dev
|
2024-01-27 16:34:13 +00:00 |
|
g1879
|
014f86db49
|
4.0.4.1Settings增加cdp_timeout属性;ini内容内置到代码中
|
2024-01-28 00:32:37 +08:00 |
|
g1879
|
ff016d6095
|
!38 v4.0.4
Merge pull request !38 from g1879/dev
|
2024-01-27 06:43:45 +00:00 |
|
g1879
|
c07d90195d
|
4.0.4(+)
prop()改成property(),参数改为name;
get_src()改为src();
get_cookies()方法改成cookies();
删除cookies属性;
get_session_storage()、get_local_storage()改成session_storage()、local_storage();
pageLoad改成page_load;
set_a_header()、remove_a_header()、set.header()、set.attr()的参数改为name;
元素增加value属性和set.value()方法;
loc_or_ele、loc_or_str等改为locator;
提高截图jpg格式画质;
修复s模式timeout参数失效问题;
修复wait.has_rect()等出现的问题;
修复找不到浏览器路径时报ini错误问题
增加一些提示
|
2024-01-27 14:40:11 +08:00 |
|
g1879
|
9e4b39be55
|
4.0.3.5统一各locator参数名称;select.by_loc()改成by.locator()
|
2024-01-22 17:13:10 +08:00 |
|
g1879
|
8aae35d31b
|
4.0.3.4(+)
修复多线程同时创建一个页面对象时报错问题;
优化一个性能问题;
stop_loading()保证状态变成完成;
auto_port()增加scope参数
|
2024-01-21 01:08:54 +08:00 |
|
g1879
|
4db2f71d15
|
4.0.3.3(+)
修复set_browser_path()导致auto_port()失效问题;
重构wait_until();
ini文件增加'--disable-features=PrivacySandboxSettings4';
get_blob()参数改为as_bytes
|
2024-01-19 16:04:41 +08:00 |
|
g1879
|
aea5aace53
|
4.0.3.2增加reconnect()方法;优化关闭标签页逻辑;修复s_ele()后定位问题
|
2024-01-19 01:00:16 +08:00 |
|
g1879
|
f485cfc7a6
|
4.0.3.1增加reconnect()方法;优化关闭标签页逻辑;修复s_ele()后定位问题
|
2024-01-19 00:48:16 +08:00 |
|
g1879
|
8ec59c3293
|
4.0.3改善get_blob()
|
2024-01-18 12:01:02 +08:00 |
|
g1879
|
5815474ea9
|
修复继承后出现的问题
|
2024-01-18 10:43:11 +08:00 |
|
g1879
|
4f12493edb
|
4.0.3增加DrissionPage.items;修复合并了旧代码的问题;增加get_blob()未完成
|
2024-01-18 01:06:50 +08:00 |
|
g1879
|
355e04de77
|
!36 微调
Merge pull request !36 from g1879/dev
|
2024-01-16 10:36:49 +00:00 |
|
g1879
|
74b7bd80af
|
Merge remote-tracking branch 'origin/dev' into dev
|
2024-01-16 18:35:44 +08:00 |
|
g1879
|
3dbafacf73
|
微调
|
2024-01-16 18:35:19 +08:00 |
|
g1879
|
1bae5da25c
|
!35 v4.0.2
Merge pull request !35 from g1879/dev
v4.0.2
|
2024-01-16 10:23:54 +00:00 |
|
g1879
|
28daa43afc
|
Merge branch 'master' of gitee.com:g1879/DrissionPage into dev
|
2024-01-16 10:23:27 +00:00 |
|
g1879
|
f48cda94f2
|
4.0.2ini增加'--hide-crash-restore-bubble'
|
2024-01-16 18:16:51 +08:00 |
|
g1879
|
b8ccbb1adc
|
修复小问题
|
2024-01-15 07:27:35 +08:00 |
|
g1879
|
bc9bc71777
|
4.0.0b38修复问题
|
2024-01-12 17:39:56 +08:00 |
|
haiyang
|
82f9174176
|
加上try语法,增加tree() 方法的健壮性
Signed-off-by: haiyang <13959713+haiyang0726@user.noreply.gitee.com>
|
2024-01-12 03:45:58 +00:00 |
|
刘华凯
|
83ea129d8c
|
增加ele.tree() 方法,用途:打印当前元素的子元素结构树,默认展开层数是5层
Signed-off-by: 刘华凯 <13959713+haiyang0726@user.noreply.gitee.com>
|
2024-01-12 01:46:55 +00:00 |
|
g1879
|
d2068e49b5
|
4.0.0b37完善js获取结果
|
2024-01-11 23:44:56 +08:00 |
|
g1879
|
b19e62bac5
|
Tab默认单例;增加TargetNotFoundError、Settings.singleton_tab_obj
|
2024-01-11 21:22:20 +08:00 |
|
g1879
|
1eaa56efdb
|
Page改成单例
|
2024-01-11 18:12:54 +08:00 |
|
g1879
|
c810b15c4a
|
wait.load_complete()改为wait.doc_loaded()
|
2024-01-11 17:22:40 +08:00 |
|
g1879
|
5a80707e38
|
index全部从1开始,可传入负数;完善获取元素改进
|
2024-01-11 00:59:47 +08:00 |
|
g1879
|
e2acf94b19
|
修复一个下载路径设置问题
|
2024-01-10 17:47:15 +08:00 |
|
g1879
|
d896eebb32
|
wait_silent()增加targets_only参数
|
2024-01-10 14:26:57 +08:00 |
|
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 |
|