telemetry.internal.actions.drag | index telemetry/internal/actions/drag.py

`A Telemetry page_action that performs the "drag" action on pages.
Action parameters are:
- selector: If no selector is defined then the action attempts to drag the
document element on the page.
- element_function: CSS selector used to evaluate callback when test completes
- text: The element with exact text is selected.
- left_start_ratio: ratio of start point's left coordinate to the element
width.
- top_start_ratio: ratio of start point's top coordinate to the element height.
- left_end_ratio: ratio of end point's left coordinate to the element width.
- left_end_ratio: ratio of end point's top coordinate to the element height.
- speed_in_pixels_per_second: speed of the drag gesture in pixels per second.
- use_touch: boolean value to specify if gesture should use touch input or not.`

Modules
`` |  |
os | telemetry.internal.actions.page_action |  |

Classes
`` |  | telemetry.internal.actions.page_action.PageAction(__builtin__.object) DragAction
class DragAction(telemetry.internal.actions.page_action.PageAction)
`` |  | Method resolution order: DragAction telemetry.internal.actions.page_action.PageAction __builtin__.object Methods defined here: RunAction(self, tab) WillRunAction(self, tab) __init__(self, selector=None, text=None, element_function=None, left_start_ratio=None, top_start_ratio=None, left_end_ratio=None, top_end_ratio=None, speed_in_pixels_per_second=800, use_touch=False, synthetic_gesture_source='DEFAULT') Methods inherited from telemetry.internal.actions.page_action.PageAction: CleanUp(self, tab) Data descriptors inherited from telemetry.internal.actions.page_action.PageAction: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`