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> <br> 10 <font color="#ffffff" face="helvetica, arial"> <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># Copyright 2014 The Chromium Authors. All rights reserved.<br> 14 # Use of this source code is governed by a BSD-style license that can be<br> 15 # found in the LICENSE 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> <br> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 21 22 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </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> <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> </tt></td><td> </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 page overrides this to add customized browser options.</tt></dd></dl> 51 52 <dl><dt><a name="ExternalPage-AsDict"><strong>AsDict</strong></a>(self)</dt><dd><tt>Converts a page object to a dict suitable for JSON 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 this to define custom interactions with the page.<br> 61 e.g:<br> 62 def <a href="#ExternalPage-RunPageInteractions">RunPageInteractions</a>(self, action_runner):<br> 63 action_runner.ScrollPage()<br> 64 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 the path of the file, stripping the scheme and query string.</tt></dd> 82 </dl> 83 <dl><dt><strong>file_path_url</strong></dt> 84 <dd><tt>Returns the file path, including the params, query, and 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 True iff this URL points to a 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 for instance variables (if defined)</tt></dd> 105 </dl> 106 <dl><dt><strong>__weakref__</strong></dt> 107 <dd><tt>list of weak references to the object (if defined)</tt></dd> 108 </dl> 109 <dl><dt><strong>file_safe_name</strong></dt> 110 <dd><tt>A version of display_name that's safe to use as a filename.<br> 111 <br> 112 The default implementation sanitizes special characters with underscores,<br> 113 but it's okay to override it with a more specific implementation 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 True iff this story does not require 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>