Appium-Python-Client 6.1.8__py3-none-any.whl → 6.2.0__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.
- appium/webdriver/common/appiumby.py +20 -1
- {appium_python_client-6.1.8.dist-info → appium_python_client-6.2.0.dist-info}/METADATA +1 -1
- {appium_python_client-6.1.8.dist-info → appium_python_client-6.2.0.dist-info}/RECORD +5 -5
- {appium_python_client-6.1.8.dist-info → appium_python_client-6.2.0.dist-info}/WHEEL +0 -0
- {appium_python_client-6.1.8.dist-info → appium_python_client-6.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -15,10 +15,13 @@
|
|
|
15
15
|
from typing import Literal
|
|
16
16
|
|
|
17
17
|
from selenium.webdriver.common.by import By
|
|
18
|
+
from typing_extensions import deprecated
|
|
18
19
|
|
|
19
20
|
ByType = Literal[
|
|
20
21
|
'-ios predicate string',
|
|
21
22
|
'-ios class chain',
|
|
23
|
+
'-android predicate string',
|
|
24
|
+
'-android class chain',
|
|
22
25
|
'-android uiautomator',
|
|
23
26
|
'-android viewtag',
|
|
24
27
|
'-android datamatcher',
|
|
@@ -34,10 +37,26 @@ ByType = Literal[
|
|
|
34
37
|
]
|
|
35
38
|
|
|
36
39
|
|
|
40
|
+
class _AndroidUiAutomator:
|
|
41
|
+
@deprecated('ANDROID_UIAUTOMATOR is deprecated. Use ANDROID_PREDICATE or ANDROID_CLASS_CHAIN for element lookup.')
|
|
42
|
+
def __get__(self, instance: object, owner: type) -> ByType:
|
|
43
|
+
return '-android uiautomator'
|
|
44
|
+
|
|
45
|
+
|
|
37
46
|
class AppiumBy(By):
|
|
47
|
+
"""Appium locator strategies for use with find_element and find_elements."""
|
|
48
|
+
|
|
38
49
|
IOS_PREDICATE: ByType = '-ios predicate string'
|
|
39
50
|
IOS_CLASS_CHAIN: ByType = '-ios class chain'
|
|
40
|
-
|
|
51
|
+
ANDROID_PREDICATE: ByType = '-android predicate string'
|
|
52
|
+
"""Match Android elements by a predicate such as ``text == 'Gallery'`` (UiAutomator2 10.2.0+)."""
|
|
53
|
+
|
|
54
|
+
ANDROID_CLASS_CHAIN: ByType = '-android class chain'
|
|
55
|
+
"""Match a path in the Android accessibility tree such as ``**/android.widget.Button[2]`` (UiAutomator2 10.1.0+)."""
|
|
56
|
+
|
|
57
|
+
ANDROID_UIAUTOMATOR = _AndroidUiAutomator()
|
|
58
|
+
"""Deprecated UiSelector strategy. Use ANDROID_PREDICATE or ANDROID_CLASS_CHAIN for element lookup."""
|
|
59
|
+
|
|
41
60
|
ANDROID_VIEWTAG: ByType = '-android viewtag'
|
|
42
61
|
ANDROID_DATA_MATCHER: ByType = '-android datamatcher'
|
|
43
62
|
ANDROID_VIEW_MATCHER: ByType = '-android viewmatcher'
|
|
@@ -285,7 +285,7 @@ appium/webdriver/switch_to.py,sha256=px12JwzTXngGWJiOfKXKaIc_QOoB1144Dv2U19jebSo
|
|
|
285
285
|
appium/webdriver/webdriver.py,sha256=nPjth2bMg6lhCEy4GvOkBoUfk-IOzRSghXp7peVTf7Y,20126
|
|
286
286
|
appium/webdriver/webelement.py,sha256=P7ev_K9DwmMJ8oS6u4TpLi7R5xFcsSE8dmu2ICfrvJA,4472
|
|
287
287
|
appium/webdriver/common/__init__.py,sha256=4MapoJ3p5LiP0AsHMgL2xoPTIFno4dcH1GSoxaZzv4w,623
|
|
288
|
-
appium/webdriver/common/appiumby.py,sha256=
|
|
288
|
+
appium/webdriver/common/appiumby.py,sha256=EEVLUI043k10DcL7ENyNfvsm6liKQpNn8H194oqTl7o,2771
|
|
289
289
|
appium/webdriver/extensions/__init__.py,sha256=wSUl6yC2TJNla7xbHXkCfn9J1LpQs9UIx8oOs6V8kZA,567
|
|
290
290
|
appium/webdriver/extensions/action_helpers.py,sha256=yK_SDJCl-PeepC3C-zXJnfCLkcFwRz3NB_SH4JicFTw,9388
|
|
291
291
|
appium/webdriver/extensions/applications.py,sha256=Y-ewfdtgQ4CIRX4x_h7NLnjcn_qGVeXm3QCpHhBpPm4,6603
|
|
@@ -319,7 +319,7 @@ appium/webdriver/extensions/flutter_integration/__init__.py,sha256=wSUl6yC2TJNla
|
|
|
319
319
|
appium/webdriver/extensions/flutter_integration/flutter_commands.py,sha256=1bAczDwqr40Rrbln321cIVG83ghar7-27aerRAKbfMs,12306
|
|
320
320
|
appium/webdriver/extensions/flutter_integration/flutter_finder.py,sha256=fq3ORd4-PGUurJn0xLUMfqg7P9sE-Syv353brgcyGfM,2039
|
|
321
321
|
appium/webdriver/extensions/flutter_integration/scroll_directions.py,sha256=y1BCEbWHJ86ivj5quhln10uwV9fWsA6nsdQ18j1Ua3E,123
|
|
322
|
-
appium_python_client-6.
|
|
323
|
-
appium_python_client-6.
|
|
324
|
-
appium_python_client-6.
|
|
325
|
-
appium_python_client-6.
|
|
322
|
+
appium_python_client-6.2.0.dist-info/METADATA,sha256=7tsVPrEL3CR15Ev2TevX9tNQxy6jqipUH57WKVVd09M,22201
|
|
323
|
+
appium_python_client-6.2.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
|
|
324
|
+
appium_python_client-6.2.0.dist-info/licenses/LICENSE,sha256=QxeKfXNmPWCfFyrXiwdVzMFPFMK0nlBrKhYLUoIcqhk,11384
|
|
325
|
+
appium_python_client-6.2.0.dist-info/RECORD,,
|
|
File without changes
|
{appium_python_client-6.1.8.dist-info → appium_python_client-6.2.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|