Skip to content

Commit e6844c3

Browse files
committed
Update scroll to elements description
1 parent 3b470f0 commit e6844c3

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Framework/Built_In_Automation/Mobile/CrossPlatform/Appium/BuiltInFunctions.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,16 +2424,16 @@ def Smart_Scroll_To_Element(data_set):
24242424
This action scrolls to a specific UI element in a macOS and iOS application using **Appium**, by directly manipulating the **scrollbar** (not via swipe/page).
24252425
24262426
- Locates the target element using properties like 'identifier', 'label', 'value', or 'title'.
2427-
- Scrolls via specified method: 'js', 'webdriver', or 'action chain'.
2428-
- Optional controls include alignment to top and additional scroll offset for fine-tuning visibility.
24292427
24302428
Data Input Fields:
24312429
2432-
| Action | Field Type | Value |
2433-
|---------------------------------------------|-------------------|----------------------------------------------------------------------------------------|
2434-
| Enter elements properties name that element you want to click.Example: "label" You can use "*" before the name to allow partial or case-insensitive match | element parameter | Enter value of the element’s properties that element you want to click.
2435-
Example: "search_omnibox_text_box" |
2436-
| scroll to element | selenium action | scroll |
2430+
| Field Name | Field Type | Description |
2431+
|------------------------|------------------------|----------------------------------------------------------------------------|
2432+
| attribute name | element parameter | User must enter the attribute value of the scrollable container. |
2433+
| attribute name | desired element parameter | User must enter the attribute value of the target element. |
2434+
| direction | scroll parameter | Direction of scroll: up / down / left / right. |
2435+
| max try | scroll parameter | Number of scroll attempts to find the element. |
2436+
| scroll to element | appium action | Triggers the scroll-to-element behavior. |
24372437
"""
24382438
sModuleInfo = inspect.currentframe().f_code.co_name + " : " + MODULE_NAME
24392439
skip_or_not = filter_optional_action_and_step_data(data_set, sModuleInfo)
@@ -3575,7 +3575,7 @@ def Keypress_Appium(data_set):
35753575
35763576
| Action | Sub Field | Value |
35773577
|------------|------------------|----------------------------------------------------------------------------------------|
3578-
| keypresss | appium action | A standard key (e.g., "enter", "tab") or raw code (e.g., "raw=36").<br>Use "long press" prefix for holding a key (e.g., "long press escape", "long press raw=53"). |
3578+
| keypresss | appium action | A standard key (e.g., "return", "tab") or raw code (e.g., "raw=36").<br>Use "long press" prefix for holding a key (e.g., "long press escape", "long press raw=53"). |
35793579
35803580
"""
35813581
sModuleInfo = inspect.currentframe().f_code.co_name + " : " + MODULE_NAME

0 commit comments

Comments
 (0)