| OLD | NEW |
| (Empty) |
| 1 | |
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | |
| 3 <html><head><title>Python: module telemetry.internal.actions.drag</title> | |
| 4 <meta charset="utf-8"> | |
| 5 </head><body bgcolor="#f0f0f8"> | |
| 6 | |
| 7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | |
| 8 <tr bgcolor="#7799ee"> | |
| 9 <td valign=bottom> <br> | |
| 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.int
ernal.actions.html"><font color="#ffffff">actions</font></a>.drag</strong></big>
</big></font></td | |
| 11 ><td align=right valign=bottom | |
| 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href=
"../telemetry/internal/actions/drag.py">telemetry/internal/actions/drag.py</a></
font></td></tr></table> | |
| 13 <p><tt>A Telemetry page_action that performs the&nb
sp;"drag" action on pages.<br> | |
| 14 <br> | |
| 15 Action parameters are:<br> | |
| 16 - selector: If no selector is defined then&nb
sp;the action attempts to drag the<br> | |
| 17 document
element on the page.<br> | |
| 18 - element_function: CSS selector used to evaluate&
nbsp;callback when test completes<br> | |
| 19 - text: The element with exact text is s
elected.<br> | |
| 20 - left_start_ratio: ratio of start point's left&nb
sp;coordinate to the element<br> | |
| 21 &n
bsp; width.<br> | |
| 22 - top_start_ratio: ratio of start point's top 
;coordinate to the element height.<br> | |
| 23 - left_end_ratio: ratio of end point's left c
oordinate to the element width.<br> | |
| 24 - left_end_ratio: ratio of end point's top co
ordinate to the element height.<br> | |
| 25 - speed_in_pixels_per_second: speed of the drag ge
sture in pixels per second.<br> | |
| 26 - use_touch: boolean value to specify if gest
ure should use touch input or not.</tt></p> | |
| 27 <p> | |
| 28 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 29 <tr bgcolor="#aa55cc"> | |
| 30 <td colspan=3 valign=bottom> <br> | |
| 31 <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big
></font></td></tr> | |
| 32 | |
| 33 <tr><td bgcolor="#aa55cc"><tt> </tt></td><td>
</td> | |
| 34 <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=t
op><a href="os.html">os</a><br> | |
| 35 </td><td width="25%" valign=top><a href="telemetry.internal.actions.page_action.
html">telemetry.internal.actions.page_action</a><br> | |
| 36 </td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></tabl
e></td></tr></table><p> | |
| 37 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 38 <tr bgcolor="#ee77aa"> | |
| 39 <td colspan=3 valign=bottom> <br> | |
| 40 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big
></font></td></tr> | |
| 41 | |
| 42 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td>
</td> | |
| 43 <td width="100%"><dl> | |
| 44 <dt><font face="helvetica, arial"><a href="telemetry.internal.actions.page_actio
n.html#PageAction">telemetry.internal.actions.page_action.PageAction</a>(<a href
="__builtin__.html#object">__builtin__.object</a>) | |
| 45 </font></dt><dd> | |
| 46 <dl> | |
| 47 <dt><font face="helvetica, arial"><a href="telemetry.internal.actions.drag.html#
DragAction">DragAction</a> | |
| 48 </font></dt></dl> | |
| 49 </dd> | |
| 50 </dl> | |
| 51 <p> | |
| 52 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | |
| 53 <tr bgcolor="#ffc8d8"> | |
| 54 <td colspan=3 valign=bottom> <br> | |
| 55 <font color="#000000" face="helvetica, arial"><a name="DragAction">class <strong
>DragAction</strong></a>(<a href="telemetry.internal.actions.page_action.html#Pa
geAction">telemetry.internal.actions.page_action.PageAction</a>)</font></td></tr
> | |
| 56 | |
| 57 <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> | |
| 58 <td width="100%"><dl><dt>Method resolution order:</dt> | |
| 59 <dd><a href="telemetry.internal.actions.drag.html#DragAction">DragAction</a></dd
> | |
| 60 <dd><a href="telemetry.internal.actions.page_action.html#PageAction">telemetry.i
nternal.actions.page_action.PageAction</a></dd> | |
| 61 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> | |
| 62 </dl> | |
| 63 <hr> | |
| 64 Methods defined here:<br> | |
| 65 <dl><dt><a name="DragAction-RunAction"><strong>RunAction</strong></a>(self, tab)
</dt></dl> | |
| 66 | |
| 67 <dl><dt><a name="DragAction-WillRunAction"><strong>WillRunAction</strong></a>(se
lf, tab)</dt></dl> | |
| 68 | |
| 69 <dl><dt><a name="DragAction-__init__"><strong>__init__</strong></a>(self, select
or<font color="#909090">=None</font>, text<font color="#909090">=None</font>, el
ement_function<font color="#909090">=None</font>, left_start_ratio<font color="#
909090">=None</font>, top_start_ratio<font color="#909090">=None</font>, left_en
d_ratio<font color="#909090">=None</font>, top_end_ratio<font color="#909090">=N
one</font>, speed_in_pixels_per_second<font color="#909090">=800</font>, use_tou
ch<font color="#909090">=False</font>, synthetic_gesture_source<font color="#909
090">='DEFAULT'</font>)</dt></dl> | |
| 70 | |
| 71 <hr> | |
| 72 Methods inherited from <a href="telemetry.internal.actions.page_action.html#Page
Action">telemetry.internal.actions.page_action.PageAction</a>:<br> | |
| 73 <dl><dt><a name="DragAction-CleanUp"><strong>CleanUp</strong></a>(self, tab)</dt
></dl> | |
| 74 | |
| 75 <hr> | |
| 76 Data descriptors inherited from <a href="telemetry.internal.actions.page_action.
html#PageAction">telemetry.internal.actions.page_action.PageAction</a>:<br> | |
| 77 <dl><dt><strong>__dict__</strong></dt> | |
| 78 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | |
| 79 </dl> | |
| 80 <dl><dt><strong>__weakref__</strong></dt> | |
| 81 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | |
| 82 </dl> | |
| 83 </td></tr></table></td></tr></table> | |
| 84 </body></html> | |
| OLD | NEW |