blob: 3de9f3c9553e80b69fb5397cda8438293be1ee2f [file] [log] [blame]
adminbae64d82013-08-01 10:50:15 -07001<?xml version="1.0" encoding="ascii"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3 "DTD/xhtml1-transitional.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5<head>
6 <title>TestON.drivers.common.webdriver.WebDriver</title>
7 <link rel="stylesheet" href="epydoc.css" type="text/css" />
8 <script type="text/javascript" src="epydoc.js"></script>
9</head>
10
11<body bgcolor="white" text="black" link="blue" vlink="#204080"
12 alink="#204080">
13<!-- ==================== NAVIGATION BAR ==================== -->
14<table class="navbar" border="0" width="100%" cellpadding="0"
15 bgcolor="#a0c0ff" cellspacing="0">
16 <tr valign="middle">
17 <!-- Home link -->
18 <th>&nbsp;&nbsp;&nbsp;<a
19 href="TestON-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
20
21 <!-- Tree link -->
22 <th>&nbsp;&nbsp;&nbsp;<a
23 href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
24
25 <!-- Index link -->
26 <th>&nbsp;&nbsp;&nbsp;<a
27 href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
28
29 <!-- Help link -->
30 <th>&nbsp;&nbsp;&nbsp;<a
31 href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
32
33 <th class="navbar" width="100%"></th>
34 </tr>
35</table>
36<table width="100%" cellpadding="0" cellspacing="0">
37 <tr valign="top">
38 <td width="100%">
39 <span class="breadcrumbs">
40 <a href="TestON-module.html">Package&nbsp;TestON</a> ::
41 <a href="TestON.drivers-module.html">Package&nbsp;drivers</a> ::
42 <a href="TestON.drivers.common-module.html">Package&nbsp;common</a> ::
43 <a href="TestON.drivers.common.webdriver-module.html">Module&nbsp;webdriver</a> ::
44 Class&nbsp;WebDriver
45 </span>
46 </td>
47 <td>
48 <table cellpadding="0" cellspacing="0">
49 <!-- hide/show private -->
50 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
51 onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
52 <tr><td align="right"><span class="options"
53 >[<a href="frames.html" target="_top">frames</a
54 >]&nbsp;|&nbsp;<a href="TestON.drivers.common.webdriver.WebDriver-class.html"
55 target="_top">no&nbsp;frames</a>]</span></td></tr>
56 </table>
57 </td>
58 </tr>
59</table>
60<!-- ==================== CLASS DESCRIPTION ==================== -->
61<h1 class="epydoc">Class WebDriver</h1><p class="nomargin-top"><span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver">source&nbsp;code</a></span></p>
62<pre class="base-tree">
63 object --+
64 |
65<a href="TestON.drivers.component.Component-class.html">component.Component</a> --+
66 |
67 <strong class="uidshort">WebDriver</strong>
68</pre>
69
70<hr />
71<p>This will define common functions for CLI included.</p>
72
73<!-- ==================== INSTANCE METHODS ==================== -->
74<a name="section-InstanceMethods"></a>
75<table class="summary" border="1" cellpadding="3"
76 cellspacing="0" width="100%" bgcolor="white">
77<tr bgcolor="#70b0f0" class="table-header">
78 <td colspan="2" class="table-header">
79 <table border="0" cellpadding="0" cellspacing="0" width="100%">
80 <tr valign="top">
81 <td align="left"><span class="table-header">Instance Methods</span></td>
82 <td align="right" valign="top"
83 ><span class="options">[<a href="#section-InstanceMethods"
84 class="privatelink" onclick="toggle_private();"
85 >hide private</a>]</span></td>
86 </tr>
87 </table>
88 </td>
89</tr>
90<tr>
91 <td width="15%" align="right" valign="top" class="summary">
92 <span class="summary-type">&nbsp;</span>
93 </td><td class="summary">
94 <table width="100%" cellpadding="0" cellspacing="0" border="0">
95 <tr>
96 <td><span class="summary-sig"><a href="TestON.drivers.common.webdriver.WebDriver-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
97 x.__init__(...) initializes x; see x.__class__.__doc__ for signature</td>
98 <td align="right" valign="top">
99 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.__init__">source&nbsp;code</a></span>
100
101 </td>
102 </tr>
103 </table>
104
105 </td>
106 </tr>
107<tr>
108 <td width="15%" align="right" valign="top" class="summary">
109 <span class="summary-type">&nbsp;</span>
110 </td><td class="summary">
111 <table width="100%" cellpadding="0" cellspacing="0" border="0">
112 <tr>
113 <td><span class="summary-sig"><a href="TestON.drivers.common.webdriver.WebDriver-class.html#__getattr__" class="summary-sig-name">__getattr__</a>(<span class="summary-sig-arg">self</span>,
114 <span class="summary-sig-arg">name</span>)</span><br />
115 This will invoke, if the attribute wasn't found the usual ways.</td>
116 <td align="right" valign="top">
117 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.__getattr__">source&nbsp;code</a></span>
118
119 </td>
120 </tr>
121 </table>
122
123 </td>
124 </tr>
125<tr>
126 <td width="15%" align="right" valign="top" class="summary">
127 <span class="summary-type">&nbsp;</span>
128 </td><td class="summary">
129 <table width="100%" cellpadding="0" cellspacing="0" border="0">
130 <tr>
131 <td><span class="summary-sig"><a name="selenium_method"></a><span class="summary-sig-name">selenium_method</span>(<span class="summary-sig-arg">self</span>,
132 <span class="summary-sig-arg">name</span>,
133 <span class="summary-sig-arg">*args</span>)</span></td>
134 <td align="right" valign="top">
135 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.selenium_method">source&nbsp;code</a></span>
136
137 </td>
138 </tr>
139 </table>
140
141 </td>
142 </tr>
143<tr>
144 <td width="15%" align="right" valign="top" class="summary">
145 <span class="summary-type">&nbsp;</span>
146 </td><td class="summary">
147 <table width="100%" cellpadding="0" cellspacing="0" border="0">
148 <tr>
149 <td><span class="summary-sig"><a href="TestON.drivers.common.webdriver.WebDriver-class.html#connect" class="summary-sig-name">connect</a>(<span class="summary-sig-arg">self</span>,
150 <span class="summary-sig-arg">**connectargs</span>)</span><br />
151 Connection will establish to the remote host using</td>
152 <td align="right" valign="top">
153 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.connect">source&nbsp;code</a></span>
154
155 </td>
156 </tr>
157 </table>
158
159 </td>
160 </tr>
161<tr>
162 <td width="15%" align="right" valign="top" class="summary">
163 <span class="summary-type">&nbsp;</span>
164 </td><td class="summary">
165 <table width="100%" cellpadding="0" cellspacing="0" border="0">
166 <tr>
167 <td><span class="summary-sig"><a name="search_bus"></a><span class="summary-sig-name">search_bus</span>(<span class="summary-sig-arg">self</span>)</span></td>
168 <td align="right" valign="top">
169 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.search_bus">source&nbsp;code</a></span>
170
171 </td>
172 </tr>
173 </table>
174
175 </td>
176 </tr>
177<tr>
178 <td width="15%" align="right" valign="top" class="summary">
179 <span class="summary-type">&nbsp;</span>
180 </td><td class="summary">
181 <table width="100%" cellpadding="0" cellspacing="0" border="0">
182 <tr>
183 <td><span class="summary-sig"><a name="select_bus"></a><span class="summary-sig-name">select_bus</span>(<span class="summary-sig-arg">self</span>)</span></td>
184 <td align="right" valign="top">
185 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.select_bus">source&nbsp;code</a></span>
186
187 </td>
188 </tr>
189 </table>
190
191 </td>
192 </tr>
193<tr>
194 <td width="15%" align="right" valign="top" class="summary">
195 <span class="summary-type">&nbsp;</span>
196 </td><td class="summary">
197 <table width="100%" cellpadding="0" cellspacing="0" border="0">
198 <tr>
199 <td><span class="summary-sig"><a name="select_seat"></a><span class="summary-sig-name">select_seat</span>(<span class="summary-sig-arg">self</span>)</span></td>
200 <td align="right" valign="top">
201 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.select_seat">source&nbsp;code</a></span>
202
203 </td>
204 </tr>
205 </table>
206
207 </td>
208 </tr>
209<tr>
210 <td width="15%" align="right" valign="top" class="summary">
211 <span class="summary-type">&nbsp;</span>
212 </td><td class="summary">
213 <table width="100%" cellpadding="0" cellspacing="0" border="0">
214 <tr>
215 <td><span class="summary-sig"><a name="fill_details"></a><span class="summary-sig-name">fill_details</span>(<span class="summary-sig-arg">self</span>,
216 <span class="summary-sig-arg">**details</span>)</span></td>
217 <td align="right" valign="top">
218 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.fill_details">source&nbsp;code</a></span>
219
220 </td>
221 </tr>
222 </table>
223
224 </td>
225 </tr>
226<tr>
227 <td width="15%" align="right" valign="top" class="summary">
228 <span class="summary-type">&nbsp;</span>
229 </td><td class="summary">
230 <table width="100%" cellpadding="0" cellspacing="0" border="0">
231 <tr>
232 <td><span class="summary-sig"><a name="deselect_seat"></a><span class="summary-sig-name">deselect_seat</span>(<span class="summary-sig-arg">self</span>)</span></td>
233 <td align="right" valign="top">
234 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.deselect_seat">source&nbsp;code</a></span>
235
236 </td>
237 </tr>
238 </table>
239
240 </td>
241 </tr>
242<tr>
243 <td width="15%" align="right" valign="top" class="summary">
244 <span class="summary-type">&nbsp;</span>
245 </td><td class="summary">
246 <table width="100%" cellpadding="0" cellspacing="0" border="0">
247 <tr>
248 <td><span class="summary-sig"><a name="wait_for_element"></a><span class="summary-sig-name">wait_for_element</span>(<span class="summary-sig-arg">self</span>,
249 <span class="summary-sig-arg">element</span>)</span></td>
250 <td align="right" valign="top">
251 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.wait_for_element">source&nbsp;code</a></span>
252
253 </td>
254 </tr>
255 </table>
256
257 </td>
258 </tr>
259<tr>
260 <td width="15%" align="right" valign="top" class="summary">
261 <span class="summary-type">&nbsp;</span>
262 </td><td class="summary">
263 <table width="100%" cellpadding="0" cellspacing="0" border="0">
264 <tr>
265 <td><span class="summary-sig"><a name="wait"></a><span class="summary-sig-name">wait</span>(<span class="summary-sig-arg">self</span>,
266 <span class="summary-sig-arg">secs</span>)</span></td>
267 <td align="right" valign="top">
268 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.wait">source&nbsp;code</a></span>
269
270 </td>
271 </tr>
272 </table>
273
274 </td>
275 </tr>
276<tr>
277 <td width="15%" align="right" valign="top" class="summary">
278 <span class="summary-type">&nbsp;</span>
279 </td><td class="summary">
280 <table width="100%" cellpadding="0" cellspacing="0" border="0">
281 <tr>
282 <td><span class="summary-sig"><a href="TestON.drivers.common.webdriver.WebDriver-class.html#disconnect" class="summary-sig-name">disconnect</a>(<span class="summary-sig-arg">self</span>)</span></td>
283 <td align="right" valign="top">
284 <span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.disconnect">source&nbsp;code</a></span>
285
286 </td>
287 </tr>
288 </table>
289
290 </td>
291 </tr>
292 <tr>
293 <td colspan="2" class="summary">
294 <p class="indent-wrapped-lines"><b>Inherited from <code><a href="TestON.drivers.component.Component-class.html">component.Component</a></code></b>:
295 <code><a href="TestON.drivers.component.Component-class.html#cleanup">cleanup</a></code>,
296 <code><a href="TestON.drivers.component.Component-class.html#close_log_handles">close_log_handles</a></code>,
297 <code><a href="TestON.drivers.component.Component-class.html#config">config</a></code>,
298 <code><a href="TestON.drivers.component.Component-class.html#execute">execute</a></code>,
299 <code><a href="TestON.drivers.component.Component-class.html#experimentRun">experimentRun</a></code>,
300 <code><a href="TestON.drivers.component.Component-class.html#get_version">get_version</a></code>,
301 <code><a href="TestON.drivers.component.Component-class.html#log">log</a></code>
302 </p>
303 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
304 <code>__delattr__</code>,
305 <code>__format__</code>,
306 <code>__getattribute__</code>,
307 <code>__hash__</code>,
308 <code>__new__</code>,
309 <code>__reduce__</code>,
310 <code>__reduce_ex__</code>,
311 <code>__repr__</code>,
312 <code>__setattr__</code>,
313 <code>__sizeof__</code>,
314 <code>__str__</code>,
315 <code>__subclasshook__</code>
316 </p>
317 </td>
318 </tr>
319</table>
320<!-- ==================== PROPERTIES ==================== -->
321<a name="section-Properties"></a>
322<table class="summary" border="1" cellpadding="3"
323 cellspacing="0" width="100%" bgcolor="white">
324<tr bgcolor="#70b0f0" class="table-header">
325 <td colspan="2" class="table-header">
326 <table border="0" cellpadding="0" cellspacing="0" width="100%">
327 <tr valign="top">
328 <td align="left"><span class="table-header">Properties</span></td>
329 <td align="right" valign="top"
330 ><span class="options">[<a href="#section-Properties"
331 class="privatelink" onclick="toggle_private();"
332 >hide private</a>]</span></td>
333 </tr>
334 </table>
335 </td>
336</tr>
337 <tr>
338 <td colspan="2" class="summary">
339 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
340 <code>__class__</code>
341 </p>
342 </td>
343 </tr>
344</table>
345<!-- ==================== METHOD DETAILS ==================== -->
346<a name="section-MethodDetails"></a>
347<table class="details" border="1" cellpadding="3"
348 cellspacing="0" width="100%" bgcolor="white">
349<tr bgcolor="#70b0f0" class="table-header">
350 <td colspan="2" class="table-header">
351 <table border="0" cellpadding="0" cellspacing="0" width="100%">
352 <tr valign="top">
353 <td align="left"><span class="table-header">Method Details</span></td>
354 <td align="right" valign="top"
355 ><span class="options">[<a href="#section-MethodDetails"
356 class="privatelink" onclick="toggle_private();"
357 >hide private</a>]</span></td>
358 </tr>
359 </table>
360 </td>
361</tr>
362</table>
363<a name="__init__"></a>
364<div>
365<table class="details" border="1" cellpadding="3"
366 cellspacing="0" width="100%" bgcolor="white">
367<tr><td>
368 <table width="100%" cellpadding="0" cellspacing="0" border="0">
369 <tr valign="top"><td>
370 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
371 <br /><em class="fname">(Constructor)</em>
372 </h3>
373 </td><td align="right" valign="top"
374 ><span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.__init__">source&nbsp;code</a></span>&nbsp;
375 </td>
376 </tr></table>
377
378 <p>x.__init__(...) initializes x; see x.__class__.__doc__ for
379 signature</p>
380 <dl class="fields">
381 <dt>Overrides:
382 object.__init__
383 <dd><em class="note">(inherited documentation)</em></dd>
384 </dt>
385 </dl>
386</td></tr></table>
387</div>
388<a name="__getattr__"></a>
389<div>
390<table class="details" border="1" cellpadding="3"
391 cellspacing="0" width="100%" bgcolor="white">
392<tr><td>
393 <table width="100%" cellpadding="0" cellspacing="0" border="0">
394 <tr valign="top"><td>
395 <h3 class="epydoc"><span class="sig"><span class="sig-name">__getattr__</span>(<span class="sig-arg">self</span>,
396 <span class="sig-arg">name</span>)</span>
397 <br /><em class="fname">(Qualification operator)</em>
398 </h3>
399 </td><td align="right" valign="top"
400 ><span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.__getattr__">source&nbsp;code</a></span>&nbsp;
401 </td>
402 </tr></table>
403
404 <pre class="literalblock">
405
406This will invoke, if the attribute wasn't found the usual ways.
407 Here it will look for assert_attribute and will execute when AttributeError occurs.
408 It will return the result of the assert_attribute.
409
410</pre>
411 <dl class="fields">
412 <dt>Overrides:
413 <a href="TestON.drivers.component.Component-class.html#__getattr__">component.Component.__getattr__</a>
414 </dt>
415 </dl>
416</td></tr></table>
417</div>
418<a name="connect"></a>
419<div>
420<table class="details" border="1" cellpadding="3"
421 cellspacing="0" width="100%" bgcolor="white">
422<tr><td>
423 <table width="100%" cellpadding="0" cellspacing="0" border="0">
424 <tr valign="top"><td>
425 <h3 class="epydoc"><span class="sig"><span class="sig-name">connect</span>(<span class="sig-arg">self</span>,
426 <span class="sig-arg">**connectargs</span>)</span>
427 </h3>
428 </td><td align="right" valign="top"
429 ><span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.connect">source&nbsp;code</a></span>&nbsp;
430 </td>
431 </tr></table>
432
433 <p>Connection will establish to the remote host using</p>
434 <dl class="fields">
435 <dt>Overrides:
436 <a href="TestON.drivers.component.Component-class.html#connect">component.Component.connect</a>
437 </dt>
438 </dl>
439</td></tr></table>
440</div>
441<a name="disconnect"></a>
442<div>
443<table class="details" border="1" cellpadding="3"
444 cellspacing="0" width="100%" bgcolor="white">
445<tr><td>
446 <table width="100%" cellpadding="0" cellspacing="0" border="0">
447 <tr valign="top"><td>
448 <h3 class="epydoc"><span class="sig"><span class="sig-name">disconnect</span>(<span class="sig-arg">self</span>)</span>
449 </h3>
450 </td><td align="right" valign="top"
451 ><span class="codelink"><a href="TestON.drivers.common.webdriver-pysrc.html#WebDriver.disconnect">source&nbsp;code</a></span>&nbsp;
452 </td>
453 </tr></table>
454
455
456 <dl class="fields">
457 <dt>Overrides:
458 <a href="TestON.drivers.component.Component-class.html#disconnect">component.Component.disconnect</a>
459 </dt>
460 </dl>
461</td></tr></table>
462</div>
463<br />
464<!-- ==================== NAVIGATION BAR ==================== -->
465<table class="navbar" border="0" width="100%" cellpadding="0"
466 bgcolor="#a0c0ff" cellspacing="0">
467 <tr valign="middle">
468 <!-- Home link -->
469 <th>&nbsp;&nbsp;&nbsp;<a
470 href="TestON-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
471
472 <!-- Tree link -->
473 <th>&nbsp;&nbsp;&nbsp;<a
474 href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
475
476 <!-- Index link -->
477 <th>&nbsp;&nbsp;&nbsp;<a
478 href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
479
480 <!-- Help link -->
481 <th>&nbsp;&nbsp;&nbsp;<a
482 href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
483
484 <th class="navbar" width="100%"></th>
485 </tr>
486</table>
487<table border="0" cellpadding="0" cellspacing="0" width="100%%">
488 <tr>
489 <td align="left" class="footer">
490 Generated by Epydoc 3.0.1 on Mon Mar 11 12:56:26 2013
491 </td>
492 <td align="right" class="footer">
493 <a target="mainFrame" href="http://epydoc.sourceforge.net"
494 >http://epydoc.sourceforge.net</a>
495 </td>
496 </tr>
497</table>
498
499<script type="text/javascript">
500 <!--
501 // Private objects are initially displayed (because if
502 // javascript is turned off then we want them to be
503 // visible); but by default, we want to hide them. So hide
504 // them unless we have a cookie that says to show them.
505 checkCookie();
506 // -->
507</script>
508</body>
509</html>