1408 Commits

Author SHA1 Message Date
g1879
727c005f19 修复文本生成的静态元素link报错问题;微调生成静态元素逻辑 2024-03-07 17:41:50 +08:00
g1879
51c8471fb5 tab也有hide()和show();_units的_page改成_owner 2024-03-07 00:19:33 +08:00
g1879
f434381d09 增加from_selenium()和from_playwright() 2024-03-05 16:53:50 +08:00
g1879
b51b2b14fe 设置headers时可接收文本格式,待测试 2024-03-04 23:38:50 +08:00
g1879
e68b415edd 4.0.4.8修复reconnect()问题 2024-03-03 16:28:27 +08:00
g1879
3b1a7d962f
!42 v4.0.4.7
Merge pull request !42 from g1879/dev
2024-03-02 14:50:16 +00:00
g1879
54bb9f138a 4.0.4.7(+)
wait()增加scope参数;
修复上个版本出现的找浏览器路径问题;
修复在ini设置下载路径时报错问题;
修复run_async_js()报错问题;
修复reconnect()报错问题
2024-03-02 22:43:51 +08:00
g1879
8c1a549b21 4.0.4.6修复用css在元素下获取多个子元素时数量不正确问题 2024-02-28 21:17:15 +08:00
g1879
12b6882d4c reconnect()包含browser 2024-02-26 23:04:41 +08:00
g1879
a5b4951b5b 修复页面用css查找元素时会找到文本的问题 2024-02-26 22:48:57 +08:00
g1879
e2393b1bf9 修复有些下拉列表选择出错问题 2024-02-21 11:27:45 +08:00
g1879
133cee1e75 Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	DrissionPage/_units/clicker.py
2024-02-20 17:58:08 +08:00
g1879
597a9883c8 元素对象page属性改为owner 2024-02-20 17:53:29 +08:00
g1879
0e57938e23 调整quit()逻辑 2024-02-09 21:46:34 +08:00
g1879
038d837dda click.to_download()增加timeout参数;完善找chrome路径逻辑;调整quit()逻辑 2024-02-08 10:13:14 +08:00
g1879
70243a1fd1 增加;click.for_new_tab();set.upload_files()和click.to_upload()支持Path类型 2024-02-07 20:28:13 +08:00
g1879
cfb0a6b8f6
update README.md. 2024-02-07 08:32:20 +00:00
g1879
45f8c38a75 修改quit()逻辑 2024-02-06 16:56:29 +08:00
g1879
193049428d 修改quit()逻辑 2024-02-06 16:36:44 +08:00
g1879
7bb1e64a79 4.0.4.5完善tree() 2024-02-05 15:47:55 +08:00
g1879
6451eab8a4 增加click.to_upload();取消upload() 2024-02-04 23:04:37 +08:00
g1879
001c479e4c 优化类型注解;加入tree(),未完成 2024-02-04 17:51:36 +08:00
g1879
dc440d8e61 Merge remote-tracking branch 'origin/dev' into dev 2024-02-04 16:41:25 +08:00
g1879
043b33f16e 增加click.to_download();修复body注释报错问题 2024-02-04 16:41:10 +08:00
g1879
26b0c35237
!34 增加ele.tree() 方法,用途:打印当前元素的子元素结构树
Merge pull request !34 from haiyang/dev
2024-02-04 08:40:53 +00:00
g1879
03378136c4 修复一个js结果解析问题 2024-02-04 14:18:56 +08:00
g1879
a3855aba59 4.0.4.4修复handle_alert()和cli问题 2024-01-31 22:24:57 +08:00
g1879
cbec20fc97 截图左上和右下参数可只接收其中一个;配置对象save()可生成不存在的路径 2024-01-30 17:05:02 +08:00
g1879
2d83ac32e0
!41 v4.0.4.3
Merge pull request !41 from g1879/dev
2024-01-29 15:44:12 +00:00
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