blob: 798105c455ba5e3994a5c5dc195242dcdaaf5ee0 [file] [log] [blame]
<!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 &mdash; 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> &raquo;</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,&nbsp;port,&nbsp;browserStartCommand,&nbsp;...)</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></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></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></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></td>
</tr>
<tr class="row-even"><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></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> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2011, plightbo, simon.m.stewart, hbchai, jrhuggins, et al..
</div>
</body>
</html>