Home | History | Annotate | Download | only in pydoc
      1 
      2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      3 <html><head><title>Python: module telemetry.internal.testing.pages.external_page</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>&nbsp;<br>
     10 <font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.testing.html"><font color="#ffffff">testing</font></a>.<a href="telemetry.internal.testing.pages.html"><font color="#ffffff">pages</font></a>.external_page</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/testing/pages/external_page.py">telemetry/internal/testing/pages/external_page.py</a></font></td></tr></table>
     13     <p><tt>#&nbsp;Copyright&nbsp;2014&nbsp;The&nbsp;Chromium&nbsp;Authors.&nbsp;All&nbsp;rights&nbsp;reserved.<br>
     14 #&nbsp;Use&nbsp;of&nbsp;this&nbsp;source&nbsp;code&nbsp;is&nbsp;governed&nbsp;by&nbsp;a&nbsp;BSD-style&nbsp;license&nbsp;that&nbsp;can&nbsp;be<br>
     15 #&nbsp;found&nbsp;in&nbsp;the&nbsp;LICENSE&nbsp;file.</tt></p>
     16 <p>
     17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     18 <tr bgcolor="#ee77aa">
     19 <td colspan=3 valign=bottom>&nbsp;<br>
     20 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
     21     
     22 <tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     23 <td width="100%"><dl>
     24 <dt><font face="helvetica, arial"><a href="telemetry.page.html#Page">telemetry.page.Page</a>(<a href="telemetry.story.story.html#Story">telemetry.story.story.Story</a>)
     25 </font></dt><dd>
     26 <dl>
     27 <dt><font face="helvetica, arial"><a href="telemetry.internal.testing.pages.external_page.html#ExternalPage">ExternalPage</a>
     28 </font></dt></dl>
     29 </dd>
     30 </dl>
     31  <p>
     32 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
     33 <tr bgcolor="#ffc8d8">
     34 <td colspan=3 valign=bottom>&nbsp;<br>
     35 <font color="#000000" face="helvetica, arial"><a name="ExternalPage">class <strong>ExternalPage</strong></a>(<a href="telemetry.page.html#Page">telemetry.page.Page</a>)</font></td></tr>
     36     
     37 <tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
     38 <td width="100%"><dl><dt>Method resolution order:</dt>
     39 <dd><a href="telemetry.internal.testing.pages.external_page.html#ExternalPage">ExternalPage</a></dd>
     40 <dd><a href="telemetry.page.html#Page">telemetry.page.Page</a></dd>
     41 <dd><a href="telemetry.story.story.html#Story">telemetry.story.story.Story</a></dd>
     42 <dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
     43 </dl>
     44 <hr>
     45 Methods defined here:<br>
     46 <dl><dt><a name="ExternalPage-__init__"><strong>__init__</strong></a>(self, ps)</dt></dl>
     47 
     48 <hr>
     49 Methods inherited from <a href="telemetry.page.html#Page">telemetry.page.Page</a>:<br>
     50 <dl><dt><a name="ExternalPage-AddCustomizeBrowserOptions"><strong>AddCustomizeBrowserOptions</strong></a>(self, options)</dt><dd><tt>Inherit&nbsp;page&nbsp;overrides&nbsp;this&nbsp;to&nbsp;add&nbsp;customized&nbsp;browser&nbsp;options.</tt></dd></dl>
     51 
     52 <dl><dt><a name="ExternalPage-AsDict"><strong>AsDict</strong></a>(self)</dt><dd><tt>Converts&nbsp;a&nbsp;page&nbsp;object&nbsp;to&nbsp;a&nbsp;dict&nbsp;suitable&nbsp;for&nbsp;JSON&nbsp;output.</tt></dd></dl>
     53 
     54 <dl><dt><a name="ExternalPage-GetSyntheticDelayCategories"><strong>GetSyntheticDelayCategories</strong></a>(self)</dt></dl>
     55 
     56 <dl><dt><a name="ExternalPage-Run"><strong>Run</strong></a>(self, shared_state)</dt></dl>
     57 
     58 <dl><dt><a name="ExternalPage-RunNavigateSteps"><strong>RunNavigateSteps</strong></a>(self, action_runner)</dt></dl>
     59 
     60 <dl><dt><a name="ExternalPage-RunPageInteractions"><strong>RunPageInteractions</strong></a>(self, action_runner)</dt><dd><tt>Override&nbsp;this&nbsp;to&nbsp;define&nbsp;custom&nbsp;interactions&nbsp;with&nbsp;the&nbsp;page.<br>
     61 e.g:<br>
     62 &nbsp;&nbsp;def&nbsp;<a href="#ExternalPage-RunPageInteractions">RunPageInteractions</a>(self,&nbsp;action_runner):<br>
     63 &nbsp;&nbsp;&nbsp;&nbsp;action_runner.ScrollPage()<br>
     64 &nbsp;&nbsp;&nbsp;&nbsp;action_runner.TapElement(text='Next')</tt></dd></dl>
     65 
     66 <dl><dt><a name="ExternalPage-__cmp__"><strong>__cmp__</strong></a>(self, other)</dt></dl>
     67 
     68 <dl><dt><a name="ExternalPage-__lt__"><strong>__lt__</strong></a>(self, other)</dt></dl>
     69 
     70 <dl><dt><a name="ExternalPage-__str__"><strong>__str__</strong></a>(self)</dt></dl>
     71 
     72 <hr>
     73 Data descriptors inherited from <a href="telemetry.page.html#Page">telemetry.page.Page</a>:<br>
     74 <dl><dt><strong>base_dir</strong></dt>
     75 </dl>
     76 <dl><dt><strong>credentials_path</strong></dt>
     77 </dl>
     78 <dl><dt><strong>display_name</strong></dt>
     79 </dl>
     80 <dl><dt><strong>file_path</strong></dt>
     81 <dd><tt>Returns&nbsp;the&nbsp;path&nbsp;of&nbsp;the&nbsp;file,&nbsp;stripping&nbsp;the&nbsp;scheme&nbsp;and&nbsp;query&nbsp;string.</tt></dd>
     82 </dl>
     83 <dl><dt><strong>file_path_url</strong></dt>
     84 <dd><tt>Returns&nbsp;the&nbsp;file&nbsp;path,&nbsp;including&nbsp;the&nbsp;params,&nbsp;query,&nbsp;and&nbsp;fragment.</tt></dd>
     85 </dl>
     86 <dl><dt><strong>file_path_url_with_scheme</strong></dt>
     87 </dl>
     88 <dl><dt><strong>is_file</strong></dt>
     89 <dd><tt>Returns&nbsp;True&nbsp;iff&nbsp;this&nbsp;URL&nbsp;points&nbsp;to&nbsp;a&nbsp;file.</tt></dd>
     90 </dl>
     91 <dl><dt><strong>page_set</strong></dt>
     92 </dl>
     93 <dl><dt><strong>serving_dir</strong></dt>
     94 </dl>
     95 <dl><dt><strong>startup_url</strong></dt>
     96 </dl>
     97 <dl><dt><strong>story_set</strong></dt>
     98 </dl>
     99 <dl><dt><strong>url</strong></dt>
    100 </dl>
    101 <hr>
    102 Data descriptors inherited from <a href="telemetry.story.story.html#Story">telemetry.story.story.Story</a>:<br>
    103 <dl><dt><strong>__dict__</strong></dt>
    104 <dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
    105 </dl>
    106 <dl><dt><strong>__weakref__</strong></dt>
    107 <dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
    108 </dl>
    109 <dl><dt><strong>file_safe_name</strong></dt>
    110 <dd><tt>A&nbsp;version&nbsp;of&nbsp;display_name&nbsp;that's&nbsp;safe&nbsp;to&nbsp;use&nbsp;as&nbsp;a&nbsp;filename.<br>
    111 &nbsp;<br>
    112 The&nbsp;default&nbsp;implementation&nbsp;sanitizes&nbsp;special&nbsp;characters&nbsp;with&nbsp;underscores,<br>
    113 but&nbsp;it's&nbsp;okay&nbsp;to&nbsp;override&nbsp;it&nbsp;with&nbsp;a&nbsp;more&nbsp;specific&nbsp;implementation&nbsp;in<br>
    114 subclasses.</tt></dd>
    115 </dl>
    116 <dl><dt><strong>id</strong></dt>
    117 </dl>
    118 <dl><dt><strong>is_local</strong></dt>
    119 <dd><tt>Returns&nbsp;True&nbsp;iff&nbsp;this&nbsp;story&nbsp;does&nbsp;not&nbsp;require&nbsp;network.</tt></dd>
    120 </dl>
    121 <dl><dt><strong>labels</strong></dt>
    122 </dl>
    123 <dl><dt><strong>make_javascript_deterministic</strong></dt>
    124 </dl>
    125 <dl><dt><strong>name</strong></dt>
    126 </dl>
    127 <dl><dt><strong>shared_state_class</strong></dt>
    128 </dl>
    129 </td></tr></table></td></tr></table>
    130 </body></html>