Appium-Python-Client 6.0.6__py3-none-any.whl → 6.0.7__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/webdriver.py +5 -6
- {appium_python_client-6.0.6.dist-info → appium_python_client-6.0.7.dist-info}/METADATA +1 -1
- {appium_python_client-6.0.6.dist-info → appium_python_client-6.0.7.dist-info}/RECORD +5 -5
- {appium_python_client-6.0.6.dist-info → appium_python_client-6.0.7.dist-info}/WHEEL +1 -1
- {appium_python_client-6.0.6.dist-info → appium_python_client-6.0.7.dist-info}/licenses/LICENSE +0 -0
appium/webdriver/webdriver.py
CHANGED
|
@@ -314,11 +314,10 @@ class WebDriver(
|
|
|
314
314
|
|
|
315
315
|
if not self.caps:
|
|
316
316
|
raise ValueError('Driver capabilities must be defined')
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
logger.debug(message)
|
|
317
|
+
keys = (direct_protocol, direct_host, direct_port, direct_path)
|
|
318
|
+
if not set(keys).issubset(self.caps):
|
|
319
|
+
details = ' '.join(f"{key}: '{self.caps.get(key, '')}'" for key in keys)
|
|
320
|
+
logger.debug(f'Direct connect capabilities from server were:\n{details} ')
|
|
322
321
|
return
|
|
323
322
|
|
|
324
323
|
protocol = self.caps[direct_protocol]
|
|
@@ -459,7 +458,7 @@ class WebDriver(
|
|
|
459
458
|
"""
|
|
460
459
|
allowed_values = ['LANDSCAPE', 'PORTRAIT']
|
|
461
460
|
if value.upper() in allowed_values:
|
|
462
|
-
self.execute(Command.SET_SCREEN_ORIENTATION, {'orientation': value})
|
|
461
|
+
self.execute(Command.SET_SCREEN_ORIENTATION, {'orientation': value.upper()})
|
|
463
462
|
else:
|
|
464
463
|
raise WebDriverException("You can only set the orientation to 'LANDSCAPE' and 'PORTRAIT'")
|
|
465
464
|
|
|
@@ -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=hrtnGonxC9heAgd1Kf1B25IlFOW9N9gKcEC9VLX0rCs,19314
|
|
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
|
|
@@ -319,7 +319,7 @@ appium/webdriver/extensions/flutter_integration/__init__.py,sha256=wSUl6yC2TJNla
|
|
|
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.7.dist-info/METADATA,sha256=KjhRvFWdmfmYfic5_Tujn131PvmJ9Cg3gBVeuP4cSgA,21194
|
|
323
|
+
appium_python_client-6.0.7.dist-info/WHEEL,sha256=THafob7ofN-NsuMN7Mg4qZyHaQI7KkD-QlcQatYhXPo,87
|
|
324
|
+
appium_python_client-6.0.7.dist-info/licenses/LICENSE,sha256=QxeKfXNmPWCfFyrXiwdVzMFPFMK0nlBrKhYLUoIcqhk,11384
|
|
325
|
+
appium_python_client-6.0.7.dist-info/RECORD,,
|
{appium_python_client-6.0.6.dist-info → appium_python_client-6.0.7.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|