forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.html
350 lines (340 loc) · 19.3 KB
/
api.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Selenium Documentation — Selenium 2.0 documentation</title>
<link rel="stylesheet" href="_static/default.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '2.0',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="Selenium 2.0 documentation" href="index.html" />
<link rel="next" title="selenium.selenium" href="selenium/selenium.selenium.html" />
<link rel="prev" title="Introduction" href="index.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="selenium/selenium.selenium.html" title="selenium.selenium"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="index.html" title="Introduction"
accesskey="P">previous</a> |</li>
<li><a href="index.html">Selenium 2.0 documentation</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="selenium-documentation">
<h1>Selenium Documentation<a class="headerlink" href="#selenium-documentation" title="Permalink to this headline">¶</a></h1>
<div class="section" id="selenium">
<h2>Selenium<a class="headerlink" href="#selenium" title="Permalink to this headline">¶</a></h2>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="selenium/selenium.selenium.html#module-selenium.selenium" title="selenium.selenium"><tt class="xref py py-obj docutils literal"><span class="pre">selenium</span></tt></a>(host, port, browserStartCommand, ...)</td>
<td>Defines an object that runs Selenium commands.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="common">
<h2>Common<a class="headerlink" href="#common" title="Permalink to this headline">¶</a></h2>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="common/selenium.common.exceptions.html#module-selenium.common.exceptions" title="selenium.common.exceptions"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.common.exceptions</span></tt></a></td>
<td>Exceptions that may happen in all the webdriver code.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="webdriver-common">
<h2>Webdriver.common<a class="headerlink" href="#webdriver-common" title="Permalink to this headline">¶</a></h2>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="webdriver/selenium.webdriver.common.action_chains.html#module-selenium.webdriver.common.action_chains" title="selenium.webdriver.common.action_chains"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.common.action_chains</span></tt></a></td>
<td>The ActionChains implementation,</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver/selenium.webdriver.common.alert.html#module-selenium.webdriver.common.alert" title="selenium.webdriver.common.alert"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.common.alert</span></tt></a></td>
<td>The Alert implementation.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="webdriver/selenium.webdriver.common.by.html#module-selenium.webdriver.common.by" title="selenium.webdriver.common.by"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.common.by</span></tt></a></td>
<td>The By implemention.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver/selenium.webdriver.common.desired_capabilities.html#module-selenium.webdriver.common.desired_capabilities" title="selenium.webdriver.common.desired_capabilities"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.common.desired_capabilities</span></tt></a></td>
<td>The Desired Capabilities implementation.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="webdriver/selenium.webdriver.common.keys.html#module-selenium.webdriver.common.keys" title="selenium.webdriver.common.keys"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.common.keys</span></tt></a></td>
<td>The Keys implementation.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver/selenium.webdriver.common.touch_actions.html#module-selenium.webdriver.common.touch_actions" title="selenium.webdriver.common.touch_actions"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.common.touch_actions</span></tt></a></td>
<td>The Touch Actions implementation</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="webdriver/selenium.webdriver.common.utils.html#module-selenium.webdriver.common.utils" title="selenium.webdriver.common.utils"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.common.utils</span></tt></a></td>
<td>The Utils methods.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver/selenium.webdriver.common.proxy.html#module-selenium.webdriver.common.proxy" title="selenium.webdriver.common.proxy"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.common.proxy</span></tt></a></td>
<td>The Proxy implementation.</td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="webdriver/selenium.webdriver.common.html5.application_cache.html#module-selenium.webdriver.common.html5.application_cache" title="selenium.webdriver.common.html5.application_cache"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.common.html5.application_cache</span></tt></a></td>
<td>The ApplicationCache implementaion.</td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="webdriver-support">
<h2>Webdriver.support<a class="headerlink" href="#webdriver-support" title="Permalink to this headline">¶</a></h2>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="webdriver_support/selenium.webdriver.support.abstract_event_listener.html#module-selenium.webdriver.support.abstract_event_listener" title="selenium.webdriver.support.abstract_event_listener"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.support.abstract_event_listener</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver_support/selenium.webdriver.support.color.html#module-selenium.webdriver.support.color" title="selenium.webdriver.support.color"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.support.color</span></tt></a></td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="webdriver_support/selenium.webdriver.support.event_firing_webdriver.html#module-selenium.webdriver.support.event_firing_webdriver" title="selenium.webdriver.support.event_firing_webdriver"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.support.event_firing_webdriver</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver_support/selenium.webdriver.support.expected_conditions.html#module-selenium.webdriver.support.expected_conditions" title="selenium.webdriver.support.expected_conditions"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.support.expected_conditions</span></tt></a></td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="webdriver_support/selenium.webdriver.support.select.html#module-selenium.webdriver.support.select" title="selenium.webdriver.support.select"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.support.select</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver_support/selenium.webdriver.support.wait.html#module-selenium.webdriver.support.wait" title="selenium.webdriver.support.wait"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.support.wait</span></tt></a></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="webdriver-chrome">
<h2>Webdriver.chrome<a class="headerlink" href="#webdriver-chrome" title="Permalink to this headline">¶</a></h2>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="webdriver_chrome/selenium.webdriver.chrome.service.html#module-selenium.webdriver.chrome.service" title="selenium.webdriver.chrome.service"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.chrome.service</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver_chrome/selenium.webdriver.chrome.webdriver.html#module-selenium.webdriver.chrome.webdriver" title="selenium.webdriver.chrome.webdriver"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.chrome.webdriver</span></tt></a></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="webdriver-firefox">
<h2>Webdriver.firefox<a class="headerlink" href="#webdriver-firefox" title="Permalink to this headline">¶</a></h2>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="webdriver_firefox/selenium.webdriver.firefox.extension_connection.html#module-selenium.webdriver.firefox.extension_connection" title="selenium.webdriver.firefox.extension_connection"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.firefox.extension_connection</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver_firefox/selenium.webdriver.firefox.firefox_binary.html#module-selenium.webdriver.firefox.firefox_binary" title="selenium.webdriver.firefox.firefox_binary"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.firefox.firefox_binary</span></tt></a></td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="webdriver_firefox/selenium.webdriver.firefox.firefox_profile.html#module-selenium.webdriver.firefox.firefox_profile" title="selenium.webdriver.firefox.firefox_profile"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.firefox.firefox_profile</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver_firefox/selenium.webdriver.firefox.webdriver.html#module-selenium.webdriver.firefox.webdriver" title="selenium.webdriver.firefox.webdriver"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.firefox.webdriver</span></tt></a></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="webdriver-ie">
<h2>Webdriver.ie<a class="headerlink" href="#webdriver-ie" title="Permalink to this headline">¶</a></h2>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="webdriver_ie/selenium.webdriver.ie.webdriver.html#module-selenium.webdriver.ie.webdriver" title="selenium.webdriver.ie.webdriver"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.ie.webdriver</span></tt></a></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="webdriver-phantomjs">
<h2>Webdriver.phantomjs<a class="headerlink" href="#webdriver-phantomjs" title="Permalink to this headline">¶</a></h2>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="webdriver_phantomjs/selenium.webdriver.phantomjs.service.html#module-selenium.webdriver.phantomjs.service" title="selenium.webdriver.phantomjs.service"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.phantomjs.service</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver_phantomjs/selenium.webdriver.phantomjs.webdriver.html#module-selenium.webdriver.phantomjs.webdriver" title="selenium.webdriver.phantomjs.webdriver"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.phantomjs.webdriver</span></tt></a></td>
<td></td>
</tr>
</tbody>
</table>
</div>
<div class="section" id="webdriver-remote">
<h2>Webdriver.remote<a class="headerlink" href="#webdriver-remote" title="Permalink to this headline">¶</a></h2>
<table border="1" class="longtable docutils">
<colgroup>
<col width="10%" />
<col width="90%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td><a class="reference internal" href="webdriver_remote/selenium.webdriver.remote.command.html#module-selenium.webdriver.remote.command" title="selenium.webdriver.remote.command"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.remote.command</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver_remote/selenium.webdriver.remote.errorhandler.html#module-selenium.webdriver.remote.errorhandler" title="selenium.webdriver.remote.errorhandler"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.remote.errorhandler</span></tt></a></td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="webdriver_remote/selenium.webdriver.remote.remote_connection.html#module-selenium.webdriver.remote.remote_connection" title="selenium.webdriver.remote.remote_connection"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.remote.remote_connection</span></tt></a></td>
<td></td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver_remote/selenium.webdriver.remote.utils.html#module-selenium.webdriver.remote.utils" title="selenium.webdriver.remote.utils"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.remote.utils</span></tt></a></td>
<td></td>
</tr>
<tr class="row-odd"><td><a class="reference internal" href="webdriver_remote/selenium.webdriver.remote.webdriver.html#module-selenium.webdriver.remote.webdriver" title="selenium.webdriver.remote.webdriver"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.remote.webdriver</span></tt></a></td>
<td>The WebDriver implementation.</td>
</tr>
<tr class="row-even"><td><a class="reference internal" href="webdriver_remote/selenium.webdriver.remote.webelement.html#module-selenium.webdriver.remote.webelement" title="selenium.webdriver.remote.webelement"><tt class="xref py py-obj docutils literal"><span class="pre">selenium.webdriver.remote.webelement</span></tt></a></td>
<td>WebElement implementation.</td>
</tr>
</tbody>
</table>
<p>Indices and tables</p>
<ul class="simple">
<li><a class="reference internal" href="genindex.html"><em>Index</em></a></li>
<li><a class="reference internal" href="py-modindex.html"><em>Module Index</em></a></li>
<li><a class="reference internal" href="search.html"><em>Search Page</em></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h3><a href="index.html">Table Of Contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Selenium Documentation</a><ul>
<li><a class="reference internal" href="#selenium">Selenium</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#common">Common</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#webdriver-common">Webdriver.common</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#webdriver-support">Webdriver.support</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#webdriver-chrome">Webdriver.chrome</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#webdriver-firefox">Webdriver.firefox</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#webdriver-ie">Webdriver.ie</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#webdriver-phantomjs">Webdriver.phantomjs</a><ul>
</ul>
</li>
<li><a class="reference internal" href="#webdriver-remote">Webdriver.remote</a><ul>
</ul>
</li>
</ul>
</li>
</ul>
<h4>Previous topic</h4>
<p class="topless"><a href="index.html"
title="previous chapter">Introduction</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="selenium/selenium.selenium.html"
title="next chapter">selenium.selenium</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="_sources/api.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="selenium/selenium.selenium.html" title="selenium.selenium"
>next</a> |</li>
<li class="right" >
<a href="index.html" title="Introduction"
>previous</a> |</li>
<li><a href="index.html">Selenium 2.0 documentation</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2011, plightbo, simon.m.stewart, hbchai, jrhuggins, et al..
</div>
</body>
</html>