Appium-Python-Client 6.0.7__py3-none-any.whl → 6.0.8__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/espresso/activity_options_option.py +1 -1
- appium/options/android/espresso/espresso_build_config_option.py +1 -1
- appium/options/android/espresso/intent_options_option.py +1 -1
- appium/options/mac/mac2/base.py +2 -2
- appium/webdriver/extensions/android/gsm.py +1 -1
- appium/webdriver/extensions/android/power.py +2 -2
- appium/webdriver/webdriver.py +3 -2
- {appium_python_client-6.0.7.dist-info → appium_python_client-6.0.8.dist-info}/METADATA +5 -4
- {appium_python_client-6.0.7.dist-info → appium_python_client-6.0.8.dist-info}/RECORD +11 -11
- {appium_python_client-6.0.7.dist-info → appium_python_client-6.0.8.dist-info}/WHEEL +1 -1
- {appium_python_client-6.0.7.dist-info → appium_python_client-6.0.8.dist-info}/licenses/LICENSE +0 -0
|
@@ -34,7 +34,7 @@ class ActivityOptionsOption(SupportsCapabilities):
|
|
|
34
34
|
"""
|
|
35
35
|
The mapping of custom options for the main app activity that is going to
|
|
36
36
|
be started. Check
|
|
37
|
-
https://github.
|
|
37
|
+
https://appium.github.io/appium-espresso-driver/latest/reference/capabilities/#activityoptions
|
|
38
38
|
for more details.
|
|
39
39
|
"""
|
|
40
40
|
self.set_capability(ACTIVITY_OPTIONS, value)
|
|
@@ -40,7 +40,7 @@ class EspressoBuildConfigOption(SupportsCapabilities):
|
|
|
40
40
|
"""
|
|
41
41
|
This config allows to customize several important properties of
|
|
42
42
|
Espresso server. Refer to
|
|
43
|
-
https://github.
|
|
43
|
+
https://appium.github.io/appium-espresso-driver/latest/reference/capabilities/#espressobuildconfig
|
|
44
44
|
for more information on how to properly construct such config.
|
|
45
45
|
"""
|
|
46
46
|
self.set_capability(ESPRESSO_BUILD_CONFIG, value if isinstance(value, str) else json.dumps(value, ensure_ascii=False))
|
|
@@ -35,7 +35,7 @@ class IntentOptionsOption(SupportsCapabilities):
|
|
|
35
35
|
"""
|
|
36
36
|
The mapping of custom options for the intent that is going to be passed
|
|
37
37
|
to the main app activity. Check
|
|
38
|
-
https://github.
|
|
38
|
+
https://appium.github.io/appium-espresso-driver/latest/reference/capabilities/#intentoptions
|
|
39
39
|
for more details.
|
|
40
40
|
"""
|
|
41
41
|
self.set_capability(INTENT_OPTIONS, value)
|
appium/options/mac/mac2/base.py
CHANGED
|
@@ -56,7 +56,7 @@ class Mac2Options(
|
|
|
56
56
|
A mapping containing either 'script' or 'command' key. The value of
|
|
57
57
|
each key must be a valid AppleScript script or command to be
|
|
58
58
|
executed after before Mac2Driver session is started. See
|
|
59
|
-
https://github.
|
|
59
|
+
https://appium.github.io/appium-mac2-driver/latest/reference/capabilities/#prerun
|
|
60
60
|
for more details.
|
|
61
61
|
"""
|
|
62
62
|
PrerunOption.prerun.fset(self, value) # type: ignore
|
|
@@ -67,7 +67,7 @@ class Mac2Options(
|
|
|
67
67
|
A mapping containing either 'script' or 'command' key. The value of
|
|
68
68
|
each key must be a valid AppleScript script or command to be
|
|
69
69
|
executed after Mac2Driver session is stopped. See
|
|
70
|
-
https://github.
|
|
70
|
+
https://appium.github.io/appium-mac2-driver/latest/reference/capabilities/#postrun
|
|
71
71
|
for more details.
|
|
72
72
|
"""
|
|
73
73
|
PostrunOption.postrun.fset(self, value) # type: ignore
|
|
@@ -113,7 +113,7 @@ class Gsm(CanExecuteCommands, CanExecuteScripts):
|
|
|
113
113
|
Returns:
|
|
114
114
|
Union['WebDriver', 'Gsm']: Self instance
|
|
115
115
|
"""
|
|
116
|
-
ext_name = 'mobile:
|
|
116
|
+
ext_name = 'mobile: gsmVoice'
|
|
117
117
|
constants = extract_const_attributes(GsmVoiceState)
|
|
118
118
|
if state not in constants.values():
|
|
119
119
|
logger.warning(
|
|
@@ -47,7 +47,7 @@ class Power(CanExecuteCommands, CanExecuteScripts):
|
|
|
47
47
|
|
|
48
48
|
Android only.
|
|
49
49
|
|
|
50
|
-
Requires the Appium driver to support the `mobile:
|
|
50
|
+
Requires the Appium driver to support the `mobile: powerAc` execute method.
|
|
51
51
|
|
|
52
52
|
Args:
|
|
53
53
|
ac_state: The power ac state to be set. Use `Power.AC_OFF`, `Power.AC_ON`
|
|
@@ -59,7 +59,7 @@ class Power(CanExecuteCommands, CanExecuteScripts):
|
|
|
59
59
|
Returns:
|
|
60
60
|
Union['WebDriver', 'Power']: Self instance
|
|
61
61
|
"""
|
|
62
|
-
ext_name = 'mobile:
|
|
62
|
+
ext_name = 'mobile: powerAc'
|
|
63
63
|
args = {'state': ac_state}
|
|
64
64
|
self.execute_script(ext_name, args)
|
|
65
65
|
return self
|
appium/webdriver/webdriver.py
CHANGED
|
@@ -457,8 +457,9 @@ class WebDriver(
|
|
|
457
457
|
driver.orientation = 'landscape'
|
|
458
458
|
"""
|
|
459
459
|
allowed_values = ['LANDSCAPE', 'PORTRAIT']
|
|
460
|
-
|
|
461
|
-
|
|
460
|
+
v = value.upper()
|
|
461
|
+
if v in allowed_values:
|
|
462
|
+
self.execute(Command.SET_SCREEN_ORIENTATION, {'orientation': v})
|
|
462
463
|
else:
|
|
463
464
|
raise WebDriverException("You can only set the orientation to 'LANDSCAPE' and 'PORTRAIT'")
|
|
464
465
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: Appium-Python-Client
|
|
3
|
-
Version: 6.0.
|
|
3
|
+
Version: 6.0.8
|
|
4
4
|
Summary: Python client for Appium
|
|
5
5
|
Project-URL: Homepage, https://appium.io/
|
|
6
6
|
Project-URL: Repository, https://github.com/appium/python-client
|
|
@@ -19,9 +19,10 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
21
|
Classifier: Programming Language :: Python :: 3.14
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
22
23
|
Classifier: Topic :: Software Development :: Testing
|
|
23
24
|
Requires-Python: >=3.10
|
|
24
|
-
Requires-Dist: selenium<5.0,>=4.
|
|
25
|
+
Requires-Dist: selenium<5.0,>=4.51.0
|
|
25
26
|
Requires-Dist: typing-extensions~=4.16
|
|
26
27
|
Description-Content-Type: text/markdown
|
|
27
28
|
|
|
@@ -131,9 +132,9 @@ For example, some changes in the Selenium binding could break the Appium client.
|
|
|
131
132
|
- Please check the [Usage](#usage) below as an example.
|
|
132
133
|
- Not a "new" change, but the `desired_capabilities` argument has been removed since v3.
|
|
133
134
|
- Replacement
|
|
134
|
-
- `start_activity` method: Please use [`mobile: startActivity`](https://github.
|
|
135
|
+
- `start_activity` method: Please use [`mobile: startActivity`](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-startactivity)
|
|
135
136
|
- `launch_app`, `close_app` and `reset` methods: Please refer to https://github.com/appium/appium/issues/15807
|
|
136
|
-
- `available_ime_engines`, `is_ime_active`, `activate_ime_engine`, `deactivate_ime_engine` and `active_ime_engine` methods: Please use [`mobile: shell`](https://github.
|
|
137
|
+
- `available_ime_engines`, `is_ime_active`, `activate_ime_engine`, `deactivate_ime_engine` and `active_ime_engine` methods: Please use [`mobile: shell`](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-shell)
|
|
137
138
|
- `set_value` and `set_text` methods: Please use `element.send_keys` or `send_keys` by W3C Actions
|
|
138
139
|
- Removal
|
|
139
140
|
- `end_test_coverage` method is no longer available
|
|
@@ -85,13 +85,13 @@ appium/options/android/common/signing/keystore_path_option.py,sha256=cgj55Ydool1
|
|
|
85
85
|
appium/options/android/common/signing/no_sign_option.py,sha256=ztzyrW7B0U_zkoKeJ38pWNlay7YfPsxR5CQEE9UJ1WE,1616
|
|
86
86
|
appium/options/android/common/signing/use_keystore_option.py,sha256=Pl-YMpM-xE5MQcUwYyviZXBbZ21HT8vAiQC8A3D7Xzw,1606
|
|
87
87
|
appium/options/android/espresso/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
88
|
-
appium/options/android/espresso/activity_options_option.py,sha256=
|
|
88
|
+
appium/options/android/espresso/activity_options_option.py,sha256=V9264BEZLRR8cFK64loC4bSDUO-quxQjDCGFvKOIxK4,1517
|
|
89
89
|
appium/options/android/espresso/app_locale_option.py,sha256=RInIFOYpQmqvpW-kfU9WNs90lcOP1eTlj8wimH_1-t0,1778
|
|
90
90
|
appium/options/android/espresso/base.py,sha256=5SMrNyXqFB0yLFojXntIUW-v6A1wNUG7qyzqfEVNXZY,11609
|
|
91
|
-
appium/options/android/espresso/espresso_build_config_option.py,sha256=
|
|
91
|
+
appium/options/android/espresso/espresso_build_config_option.py,sha256=9Vvtcg9lQ6utFBZhv89raztfzNq1fg7EYBkNMZgvxQQ,1846
|
|
92
92
|
appium/options/android/espresso/espresso_server_launch_timeout_option.py,sha256=ga_gL7wBpRpbYM0Huq-KIYebuaPFtSzyjtBoT04dmRE,1769
|
|
93
93
|
appium/options/android/espresso/force_espresso_rebuild_option.py,sha256=LtmZ0jvoDtzmbHZ-KxXeNbHPG7QWtHLGDlaWpkjJVQM,1629
|
|
94
|
-
appium/options/android/espresso/intent_options_option.py,sha256=
|
|
94
|
+
appium/options/android/espresso/intent_options_option.py,sha256=ThQrnVdqqsjL9cxLciXlq1tRns927TrMPxLWqHaAq6Q,1553
|
|
95
95
|
appium/options/android/espresso/show_gradle_log_option.py,sha256=IGvk3rrCl4ZusMgoMJ18r5IANRa8-nLs091HmMz52hU,1433
|
|
96
96
|
appium/options/android/uiautomator2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
97
97
|
appium/options/android/uiautomator2/base.py,sha256=ZoMReoHgpDTpT_2JNA-0LhbDGZrLHUSUs-YUfw8u3RE,11799
|
|
@@ -249,7 +249,7 @@ appium/options/mac/__init__.py,sha256=DE5dxlSCgHvr8cGzetKWW6wZSWYhnHjpOP9omGyEXG
|
|
|
249
249
|
appium/options/mac/mac2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
250
250
|
appium/options/mac/mac2/app_path_option.py,sha256=RPmgdsjFiG4UpAopEYoXYh5BbIc5Yj1pd25VN2IGHx0,1342
|
|
251
251
|
appium/options/mac/mac2/arguments_option.py,sha256=70B9JK8h99Ed2CmboC3Cjy9DcI5RSnnwS6NR6hU8m_s,1431
|
|
252
|
-
appium/options/mac/mac2/base.py,sha256=
|
|
252
|
+
appium/options/mac/mac2/base.py,sha256=zKYQum-Hh3JpDHJ7ElsGzAazrRjmuQuQWbY64suKwow,4810
|
|
253
253
|
appium/options/mac/mac2/bootstrap_root_option.py,sha256=u8uEz8XqVkpr9i2IxcNebRF8EFVyc3GCedH0C85FLZ0,1581
|
|
254
254
|
appium/options/mac/mac2/environment_option.py,sha256=LVlKqcidwm0U8zihtNVWQVm8gCkds6fDUJ45eIs3cOQ,1600
|
|
255
255
|
appium/options/mac/mac2/server_startup_timeout_option.py,sha256=WSXJIDGA3CAOg6HSJ-SpgjmAmLkEurvvPkOCfmumAtw,1717
|
|
@@ -282,7 +282,7 @@ appium/webdriver/errorhandler.py,sha256=_aT6Qo64ARGch7evG2Uku4-l8wkDaM1R2o06PWXx
|
|
|
282
282
|
appium/webdriver/locator_converter.py,sha256=uUdJsX1o0E8x-StcJvO5gFFJbcRzhOmySfgPqJ0UaU4,999
|
|
283
283
|
appium/webdriver/mobilecommand.py,sha256=B_okscraJMPrN4hSyetSNddkOZ0PyTzsQvBdYHHQqvM,3162
|
|
284
284
|
appium/webdriver/switch_to.py,sha256=kom9MHNOdZuEG0ALDuaw27NHvtsRDnl-sy_XNAd-Rl4,1174
|
|
285
|
-
appium/webdriver/webdriver.py,sha256=
|
|
285
|
+
appium/webdriver/webdriver.py,sha256=G0bx_EwubHhMl-Pe11TXeMDHuaHGS-quGuLD3FlqLnU,19316
|
|
286
286
|
appium/webdriver/webelement.py,sha256=U3B2clH3lXHN_cPahNEAIsIaFWJwvrizWYTpQjnSay4,4417
|
|
287
287
|
appium/webdriver/common/__init__.py,sha256=4MapoJ3p5LiP0AsHMgL2xoPTIFno4dcH1GSoxaZzv4w,623
|
|
288
288
|
appium/webdriver/common/appiumby.py,sha256=1sFzgJht8v9pO0fG-uK1jgbb8zMJwfBy3LJH15OPqq8,1785
|
|
@@ -308,18 +308,18 @@ appium/webdriver/extensions/android/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQ
|
|
|
308
308
|
appium/webdriver/extensions/android/activities.py,sha256=8BlnX26YYf7lVYBaaETFl0gROdGt4Wwxu-J6-BraBBA,2100
|
|
309
309
|
appium/webdriver/extensions/android/common.py,sha256=WDQNL8L0fR27pC-8tt0OvTIJBDWQ1bYST18tWhAjZTo,1275
|
|
310
310
|
appium/webdriver/extensions/android/display.py,sha256=2nCgpHdGeSbkoeEYSBGqjoDYUl8zsNcuXJG-mncpNZs,1263
|
|
311
|
-
appium/webdriver/extensions/android/gsm.py,sha256=
|
|
311
|
+
appium/webdriver/extensions/android/gsm.py,sha256=Du4tENvO0rEr4xDWc_udNnCeWt9J3WY2LkDQFm6LCS8,4021
|
|
312
312
|
appium/webdriver/extensions/android/nativekey.py,sha256=rF4pYkGUJncCnzpK98L_NVAxGwoFmvlD8t9ccKvYIf4,31513
|
|
313
313
|
appium/webdriver/extensions/android/network.py,sha256=Yr9otoS-32YZ3XQ62jTGaGfctNih8p-hRKjRhVnibmI,5839
|
|
314
314
|
appium/webdriver/extensions/android/performance.py,sha256=9eK3g9enokxYEOLyprg2GWVnQZrk5-I5YrBOrmWJd6E,2513
|
|
315
|
-
appium/webdriver/extensions/android/power.py,sha256=
|
|
315
|
+
appium/webdriver/extensions/android/power.py,sha256=BD-fwZNY9aFeAZCRKa79OdOXI0mlb-prHWZ-IX5IQ3c,2135
|
|
316
316
|
appium/webdriver/extensions/android/sms.py,sha256=ZXvZ0DpA_X5iojNDlh91O8tYJUmNb28S_VlnSpijwPw,1488
|
|
317
317
|
appium/webdriver/extensions/android/system_bars.py,sha256=1vCIwg5UGpY1GfCoXFPL9nfSVjafAGVsTonBMrmIwaw,1530
|
|
318
318
|
appium/webdriver/extensions/flutter_integration/__init__.py,sha256=wSUl6yC2TJNla7xbHXkCfn9J1LpQs9UIx8oOs6V8kZA,567
|
|
319
319
|
appium/webdriver/extensions/flutter_integration/flutter_commands.py,sha256=FwNqIykRyMAU8-344GTlceBOxLbS-bA9bfGX4iJpHxw,11985
|
|
320
320
|
appium/webdriver/extensions/flutter_integration/flutter_finder.py,sha256=HH9vGAouJuHzp29Jam_lQGrh67PDq6MxU5Ifewf7C5w,2164
|
|
321
321
|
appium/webdriver/extensions/flutter_integration/scroll_directions.py,sha256=CkOv7k21SMe-h2-EYSZ6MBKBGTRC1csQ-tuowHgMn0E,85
|
|
322
|
-
appium_python_client-6.0.
|
|
323
|
-
appium_python_client-6.0.
|
|
324
|
-
appium_python_client-6.0.
|
|
325
|
-
appium_python_client-6.0.
|
|
322
|
+
appium_python_client-6.0.8.dist-info/METADATA,sha256=C_fosgonJczmFzQG0ZAks7xREgj_9Y6ugPVuFGqmWbg,21273
|
|
323
|
+
appium_python_client-6.0.8.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
324
|
+
appium_python_client-6.0.8.dist-info/licenses/LICENSE,sha256=QxeKfXNmPWCfFyrXiwdVzMFPFMK0nlBrKhYLUoIcqhk,11384
|
|
325
|
+
appium_python_client-6.0.8.dist-info/RECORD,,
|
{appium_python_client-6.0.7.dist-info → appium_python_client-6.0.8.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|