robotframework-platynui 0.14.0.dev0__py3-none-any.whl → 0.14.0.dev26__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.
@@ -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.0'
1
+ __version__ = '0.14.0-dev.26'
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.dev0
3
+ Version: 0.14.0.dev26
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.dev0
20
+ Requires-Dist: platynui-native==0.14.0.dev26
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.dev0 ; extra == 'all'
25
- Requires-Dist: platynui-inspector==0.14.0.dev0 ; extra == 'all'
26
- Requires-Dist: platynui-provider-java==0.14.0.dev0 ; extra == 'all'
27
- Requires-Dist: platynui-cli==0.14.0.dev0 ; extra == 'cli'
28
- Requires-Dist: platynui-inspector==0.14.0.dev0 ; extra == 'inspector'
29
- Requires-Dist: platynui-provider-java==0.14.0.dev0 ; extra == 'java'
24
+ Requires-Dist: platynui-cli==0.14.0.dev26 ; extra == 'all'
25
+ Requires-Dist: platynui-inspector==0.14.0.dev26 ; extra == 'all'
26
+ Requires-Dist: platynui-provider-java==0.14.0.dev26 ; extra == 'all'
27
+ Requires-Dist: platynui-cli==0.14.0.dev26 ; extra == 'cli'
28
+ Requires-Dist: platynui-inspector==0.14.0.dev26 ; extra == 'inspector'
29
+ Requires-Dist: platynui-provider-java==0.14.0.dev26 ; extra == 'java'
30
30
  Maintainer: Daniel Biehl
31
31
  Maintainer-email: Daniel Biehl <daniel.biehl@imbus.de>
32
32
  Requires-Python: >=3.12
@@ -178,7 +178,7 @@ To report a problem, attach the `output.xml` of a run with these settings. Do no
178
178
  | Mouse and keyboard | ✅ | ✅ | ⚠️ depends on the desktop | ✅ | ❌ |
179
179
  | Screen and monitor information | ✅ | ✅ | ⚠️ partial | ✅ | ❌ |
180
180
  | Screenshots | ✅ | ✅ | ❌ planned | ✅ | ❌ |
181
- | Highlighting | ✅ | ✅ | ❌ | ✅ | ❌ |
181
+ | Highlighting | ✅ | ✅ | ⚠️ not on GNOME | ✅ | ❌ |
182
182
  | Window control | ✅ | ⚠️ partial | ❌ | ✅ | ❌ |
183
183
  | Inspector | ✅ | ✅ | ⚠️ tree and queries only | ✅ | ❌ |
184
184
  | Inspector live picker | ✅ | ✅ | ❌ | ✅ | ❌ |
@@ -1,6 +1,6 @@
1
- PlatynUI/BareMetal/__init__.py,sha256=7Na9-otuoFYhzLC5u2v59idRf2duRuhdBC52YATdk2A,165051
1
+ PlatynUI/BareMetal/__init__.py,sha256=FcJy5COuIFIwDzsm9AMHRXjAngG_wCZxM9Exom74PrI,165651
2
2
  PlatynUI/__init__.py,sha256=qwkz7rK7LKfKfO5U0iFQMWrhBhIUSxuI8h5cYyQHjt4,958
3
- PlatynUI/__version__.py,sha256=rS9OKWef4Gij74LRlwOjJwqr3F8hKWYUUvvn_rPdF_U,29
3
+ PlatynUI/__version__.py,sha256=LgyL8oUjuEa_6TqOXKMxAg0v6nHeLgBvtZPWfyrtvwM,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=ag-PESGrhvXHqE6xg_GiDxuST5clifWEv0nwoGp6nX4,15659
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=3-y81Qg3tmg25mwnqCm7kKZRiJpkOtrXZSaAzqw_BCw,3527
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.dev0.dist-info/WHEEL,sha256=-gI5GRFdiNNn2CFz-ptlExISMINC-k8bFxeojAlHbrM,81
75
- robotframework_platynui-0.14.0.dev0.dist-info/METADATA,sha256=WkHEnSqz13aHRjI1gN72SIjd5FiQqspwD9VPayrBrKs,11945
76
- robotframework_platynui-0.14.0.dev0.dist-info/RECORD,,
74
+ robotframework_platynui-0.14.0.dev26.dist-info/WHEEL,sha256=-gI5GRFdiNNn2CFz-ptlExISMINC-k8bFxeojAlHbrM,81
75
+ robotframework_platynui-0.14.0.dev26.dist-info/METADATA,sha256=UyMm19dMnYnJHVuN4MndkrhBjzNSeYx_iEm8KZ8IPzE,11969
76
+ robotframework_platynui-0.14.0.dev26.dist-info/RECORD,,