mangoautomation 1.0.56__py3-none-any.whl → 1.0.58__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of mangoautomation might be problematic. Click here for more details.

@@ -91,6 +91,7 @@ class AsyncWebElement(metaclass=Meta):
91
91
  elements = await locating.all()
92
92
  for element in elements:
93
93
  await element.click()
94
+ await asyncio.sleep(0.2)
94
95
 
95
96
  @async_method_callback('web', '元素操作', 6, [
96
97
  MethodModel(f='locating'),
@@ -119,6 +119,7 @@ class AsyncWebNewBrowser:
119
119
  async def new_page(self, context: BrowserContext) -> Page:
120
120
  try:
121
121
  page = await context.new_page()
122
+ page.set_default_timeout(3000)
122
123
  if self.is_header_intercept:
123
124
  await page.route("**/*", self.wen_intercept_request) # 应用拦截函数到页面的所有请求
124
125
  return page
@@ -88,6 +88,7 @@ class SyncWebElement(metaclass=Meta):
88
88
  elements = locating.all()
89
89
  for element in elements:
90
90
  element.click()
91
+ time.sleep(0.2)
91
92
 
92
93
  @sync_method_callback('web', '元素操作', 6, [
93
94
  MethodModel(f='locating'),
@@ -119,6 +119,7 @@ class SyncWebNewBrowser:
119
119
  def new_page(self, context: BrowserContext) -> Page:
120
120
  try:
121
121
  page = context.new_page()
122
+ page.set_default_timeout(3000)
122
123
  if self.is_header_intercept:
123
124
  page.route("**/*", self.wen_intercept_request) # 应用拦截函数到页面的所有请求
124
125
  return page
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.1
2
+ Name: mangoautomation
3
+ Version: 1.0.58
4
+ Summary: 测试工具
5
+ Home-page: https://gitee.com/mao-peng/testkit
6
+ Author: 毛鹏
7
+ Author-email: 729164035@qq.com
8
+ Classifier: Programming Language :: Python :: 3.10
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Classifier: Programming Language :: Python :: 3.12
11
+ Classifier: Programming Language :: Python :: 3.13
12
+ License-File: LICENSE
13
+ Requires-Dist: setuptools >=68.2.0
14
+ Requires-Dist: pydantic >=2.9.2
15
+ Requires-Dist: playwright ==1.43.0
16
+ Requires-Dist: uiautomation >=2.0.20
17
+ Requires-Dist: uiautomator2 >=3.2.5
18
+ Requires-Dist: mangotools >=1.1.39
19
+ Requires-Dist: adbutils ~=2.8.9
20
+ Requires-Dist: uiautodev >=0.9.0
21
+
22
+ # testkit
23
+
24
+ #### 介绍
25
+
26
+ 测试工具
27
+
28
+ #### 安装教程
29
+
30
+ 1. pip install mangokit
31
+
32
+ #### 使用说明
33
+
34
+ 1.
@@ -35,23 +35,23 @@ mangoautomation/uidrive/web/async_web/__init__.py,sha256=awtvLCGjUKIx46d2rZpO2Cc
35
35
  mangoautomation/uidrive/web/async_web/_assertion.py,sha256=iC_j2pZN1pr2kFmxjEb8fBSX91M0BmrcRKARe3JH-kQ,12761
36
36
  mangoautomation/uidrive/web/async_web/_browser.py,sha256=39YroURzagpq0HoEn1RZnNf1KDKXIgWpKSvp5L_Yut0,5286
37
37
  mangoautomation/uidrive/web/async_web/_customization.py,sha256=uw6p9uLHLXglgSkH4qjDl1v0iGlaNjvf8LljRH5cAHU,347
38
- mangoautomation/uidrive/web/async_web/_element.py,sha256=Si0ql_vGtgzacEaSEbglGTw96qdYHcsYEbYqgtIgYCo,10150
38
+ mangoautomation/uidrive/web/async_web/_element.py,sha256=Y8VMZM4YavX8hjCX33USFfCsDnZUtkpSZm2Iow0cm_k,10188
39
39
  mangoautomation/uidrive/web/async_web/_input_device.py,sha256=sMAMHb_8QyPx3pKci0gRDQc2O7h1OYMGyA7fCWl81iM,3288
40
- mangoautomation/uidrive/web/async_web/_new_browser.py,sha256=iQMQhNHKsz-4yPvXUiir-OwFZQLZbaRtDEwIydimUMs,6089
40
+ mangoautomation/uidrive/web/async_web/_new_browser.py,sha256=eCXa_WqCZfaom-PSBR9nM5x1XBQCPswUFT4134d3WDE,6133
41
41
  mangoautomation/uidrive/web/async_web/_page.py,sha256=TCYf79qQdVBBTTNq2COZFJVcLCgg5Ksu9lMgmQPVInU,2147
42
42
  mangoautomation/uidrive/web/sync_web/__init__.py,sha256=31U15FJftsv6yyDlKT-2zN0CNPyolZPRuPh7mdeKKas,7961
43
43
  mangoautomation/uidrive/web/sync_web/_assertion.py,sha256=hVA7-Z3CfPgkmtnK_3M5UGo6sct88W6AJfQTnrqu9jU,12534
44
44
  mangoautomation/uidrive/web/sync_web/_browser.py,sha256=c7xHkIIFPawlzcVkGjwqeKfWAM--87wEJb3V3Ysi29w,5146
45
45
  mangoautomation/uidrive/web/sync_web/_customization.py,sha256=E_pfI8gKd0O6r4huJIvA6hoW-X9fSDVL4zEUqhHgxwE,355
46
- mangoautomation/uidrive/web/sync_web/_element.py,sha256=KkgLxGVwdl4JhRkIbGrUA12BmHohggdalEGlnztyrSE,9783
46
+ mangoautomation/uidrive/web/sync_web/_element.py,sha256=i9sDm_KbbTF8H442zbQzEHZeM0Iszr1mVJUhEcxXUDM,9812
47
47
  mangoautomation/uidrive/web/sync_web/_input_device.py,sha256=8t6tJgMb4zgb4Sv02XP3gUU0ZVbApCs3WaILv8Fe1iY,3169
48
- mangoautomation/uidrive/web/sync_web/_new_browser.py,sha256=IYRrv6KXk-VxS5v5dRgqRdhTYQ1CVm4VlO4ioacEjcs,6036
48
+ mangoautomation/uidrive/web/sync_web/_new_browser.py,sha256=5gd0Z2wyou0WCTPcMTjzos_3duB59djKJyTCXyULIZ8,6080
49
49
  mangoautomation/uidrive/web/sync_web/_page.py,sha256=MNekcL7o5YXEloeuvi3YrpOZxGhEWfrq-5i4PbtTLFg,2027
50
- mangoautomation-1.0.56.dist-info/licenses/LICENSE,sha256=03WP-mgFmo8ofRYDe1HVDQUEUKQZ2q6P6Q-2A4c-46A,1085
51
50
  tests/__init__.py,sha256=UhCNFqiVjxdh4CXESNo4oE7qfjpYYVkeHbSE5-7LGDY,125
52
51
  tests/test_ui_and.py,sha256=4k0_3bx_k2KbZifeRWGK65sxtdiPUOjkNzZ5oxjrc18,672
53
52
  tests/test_ui_web.py,sha256=MFaUN8O5qKOMMgyk2eelhKZsYcSJm0Do6pCgsdBZEH4,2765
54
- mangoautomation-1.0.56.dist-info/METADATA,sha256=Gu8_FKCwI0t_IxG0PUz3M6EPWOMpzCmocndAv4i7Fk8,976
55
- mangoautomation-1.0.56.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
56
- mangoautomation-1.0.56.dist-info/top_level.txt,sha256=g-uCmjvEODG8WFbmwbGM0-G0zHntHv8ZsS0PQRaMGtE,22
57
- mangoautomation-1.0.56.dist-info/RECORD,,
53
+ mangoautomation-1.0.58.dist-info/LICENSE,sha256=03WP-mgFmo8ofRYDe1HVDQUEUKQZ2q6P6Q-2A4c-46A,1085
54
+ mangoautomation-1.0.58.dist-info/METADATA,sha256=JL3gL8kW5TM5DdnsWr4jOx7DE3X4odT32Nf4P8fAoRM,816
55
+ mangoautomation-1.0.58.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
56
+ mangoautomation-1.0.58.dist-info/top_level.txt,sha256=g-uCmjvEODG8WFbmwbGM0-G0zHntHv8ZsS0PQRaMGtE,22
57
+ mangoautomation-1.0.58.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: bdist_wheel (0.41.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,42 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: mangoautomation
3
- Version: 1.0.56
4
- Summary: 测试工具
5
- Home-page: https://gitee.com/mao-peng/testkit
6
- Author: 毛鹏
7
- Author-email: 729164035@qq.com
8
- Classifier: Programming Language :: Python :: 3.10
9
- Classifier: Programming Language :: Python :: 3.11
10
- Classifier: Programming Language :: Python :: 3.12
11
- Classifier: Programming Language :: Python :: 3.13
12
- License-File: LICENSE
13
- Requires-Dist: setuptools>=68.2.0
14
- Requires-Dist: pydantic>=2.9.2
15
- Requires-Dist: playwright==1.43.0
16
- Requires-Dist: uiautomation>=2.0.20
17
- Requires-Dist: uiautomator2>=3.2.5
18
- Requires-Dist: mangotools>=1.1.28
19
- Requires-Dist: adbutils~=2.8.9
20
- Requires-Dist: uiautodev>=0.9.0
21
- Dynamic: author
22
- Dynamic: author-email
23
- Dynamic: classifier
24
- Dynamic: description
25
- Dynamic: home-page
26
- Dynamic: license-file
27
- Dynamic: requires-dist
28
- Dynamic: summary
29
-
30
- # testkit
31
-
32
- #### 介绍
33
-
34
- 测试工具
35
-
36
- #### 安装教程
37
-
38
- 1. pip install mangokit
39
-
40
- #### 使用说明
41
-
42
- 1.