Appium-Python-Client 5.2.6__py3-none-any.whl → 5.3.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/options/android/__init__.py +2 -0
- appium/options/common/__init__.py +2 -0
- appium/options/flutter_integration/__init__.py +2 -0
- appium/options/gecko/__init__.py +2 -0
- appium/options/ios/__init__.py +2 -0
- appium/options/mac/__init__.py +2 -0
- appium/options/windows/__init__.py +2 -0
- appium/webdriver/__init__.py +2 -0
- appium/webdriver/extensions/android/nativekey.py +44 -0
- appium/webdriver/webdriver.py +4 -2
- {appium_python_client-5.2.6.dist-info → appium_python_client-5.3.0.dist-info}/METADATA +4 -2
- {appium_python_client-5.2.6.dist-info → appium_python_client-5.3.0.dist-info}/RECORD +14 -14
- {appium_python_client-5.2.6.dist-info → appium_python_client-5.3.0.dist-info}/WHEEL +1 -1
- {appium_python_client-5.2.6.dist-info → appium_python_client-5.3.0.dist-info}/licenses/LICENSE +0 -0
appium/options/gecko/__init__.py
CHANGED
appium/options/ios/__init__.py
CHANGED
appium/options/mac/__init__.py
CHANGED
appium/webdriver/__init__.py
CHANGED
|
@@ -13,6 +13,50 @@
|
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
class AndroidKeyMetastate:
|
|
17
|
+
"""Keyboard metastate constants for Android key events.
|
|
18
|
+
|
|
19
|
+
These constants can be combined with bitwise OR and passed to
|
|
20
|
+
Keyboard.press_keycode or Keyboard.long_press_keycode as metastate.
|
|
21
|
+
Values are based on android.view.KeyEvent.
|
|
22
|
+
https://developer.android.com/reference/android/view/KeyEvent
|
|
23
|
+
"""
|
|
24
|
+
|
|
25
|
+
# No modifiers.
|
|
26
|
+
NONE = 0
|
|
27
|
+
|
|
28
|
+
# This mask is used to check whether one of the SHIFT meta keys is pressed.
|
|
29
|
+
META_SHIFT_ON = 0x01
|
|
30
|
+
META_SHIFT_LEFT_ON = 0x40
|
|
31
|
+
META_SHIFT_RIGHT_ON = 0x80
|
|
32
|
+
|
|
33
|
+
# This mask is used to check whether one of the ALT meta keys is pressed.
|
|
34
|
+
META_ALT_ON = 0x02
|
|
35
|
+
META_ALT_LEFT_ON = 0x10
|
|
36
|
+
META_ALT_RIGHT_ON = 0x20
|
|
37
|
+
|
|
38
|
+
# This mask is used to check whether one of the SYM meta keys is pressed.
|
|
39
|
+
META_SYM_ON = 0x04
|
|
40
|
+
|
|
41
|
+
# This mask is used to check whether the FUNCTION meta key is pressed.
|
|
42
|
+
META_FUNCTION_ON = 0x08
|
|
43
|
+
|
|
44
|
+
# This mask is used to check whether one of the CTRL meta keys is pressed.
|
|
45
|
+
META_CTRL_ON = 0x1000
|
|
46
|
+
META_CTRL_LEFT_ON = 0x2000
|
|
47
|
+
META_CTRL_RIGHT_ON = 0x4000
|
|
48
|
+
|
|
49
|
+
# This mask is used to check whether one of the META meta keys is pressed.
|
|
50
|
+
META_META_ON = 0x10000
|
|
51
|
+
META_META_LEFT_ON = 0x20000
|
|
52
|
+
META_META_RIGHT_ON = 0x40000
|
|
53
|
+
|
|
54
|
+
# Lock key states.
|
|
55
|
+
META_CAPS_LOCK_ON = 0x100000
|
|
56
|
+
META_NUM_LOCK_ON = 0x200000
|
|
57
|
+
META_SCROLL_LOCK_ON = 0x400000
|
|
58
|
+
|
|
59
|
+
|
|
16
60
|
class AndroidKey:
|
|
17
61
|
# Key code constant: Unknown key code.
|
|
18
62
|
UNKNOWN = 0
|
appium/webdriver/webdriver.py
CHANGED
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Set, Tuple, Type, Union
|
|
16
16
|
|
|
17
|
-
from selenium import webdriver
|
|
18
17
|
from selenium.common.exceptions import (
|
|
19
18
|
InvalidArgumentException,
|
|
20
19
|
SessionNotCreatedException,
|
|
@@ -23,6 +22,9 @@ from selenium.common.exceptions import (
|
|
|
23
22
|
)
|
|
24
23
|
from selenium.webdriver.remote.command import Command as RemoteCommand
|
|
25
24
|
from selenium.webdriver.remote.remote_connection import RemoteConnection
|
|
25
|
+
|
|
26
|
+
# `selenium.webdriver.Remote` could be used instead, but Pyright wouldn't locate the class properly.
|
|
27
|
+
from selenium.webdriver.remote.webdriver import WebDriver as Remote
|
|
26
28
|
from typing_extensions import Self
|
|
27
29
|
|
|
28
30
|
from appium.common.logger import logger
|
|
@@ -208,7 +210,7 @@ def _get_remote_connection_and_client_config(
|
|
|
208
210
|
|
|
209
211
|
|
|
210
212
|
class WebDriver(
|
|
211
|
-
|
|
213
|
+
Remote,
|
|
212
214
|
ActionHelpers,
|
|
213
215
|
Activities,
|
|
214
216
|
Applications,
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Appium-Python-Client
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.3.0
|
|
4
4
|
Summary: Python client for Appium
|
|
5
5
|
Project-URL: Homepage, http://appium.io/
|
|
6
6
|
Project-URL: Repository, https://github.com/appium/python-client
|
|
7
7
|
Project-URL: Issues, https://github.com/appium/python-client/issues
|
|
8
8
|
Project-URL: Changelog, https://github.com/appium/python-client/blob/master/CHANGELOG.md
|
|
9
|
-
Author
|
|
9
|
+
Author: Isaac Murchie
|
|
10
|
+
Author-email: Kazuaki Matsuo <kazucocoa1117@gmail.com>
|
|
10
11
|
Maintainer: Kazuaki Matsuo, Mykola Mokhnach, Mori Atsushi
|
|
11
12
|
License-Expression: Apache-2.0
|
|
12
13
|
License-File: LICENSE
|
|
@@ -18,6 +19,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
18
19
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
20
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
21
|
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
23
|
Classifier: Topic :: Software Development :: Testing
|
|
22
24
|
Requires-Python: >=3.9
|
|
23
25
|
Requires-Dist: selenium<5.0,>=4.26
|
|
@@ -6,7 +6,7 @@ appium/common/exceptions.py,sha256=SytPqKUHdp0ptEdsNFZFZZho_udPnpW49Sr0-O3Uw8M,9
|
|
|
6
6
|
appium/common/helper.py,sha256=uSDBqTr3hmn3xeH777Bvpxygg49Z4i50-TwTkZ1kS4I,1398
|
|
7
7
|
appium/common/logger.py,sha256=jLs5z5i3iLLXdmGi_TiaOeg4kuDcSDzYVx0VlRMuqwM,863
|
|
8
8
|
appium/options/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
appium/options/android/__init__.py,sha256=
|
|
9
|
+
appium/options/android/__init__.py,sha256=6cxhxAqKPnE_AzFwV-92VdJBpauS9GSmjA_6IJ_fQWw,148
|
|
10
10
|
appium/options/android/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
appium/options/android/common/adb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
appium/options/android/common/adb/adb_exec_timeout_option.py,sha256=56rlNYXjtu0WK7tLi9Cn3bMFZVs7Qr0GbpN1l455IC0,1651
|
|
@@ -102,7 +102,7 @@ appium/options/android/uiautomator2/skip_server_installation_option.py,sha256=zZ
|
|
|
102
102
|
appium/options/android/uiautomator2/uiautomator2_server_install_timeout_option.py,sha256=OuLxXeWUS_koSrEJiRq-qJ5o4NfZ3y6C8X-5svXToMI,1880
|
|
103
103
|
appium/options/android/uiautomator2/uiautomator2_server_launch_timeout_option.py,sha256=O9PvBEX24nLq6HoJnmTSENhbdCz3HF0pMCYnLVvT8WM,1871
|
|
104
104
|
appium/options/android/uiautomator2/uiautomator2_server_read_timeout_option.py,sha256=M3p79MrKn7nOBna63ctXgp9NjBZL6O19AacllB6hT7I,2003
|
|
105
|
-
appium/options/common/__init__.py,sha256=
|
|
105
|
+
appium/options/common/__init__.py,sha256=Mz8KbUppDC_GNoSZtcm7qBcOkX8-IBOHU3toxZNb4n0,61
|
|
106
106
|
appium/options/common/app_option.py,sha256=8gAGkkAAPJWDHDeimNqJWlvkUAPI0Ty8rkmQKDBCpW0,1395
|
|
107
107
|
appium/options/common/auto_web_view_option.py,sha256=wQaoFQIq_h7WMHUDkRm2eUwN1u1k2tJ0nGoDbgDxMO8,1484
|
|
108
108
|
appium/options/common/automation_name_option.py,sha256=iaoKoFhTJCcMG2i9rKB5NbnCE4WzI7GuhXs6DAof9Qg,1393
|
|
@@ -130,19 +130,19 @@ appium/options/common/supports_capabilities.py,sha256=76lZNKBXQpnT7JggD7y_j2nOx7
|
|
|
130
130
|
appium/options/common/system_host_option.py,sha256=oqW8r00zJ6dqAYuLpfe4AmYhKVWc8Iw8Zgl9ntqA1WA,1382
|
|
131
131
|
appium/options/common/system_port_option.py,sha256=0Jhl4ny3v7EkZ9YmWgFlq0oeLF-ahPEE7_LO7nrWYTQ,1386
|
|
132
132
|
appium/options/common/udid_option.py,sha256=25PzazjnRJ6xqDRzy00fUM3Zae2XV6XXxsm9Td7EVvA,1285
|
|
133
|
-
appium/options/flutter_integration/__init__.py,sha256=
|
|
133
|
+
appium/options/flutter_integration/__init__.py,sha256=eqWlzN3nUXDUVEplsdG2HtNTyv8kmmRniqcUkGkYxbc,631
|
|
134
134
|
appium/options/flutter_integration/base.py,sha256=wZT0ahy1YINMwzUKBkHMH2FnjalSoo3k2WNF_YN6erw,1701
|
|
135
135
|
appium/options/flutter_integration/flutter_element_wait_timeout_option.py,sha256=2QeF_-3lzlyVWp72OQS_77OyotJb3Xp_JwGm64hrZYo,2105
|
|
136
136
|
appium/options/flutter_integration/flutter_enable_mock_camera_option.py,sha256=UhHPj9W-bgh4JpNtknf2_R-2ZHIfR2CNPfgqWnkCGQU,1757
|
|
137
137
|
appium/options/flutter_integration/flutter_server_launch_timeout_option.py,sha256=_wOn20iA42JiAq3ciXS3pTMgSgUuxtWtMktfWTgLuU0,2128
|
|
138
138
|
appium/options/flutter_integration/flutter_system_port_option.py,sha256=4rTk-M_EZtqpKLQM6O8xIGGhjIVE9Rbj_Kz9QlthbhM,1654
|
|
139
|
-
appium/options/gecko/__init__.py,sha256=
|
|
139
|
+
appium/options/gecko/__init__.py,sha256=ZAfwH3xL8QAI1iWWBvtStDGW07xa4Ems0dlvyYngrYc,59
|
|
140
140
|
appium/options/gecko/android_storage_option.py,sha256=hPajPDlSieS7PXp_LetfPtKaQVTtJA5Rpf1u5OkMP4E,1458
|
|
141
141
|
appium/options/gecko/base.py,sha256=lKClLGzycdIItV0w5kWhD7ePQoIsVonrTsF2LeFHU2s,1893
|
|
142
142
|
appium/options/gecko/firefox_options_option.py,sha256=txmcjJZYIiTSEN5kX-t5hBxdLRdfl-pGhokg4PGfCmE,1441
|
|
143
143
|
appium/options/gecko/marionette_port_option.py,sha256=wFn2qdW_z_okZuUFpjLAVf9u__ACTgOGtKOL3vKnnQE,1757
|
|
144
144
|
appium/options/gecko/verbosity_option.py,sha256=hJ9js_lnItNpaR32lHJ8qOUOfCtkaF4wv0wS7ExxzXk,1409
|
|
145
|
-
appium/options/ios/__init__.py,sha256=
|
|
145
|
+
appium/options/ios/__init__.py,sha256=fMWJhCeAEuiXF6xJfy1VXZ1Q0XsdNQ0TyLI7tu_DKTc,130
|
|
146
146
|
appium/options/ios/safari/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
147
147
|
appium/options/ios/safari/automatic_inspection_option.py,sha256=0w_fzWFb0QYgW-mlrJqWI1pcKNGUZrENQKS0m9h_kgc,1699
|
|
148
148
|
appium/options/ios/safari/automatic_profiling_option.py,sha256=mLOvySfiwBOihIGWu18Vc4ocMMY_GQEApv6Y1JvP06o,1624
|
|
@@ -245,7 +245,7 @@ appium/options/ios/xcuitest/webview/safari_web_inspector_max_frame_length_option
|
|
|
245
245
|
appium/options/ios/xcuitest/webview/webkit_response_timeout_option.py,sha256=M4ADIWfdJlLf0Wmdqt1vewLxMCoSZyVoswhJkURX0zc,1759
|
|
246
246
|
appium/options/ios/xcuitest/webview/webview_connect_retries_option.py,sha256=sjjRUj_wFomwXjVE_vlayRca27S_GzRkahGLxzymGbY,1546
|
|
247
247
|
appium/options/ios/xcuitest/webview/webview_connect_timeout_option.py,sha256=vwgRkUXZv326MKmvGu4G2vMKAX742ctWwxuDhu1iEcs,1747
|
|
248
|
-
appium/options/mac/__init__.py,sha256=
|
|
248
|
+
appium/options/mac/__init__.py,sha256=DE5dxlSCgHvr8cGzetKWW6wZSWYhnHjpOP9omGyEXGc,62
|
|
249
249
|
appium/options/mac/mac2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
250
250
|
appium/options/mac/mac2/app_path_option.py,sha256=POhXFCUfN5HLXu2C6yz6zcESIq-xq0evFzKTDmVsxSc,1386
|
|
251
251
|
appium/options/mac/mac2/arguments_option.py,sha256=dCbnWEGGZMjKkCiKVp76IwoEwmFHk9lIteP-UEAdnJo,1468
|
|
@@ -256,7 +256,7 @@ appium/options/mac/mac2/server_startup_timeout_option.py,sha256=-PQphV_oH1nYhR0h
|
|
|
256
256
|
appium/options/mac/mac2/show_server_logs_option.py,sha256=TKeX_1QECxggkmwdPq0NOABBWgwGBfKjTgcoghmUu6E,1456
|
|
257
257
|
appium/options/mac/mac2/skip_app_kill_option.py,sha256=RQVAQIXL8H0zQBklaHYL7g4OtH-3BMKQrUwG6Bb10rM,1535
|
|
258
258
|
appium/options/mac/mac2/web_driver_agent_mac_url_option.py,sha256=_wVW8mAvdkKh7bsVn7tYuLGh4NC-bszXpF3VpAQYt-M,1557
|
|
259
|
-
appium/options/windows/__init__.py,sha256=
|
|
259
|
+
appium/options/windows/__init__.py,sha256=9pgykFlxAiX9Sw7HpH9lRCTBJMDtTN1zy50HMfH3Exw,71
|
|
260
260
|
appium/options/windows/windows/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
261
261
|
appium/options/windows/windows/app_arguments_option.py,sha256=_t_tNCbFxg06avVQrhaDzM-OC1UmFO8YxnGcMPlGrJ0,1506
|
|
262
262
|
appium/options/windows/windows/app_top_level_window_option.py,sha256=LwZwjqpLF-kaAEaZ1qIls4iUzqXbFiJ-PlLDSkoWO58,1625
|
|
@@ -271,7 +271,7 @@ appium/protocols/webdriver/can_execute_commands.py,sha256=6LT6P2aCFfLyf9hRK5_BDG
|
|
|
271
271
|
appium/protocols/webdriver/can_execute_scripts.py,sha256=javXC5l4ZdCsf8PFzEV7atuBtt1mKS8iTnmWGO3dBcE,981
|
|
272
272
|
appium/protocols/webdriver/can_find_elements.py,sha256=dMZFsy8PyckN5mGgLivowhUNY53ROQHzWotmEAOt6LM,1204
|
|
273
273
|
appium/protocols/webdriver/can_remember_extension_presence.py,sha256=B8Irtfv84LYEkEKTiqtYuH8j_7aWuMXPKSDy5FAHfhA,803
|
|
274
|
-
appium/webdriver/__init__.py,sha256=
|
|
274
|
+
appium/webdriver/__init__.py,sha256=oT-lIYWpqD562rbXy36HlS03pKfW48BIxqZsqt1XEm0,730
|
|
275
275
|
appium/webdriver/appium_connection.py,sha256=pJUem5QOIgxzyhV53j-_FBw-GEvBwz5TA6fi1GMG_mg,2411
|
|
276
276
|
appium/webdriver/appium_service.py,sha256=UL81erID1uhHTY_G22wyvy9eoRtEZyNDghUrsJd8cjE,12521
|
|
277
277
|
appium/webdriver/applicationstate.py,sha256=zUPaMt4o4mdAtWP6FapYLJju_tqO6FmMcYFpbFz83dM,735
|
|
@@ -283,7 +283,7 @@ appium/webdriver/errorhandler.py,sha256=1ZAqOf0fLZou3UkuE0sUzsIdUPm3hRU2PdxZCP6-
|
|
|
283
283
|
appium/webdriver/locator_converter.py,sha256=dMuYbnsm5X8IOCA-A_tEJtukLoBXK2YKG-bEBUBsoDQ,1024
|
|
284
284
|
appium/webdriver/mobilecommand.py,sha256=WUWAGTFFO11-Y5w6N-sQvsTkH8giDn8R8yrEUi8poh4,3347
|
|
285
285
|
appium/webdriver/switch_to.py,sha256=72NDbY-O8oQgAfEVC3ck3K5xE9Qo4hr8x4OWiK5lvjY,1205
|
|
286
|
-
appium/webdriver/webdriver.py,sha256=
|
|
286
|
+
appium/webdriver/webdriver.py,sha256=aJSRqmHrCErHhjbHBcWhB_kNJhZTxdHcUZaNRA4Zrb4,19216
|
|
287
287
|
appium/webdriver/webelement.py,sha256=DLbRAuEU3qCZi8V70WXYoj7Sy-UqH9fPSXowPSkgTmY,4438
|
|
288
288
|
appium/webdriver/common/__init__.py,sha256=4MapoJ3p5LiP0AsHMgL2xoPTIFno4dcH1GSoxaZzv4w,623
|
|
289
289
|
appium/webdriver/common/appiumby.py,sha256=1sFzgJht8v9pO0fG-uK1jgbb8zMJwfBy3LJH15OPqq8,1785
|
|
@@ -310,7 +310,7 @@ appium/webdriver/extensions/android/activities.py,sha256=aETvDVOtZOL2DGqoCCW-ieL
|
|
|
310
310
|
appium/webdriver/extensions/android/common.py,sha256=Lwk3CmMj2bTH9fn9i7NSaMvduQG9L-Yxxeyyli5U6HU,2441
|
|
311
311
|
appium/webdriver/extensions/android/display.py,sha256=Jl50B4gEJ5br32c4Hgm7hob05fqXbLVB7snmv_9SeLQ,1878
|
|
312
312
|
appium/webdriver/extensions/android/gsm.py,sha256=Ez7f90nGoL5hA1ocyEOcNDA3pFG6K63hZNWjqe7RlvU,5413
|
|
313
|
-
appium/webdriver/extensions/android/nativekey.py,sha256=
|
|
313
|
+
appium/webdriver/extensions/android/nativekey.py,sha256=rF4pYkGUJncCnzpK98L_NVAxGwoFmvlD8t9ccKvYIf4,31513
|
|
314
314
|
appium/webdriver/extensions/android/network.py,sha256=w10R_lY8gH7u30BU9Ff9tMUvko5bmOkhxIuP-exL0ZA,7233
|
|
315
315
|
appium/webdriver/extensions/android/performance.py,sha256=MF_FbnVoT9pV5mn1fvZGGoQQqKLzESjzfykjXgpGCd8,3555
|
|
316
316
|
appium/webdriver/extensions/android/power.py,sha256=kSMzlWhCtIPp6d3fRYP7gyrN0YVLNeXEQo-kjJ7Ik-Y,2990
|
|
@@ -320,7 +320,7 @@ appium/webdriver/extensions/flutter_integration/__init__.py,sha256=wSUl6yC2TJNla
|
|
|
320
320
|
appium/webdriver/extensions/flutter_integration/flutter_commands.py,sha256=zKWaVM-Vaqz-FxItSeYI7YXvld5DPrKhrXyrYPbRbFw,12125
|
|
321
321
|
appium/webdriver/extensions/flutter_integration/flutter_finder.py,sha256=P4rQpiye73aRBq5VOSt1vBD7rTDHrEv0052B1u81_YY,2184
|
|
322
322
|
appium/webdriver/extensions/flutter_integration/scroll_directions.py,sha256=CkOv7k21SMe-h2-EYSZ6MBKBGTRC1csQ-tuowHgMn0E,85
|
|
323
|
-
appium_python_client-5.
|
|
324
|
-
appium_python_client-5.
|
|
325
|
-
appium_python_client-5.
|
|
326
|
-
appium_python_client-5.
|
|
323
|
+
appium_python_client-5.3.0.dist-info/METADATA,sha256=8Vh8XvKeuYHIR-cmaw55bqmQyZEJ-Nx2XVmAQqXrKag,20870
|
|
324
|
+
appium_python_client-5.3.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
325
|
+
appium_python_client-5.3.0.dist-info/licenses/LICENSE,sha256=QxeKfXNmPWCfFyrXiwdVzMFPFMK0nlBrKhYLUoIcqhk,11384
|
|
326
|
+
appium_python_client-5.3.0.dist-info/RECORD,,
|
{appium_python_client-5.2.6.dist-info → appium_python_client-5.3.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|