robotframework-platynui 0.14.0.dev0__py3-none-any.whl → 0.14.0.dev17__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.
- PlatynUI/BareMetal/__init__.py +8 -0
- PlatynUI/__version__.py +1 -1
- PlatynUI/core/devices.py +4 -0
- PlatynUI/core/settings.py +4 -0
- {robotframework_platynui-0.14.0.dev0.dist-info → robotframework_platynui-0.14.0.dev17.dist-info}/METADATA +8 -8
- {robotframework_platynui-0.14.0.dev0.dist-info → robotframework_platynui-0.14.0.dev17.dist-info}/RECORD +7 -7
- {robotframework_platynui-0.14.0.dev0.dist-info → robotframework_platynui-0.14.0.dev17.dist-info}/WHEEL +0 -0
PlatynUI/BareMetal/__init__.py
CHANGED
|
@@ -1307,6 +1307,14 @@ class BareMetal(OurDynamicCore):
|
|
|
1307
1307
|
| ``curve_amplitude`` | how pronounced the ``BEZIER`` curve is |
|
|
1308
1308
|
| ``jitter_amplitude`` | the size of the ``JITTER`` wobble |
|
|
1309
1309
|
| ``multi_click_delay_ms`` | the pause between clicks of a multi-click |
|
|
1310
|
+
| ``approach_steps`` | how many last steps before the target arrive spaced out — 3; ``0`` turns it off |
|
|
1311
|
+
| ``approach_interval_ms`` | the least time between those last steps — 20 |
|
|
1312
|
+
|
|
1313
|
+
Every move except a ``DIRECT`` jump ends with that spaced-out approach. Some applications decide
|
|
1314
|
+
what a click means from how the pointer moved before it, and a fast move would otherwise reach
|
|
1315
|
+
them as a single jump — a menu item clicked right after its menu opened may then not react. A
|
|
1316
|
+
short move therefore takes at least as long as its approach; a long one keeps its usual
|
|
1317
|
+
duration.
|
|
1310
1318
|
|
|
1311
1319
|
| Library PlatynUI.BareMetal pointer_profile={'motion': 'BEZIER', 'speed_factor': 0.5}
|
|
1312
1320
|
| `Pointer Click` Window[@Name="Editor"]//Button[@Name="Save"] overrides={'speed_factor': 0.3}
|
PlatynUI/__version__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '0.14.0-dev.
|
|
1
|
+
__version__ = '0.14.0-dev.17'
|
PlatynUI/core/devices.py
CHANGED
|
@@ -68,6 +68,10 @@ def _pointer_overrides_from_settings() -> PointerOverridesDict | None:
|
|
|
68
68
|
overrides['before_next_click_delay_ms'] = value
|
|
69
69
|
if (value := settings.pointer_multi_click_delay_ms) is not None:
|
|
70
70
|
overrides['multi_click_delay_ms'] = value
|
|
71
|
+
if (steps := settings.pointer_approach_steps) is not None:
|
|
72
|
+
overrides['approach_steps'] = steps
|
|
73
|
+
if (value := settings.pointer_approach_interval_ms) is not None:
|
|
74
|
+
overrides['approach_interval_ms'] = value
|
|
71
75
|
return overrides or None
|
|
72
76
|
|
|
73
77
|
|
PlatynUI/core/settings.py
CHANGED
|
@@ -54,6 +54,10 @@ class Settings:
|
|
|
54
54
|
pointer_after_click_delay_ms: float | None = None
|
|
55
55
|
pointer_before_next_click_delay_ms: float | None = None
|
|
56
56
|
pointer_multi_click_delay_ms: float | None = None
|
|
57
|
+
# The paced approach at the end of a pointer move: how many final steps arrive spaced out
|
|
58
|
+
# (0 turns it off), and the least time between them in milliseconds.
|
|
59
|
+
pointer_approach_steps: int | None = None
|
|
60
|
+
pointer_approach_interval_ms: float | None = None
|
|
57
61
|
|
|
58
62
|
# Keyboard delay overrides (milliseconds; ``None`` keeps the active profile value).
|
|
59
63
|
# Mirror ``platynui_native.KeyboardOverridesDict``.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: robotframework-PlatynUI
|
|
3
|
-
Version: 0.14.0.
|
|
3
|
+
Version: 0.14.0.dev17
|
|
4
4
|
Summary: Cross-platform UI automation toolkit for Robot Framework with XPath-based element selection
|
|
5
5
|
Keywords: robotframework,automation,testing,ui,xpath,cross-platform
|
|
6
6
|
Author: Daniel Biehl
|
|
@@ -17,16 +17,16 @@ Classifier: Topic :: Software Development :: Quality Assurance
|
|
|
17
17
|
Classifier: Framework :: Robot Framework
|
|
18
18
|
Classifier: Framework :: Robot Framework :: Library
|
|
19
19
|
Requires-Dist: robotframework>=7.0.0
|
|
20
|
-
Requires-Dist: platynui-native==0.14.0.
|
|
20
|
+
Requires-Dist: platynui-native==0.14.0.dev17
|
|
21
21
|
Requires-Dist: typing-extensions
|
|
22
22
|
Requires-Dist: robotframework-pythonlibcore>=4.4.0
|
|
23
23
|
Requires-Dist: robotframework-assertion-engine>=3.0.0
|
|
24
|
-
Requires-Dist: platynui-cli==0.14.0.
|
|
25
|
-
Requires-Dist: platynui-inspector==0.14.0.
|
|
26
|
-
Requires-Dist: platynui-provider-java==0.14.0.
|
|
27
|
-
Requires-Dist: platynui-cli==0.14.0.
|
|
28
|
-
Requires-Dist: platynui-inspector==0.14.0.
|
|
29
|
-
Requires-Dist: platynui-provider-java==0.14.0.
|
|
24
|
+
Requires-Dist: platynui-cli==0.14.0.dev17 ; extra == 'all'
|
|
25
|
+
Requires-Dist: platynui-inspector==0.14.0.dev17 ; extra == 'all'
|
|
26
|
+
Requires-Dist: platynui-provider-java==0.14.0.dev17 ; extra == 'all'
|
|
27
|
+
Requires-Dist: platynui-cli==0.14.0.dev17 ; extra == 'cli'
|
|
28
|
+
Requires-Dist: platynui-inspector==0.14.0.dev17 ; extra == 'inspector'
|
|
29
|
+
Requires-Dist: platynui-provider-java==0.14.0.dev17 ; extra == 'java'
|
|
30
30
|
Maintainer: Daniel Biehl
|
|
31
31
|
Maintainer-email: Daniel Biehl <daniel.biehl@imbus.de>
|
|
32
32
|
Requires-Python: >=3.12
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
PlatynUI/BareMetal/__init__.py,sha256=
|
|
1
|
+
PlatynUI/BareMetal/__init__.py,sha256=FcJy5COuIFIwDzsm9AMHRXjAngG_wCZxM9Exom74PrI,165651
|
|
2
2
|
PlatynUI/__init__.py,sha256=qwkz7rK7LKfKfO5U0iFQMWrhBhIUSxuI8h5cYyQHjt4,958
|
|
3
|
-
PlatynUI/__version__.py,sha256
|
|
3
|
+
PlatynUI/__version__.py,sha256=-fA3UUcgojvmERdKVIFvYf_lXnsVj8nrtupz2jcas0M,30
|
|
4
4
|
PlatynUI/_assertable.py,sha256=H9kKa1l9jMjI-Lbnurpe86wkdoBC7MSEAIalVu14Gv8,5148
|
|
5
5
|
PlatynUI/_our_libcore.py,sha256=xFQhJur_xlbnVEfnRuEsnZ9ReXD5YQ8eZhbVBPBaJ0Y,1572
|
|
6
6
|
PlatynUI/core/__init__.py,sha256=KgPUor1FwUlF6ySfx1jE0MurwLaAcrTcCEEe3-vcrwk,3326
|
|
@@ -13,7 +13,7 @@ PlatynUI/core/adapters/__init__.py,sha256=j0ukaGl0Vm-_8dc8A11jrcyNfWmC0_SwI0_2ZO
|
|
|
13
13
|
PlatynUI/core/adapters/ui_node.py,sha256=DSpKtczyelrFeoind1NQN8sbmIgew5Tg0e_L24yoF4s,22614
|
|
14
14
|
PlatynUI/core/context.py,sha256=IEyukbL5m2Yh8fW_jHvRcDNeo6wTVrKokAwGSu72NEc,25338
|
|
15
15
|
PlatynUI/core/descriptor.py,sha256=Gh5GVOl53BK4Y5eiiCxxdrszoqbzVf5iYtWH56zobDg,6963
|
|
16
|
-
PlatynUI/core/devices.py,sha256=
|
|
16
|
+
PlatynUI/core/devices.py,sha256=cx_mZcrpCl1Kx8WUZdgkMwMSOpLk1e7guJBVSAZERxk,15885
|
|
17
17
|
PlatynUI/core/ensure.py,sha256=2CTX-guVGvBEYCFYyRHs65Sjn7rdp8Qj93-pVx2xrnk,7010
|
|
18
18
|
PlatynUI/core/exceptions.py,sha256=lWVMN_b1uUSk-1CYhyCyZlyKWHaYCjhcdIfn1VKDK_A,3509
|
|
19
19
|
PlatynUI/core/locator.py,sha256=6Wg_1jEO4fvQBVFkvNvdYojczgQjcz95B_D1YhGWEIY,23111
|
|
@@ -44,7 +44,7 @@ PlatynUI/core/patterns/toggle.py,sha256=dxko37XE5o6y-eCmlFXcPEeeTwqA1mP_hJ56AY4a
|
|
|
44
44
|
PlatynUI/core/patterns/window_state.py,sha256=vI-6dS-7FKqulQ8eqweNdFpuVzf8FkSWwl1d2NLTVnA,972
|
|
45
45
|
PlatynUI/core/predicate.py,sha256=JwlWSX2QO7feJ45i-gndE6sVjxcbH1Gj7LnvLkblOVI,1325
|
|
46
46
|
PlatynUI/core/runtime.py,sha256=Oy49S8Td8iv2XLj2xLPVEb70VUQx9_lik_Q26OylC08,7893
|
|
47
|
-
PlatynUI/core/settings.py,sha256=
|
|
47
|
+
PlatynUI/core/settings.py,sha256=c_vWwd_Nw8U_z1tHKdoqX5zbG8uyjLHlvGPVFAdhbCI,3794
|
|
48
48
|
PlatynUI/core/types.py,sha256=Q9VZSIS4au7BeYjCKRiApmuIV8doFg3L0Y5XxgG1fP8,1036
|
|
49
49
|
PlatynUI/core/wait.py,sha256=-VvNaknPx0SvUIjbC87C0P9PIcUM2orfGz08pu0iCn4,2035
|
|
50
50
|
PlatynUI/core/weight_calculator.py,sha256=oOgHT8pMeQe6QbQeqy1o84kW5jRj1rK3AoRw3K1zdqk,5442
|
|
@@ -71,6 +71,6 @@ PlatynUI/ui/tabs.py,sha256=zRPRLeJ1osMPLGCwJ95o8TyuI3Wnv04CrSdtIRWZy7I,537
|
|
|
71
71
|
PlatynUI/ui/text.py,sha256=zeTfCJn-NxjChfxp8oTgeSCGxnQwRqt6-WzoF3x1VuY,2645
|
|
72
72
|
PlatynUI/ui/tree.py,sha256=4pX5euln77tXGDGt-CTsxnPm-TQCjqoumf2iGCycL34,3728
|
|
73
73
|
PlatynUI/ui/window.py,sha256=-swRZD4M-5HPy-MHb-bb9_HrVkR5e7xuMZlHsonYbbM,5811
|
|
74
|
-
robotframework_platynui-0.14.0.
|
|
75
|
-
robotframework_platynui-0.14.0.
|
|
76
|
-
robotframework_platynui-0.14.0.
|
|
74
|
+
robotframework_platynui-0.14.0.dev17.dist-info/WHEEL,sha256=-gI5GRFdiNNn2CFz-ptlExISMINC-k8bFxeojAlHbrM,81
|
|
75
|
+
robotframework_platynui-0.14.0.dev17.dist-info/METADATA,sha256=bsmS4YvnIiO5916XP9TG2v1d72PzsGScD_EQ4EZjFLI,11953
|
|
76
|
+
robotframework_platynui-0.14.0.dev17.dist-info/RECORD,,
|
|
File without changes
|