Appium-Python-Client 6.1.3__py3-none-any.whl → 6.1.4__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.
@@ -133,7 +133,7 @@ class FlutterCommand:
133
133
  scroll_direction (ScrollDirection): The direction to scroll. Defaults to `ScrollDirection.DOWN`.
134
134
 
135
135
  KeywordArgs:
136
- scrollView (str): The view of the scroll. Default value is 'Scrollable'
136
+ scrollView (FlutterFinder | dict): Finder of the scrollable view. Defaults to the first `Scrollable` widget
137
137
  delta (int): delta for the scroll. Default value is 64
138
138
  maxScrolls (int): Max times to scroll. Default value is 15
139
139
  settleBetweenScrollsTimeout (float): settle timeout in milliseconds. Default value is 5000
@@ -144,6 +144,8 @@ class FlutterCommand:
144
144
  """
145
145
  opts['finder'] = scroll_to.to_dict()
146
146
  opts['scrollDirection'] = scroll_direction.value
147
+ if isinstance(opts.get('scrollView'), FlutterFinder):
148
+ opts['scrollView'] = opts['scrollView'].to_dict()
147
149
  return self.execute_flutter_command('scrollTillVisible', opts)
148
150
 
149
151
  def inject_mock_image(self, value: str) -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: Appium-Python-Client
3
- Version: 6.1.3
3
+ Version: 6.1.4
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
@@ -316,10 +316,10 @@ appium/webdriver/extensions/android/power.py,sha256=BD-fwZNY9aFeAZCRKa79OdOXI0ml
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
- appium/webdriver/extensions/flutter_integration/flutter_commands.py,sha256=q5FG6Iv8fzLjkzrLuPOZXLnPjAFB4gVWB7oG8BPQQoY,12146
319
+ appium/webdriver/extensions/flutter_integration/flutter_commands.py,sha256=1bAczDwqr40Rrbln321cIVG83ghar7-27aerRAKbfMs,12306
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=y1BCEbWHJ86ivj5quhln10uwV9fWsA6nsdQ18j1Ua3E,123
322
- appium_python_client-6.1.3.dist-info/METADATA,sha256=egvseFBa8pF3EJ3GNSraQ9fRpJnV5pgX5fO8OzsGH-k,22042
323
- appium_python_client-6.1.3.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
324
- appium_python_client-6.1.3.dist-info/licenses/LICENSE,sha256=QxeKfXNmPWCfFyrXiwdVzMFPFMK0nlBrKhYLUoIcqhk,11384
325
- appium_python_client-6.1.3.dist-info/RECORD,,
322
+ appium_python_client-6.1.4.dist-info/METADATA,sha256=PQUU3xirFx0Sll61PqYlPdj8LiByORgDMAKP5Y2pjj4,22042
323
+ appium_python_client-6.1.4.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
324
+ appium_python_client-6.1.4.dist-info/licenses/LICENSE,sha256=QxeKfXNmPWCfFyrXiwdVzMFPFMK0nlBrKhYLUoIcqhk,11384
325
+ appium_python_client-6.1.4.dist-info/RECORD,,