OLD | NEW |
1 | 1 |
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> | 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
3 <html><head><title>Python: module telemetry.page.page_test</title> | 3 <html><head><title>Python: module telemetry.page.page_test</title> |
4 </head><body bgcolor="#f0f0f8"> | 4 </head><body bgcolor="#f0f0f8"> |
5 | 5 |
6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> | 6 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> |
7 <tr bgcolor="#7799ee"> | 7 <tr bgcolor="#7799ee"> |
8 <td valign=bottom> <br> | 8 <td valign=bottom> <br> |
9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.page.html"><font color="#ffffff">page</font></a>.page_test</strong></big></big>
</font></td | 9 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a hre
f="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry
.page.html"><font color="#ffffff">page</font></a>.page_test</strong></big></big>
</font></td |
10 ><td align=right valign=bottom | 10 ><td align=right valign=bottom |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 <dl><dt><a name="PageTest-Run"><strong>Run</strong></a>(self, options, page, tab
, results)</dt></dl> | 151 <dl><dt><a name="PageTest-Run"><strong>Run</strong></a>(self, options, page, tab
, results)</dt></dl> |
152 | 152 |
153 <dl><dt><a name="PageTest-SetUpBrowser"><strong>SetUpBrowser</strong></a>(self,
browser)</dt><dd><tt>Override to customize the browser
right after it has launched.</tt></dd></dl> | 153 <dl><dt><a name="PageTest-SetUpBrowser"><strong>SetUpBrowser</strong></a>(self,
browser)</dt><dd><tt>Override to customize the browser
right after it has launched.</tt></dd></dl> |
154 | 154 |
155 <dl><dt><a name="PageTest-WillNavigateToPage"><strong>WillNavigateToPage</strong
></a>(self, page, tab)</dt><dd><tt>Override to do operations 
;before the page is navigated.</tt></dd></dl> | 155 <dl><dt><a name="PageTest-WillNavigateToPage"><strong>WillNavigateToPage</strong
></a>(self, page, tab)</dt><dd><tt>Override to do operations 
;before the page is navigated.</tt></dd></dl> |
156 | 156 |
157 <dl><dt><a name="PageTest-WillRunAction"><strong>WillRunAction</strong></a>(self
, page, tab, action)</dt><dd><tt>Override to do operations b
efore running the action on the page.</tt></dd></d
l> | 157 <dl><dt><a name="PageTest-WillRunAction"><strong>WillRunAction</strong></a>(self
, page, tab, action)</dt><dd><tt>Override to do operations b
efore running the action on the page.</tt></dd></d
l> |
158 | 158 |
159 <dl><dt><a name="PageTest-WillRunPageSet"><strong>WillRunPageSet</strong></a>(se
lf, tab)</dt><dd><tt>Override to do operations before t
he page set is navigated.</tt></dd></dl> | 159 <dl><dt><a name="PageTest-WillRunPageSet"><strong>WillRunPageSet</strong></a>(se
lf, tab)</dt><dd><tt>Override to do operations before t
he page set is navigated.</tt></dd></dl> |
160 | 160 |
161 <dl><dt><a name="PageTest-__init__"><strong>__init__</strong></a>(self, test_met
hod_name, action_name_to_run<font color="#909090">=''</font>, needs_browser_rest
art_after_each_run<font color="#909090">=False</font>, discard_first_result<font
color="#909090">=False</font>)</dt></dl> | 161 <dl><dt><a name="PageTest-__init__"><strong>__init__</strong></a>(self, test_met
hod_name, action_name_to_run<font color="#909090">=''</font>, needs_browser_rest
art_after_each_run<font color="#909090">=False</font>, discard_first_result<font
color="#909090">=False</font>, clear_cache_before_each_run<font color="#909090"
>=False</font>)</dt></dl> |
162 | 162 |
163 <hr> | 163 <hr> |
164 Data descriptors defined here:<br> | 164 Data descriptors defined here:<br> |
165 <dl><dt><strong>__dict__</strong></dt> | 165 <dl><dt><strong>__dict__</strong></dt> |
166 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> | 166 <dd><tt>dictionary for instance variables (if defined)<
/tt></dd> |
167 </dl> | 167 </dl> |
168 <dl><dt><strong>__weakref__</strong></dt> | 168 <dl><dt><strong>__weakref__</strong></dt> |
169 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> | 169 <dd><tt>list of weak references to the object 
;(if defined)</tt></dd> |
170 </dl> | 170 </dl> |
171 <dl><dt><strong>action_name_to_run</strong></dt> | 171 <dl><dt><strong>action_name_to_run</strong></dt> |
172 </dl> | 172 </dl> |
| 173 <dl><dt><strong>clear_cache_before_each_run</strong></dt> |
| 174 <dd><tt>When set to True, the browser's disk
and memory cache will be cleared<br> |
| 175 before each run.</tt></dd> |
| 176 </dl> |
173 <dl><dt><strong>discard_first_result</strong></dt> | 177 <dl><dt><strong>discard_first_result</strong></dt> |
174 <dd><tt>When set to True, the first run of&nb
sp;the test is discarded. This is<br> | 178 <dd><tt>When set to True, the first run of&nb
sp;the test is discarded. This is<br> |
175 useful for cases where it's desirable to have
some test resource cached so<br> | 179 useful for cases where it's desirable to have
some test resource cached so<br> |
176 the first run of the test can warm thing
s up.</tt></dd> | 180 the first run of the test can warm thing
s up.</tt></dd> |
177 </dl> | 181 </dl> |
178 <dl><dt><strong>output_format_choices</strong></dt> | 182 <dl><dt><strong>output_format_choices</strong></dt> |
179 <dd><tt>Allowed output formats. The default is the
first item in the list.</tt></dd> | 183 <dd><tt>Allowed output formats. The default is the
first item in the list.</tt></dd> |
180 </dl> | 184 </dl> |
181 </td></tr></table></td></tr></table><p> | 185 </td></tr></table></td></tr></table><p> |
182 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> | 186 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
183 <tr bgcolor="#eeaa77"> | 187 <tr bgcolor="#eeaa77"> |
184 <td colspan=3 valign=bottom> <br> | 188 <td colspan=3 valign=bottom> <br> |
185 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></b
ig></font></td></tr> | 189 <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></b
ig></font></td></tr> |
186 | 190 |
187 <tr><td bgcolor="#eeaa77"><tt> </tt></td><td>
</td> | 191 <tr><td bgcolor="#eeaa77"><tt> </tt></td><td>
</td> |
188 <td width="100%"><dl><dt><a name="-GetCompoundActionFromPage"><strong>GetCompoun
dActionFromPage</strong></a>(page, action_name)</dt></dl> | 192 <td width="100%"><dl><dt><a name="-GetCompoundActionFromPage"><strong>GetCompoun
dActionFromPage</strong></a>(page, action_name)</dt></dl> |
189 </td></tr></table> | 193 </td></tr></table> |
190 </body></html> | 194 </body></html> |
OLD | NEW |