| |
| |
| <!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.webdriver.common.by — 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="up" title="Selenium Documentation" href="../api.html" /> |
| <link rel="next" title="selenium.webdriver.common.desired_capabilities" href="selenium.webdriver.common.desired_capabilities.html" /> |
| <link rel="prev" title="selenium.webdriver.common.alert" href="selenium.webdriver.common.alert.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.webdriver.common.desired_capabilities.html" title="selenium.webdriver.common.desired_capabilities" |
| accesskey="N">next</a> |</li> |
| <li class="right" > |
| <a href="selenium.webdriver.common.alert.html" title="selenium.webdriver.common.alert" |
| accesskey="P">previous</a> |</li> |
| <li><a href="../index.html">Selenium 2.0 documentation</a> »</li> |
| <li><a href="../api.html" accesskey="U">Selenium Documentation</a> »</li> |
| </ul> |
| </div> |
| |
| <div class="document"> |
| <div class="documentwrapper"> |
| <div class="bodywrapper"> |
| <div class="body"> |
| |
| <div class="section" id="module-selenium.webdriver.common.by"> |
| <span id="selenium-webdriver-common-by"></span><h1>selenium.webdriver.common.by<a class="headerlink" href="#module-selenium.webdriver.common.by" title="Permalink to this headline">¶</a></h1> |
| <dl class="class"> |
| <dt id="selenium.webdriver.common.by.By"> |
| <em class="property">class </em><tt class="descclassname">selenium.webdriver.common.by.</tt><tt class="descname">By</tt><a class="reference internal" href="../_modules/selenium/webdriver/common/by.html#By"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#selenium.webdriver.common.by.By" title="Permalink to this definition">¶</a></dt> |
| <dd><dl class="attribute"> |
| <dt id="selenium.webdriver.common.by.By.CLASS_NAME"> |
| <tt class="descname">CLASS_NAME</tt><em class="property"> = 'class name'</em><a class="headerlink" href="#selenium.webdriver.common.by.By.CLASS_NAME" title="Permalink to this definition">¶</a></dt> |
| <dd></dd></dl> |
| |
| <dl class="attribute"> |
| <dt id="selenium.webdriver.common.by.By.CSS_SELECTOR"> |
| <tt class="descname">CSS_SELECTOR</tt><em class="property"> = 'css selector'</em><a class="headerlink" href="#selenium.webdriver.common.by.By.CSS_SELECTOR" title="Permalink to this definition">¶</a></dt> |
| <dd></dd></dl> |
| |
| <dl class="attribute"> |
| <dt id="selenium.webdriver.common.by.By.ID"> |
| <tt class="descname">ID</tt><em class="property"> = 'id'</em><a class="headerlink" href="#selenium.webdriver.common.by.By.ID" title="Permalink to this definition">¶</a></dt> |
| <dd></dd></dl> |
| |
| <dl class="attribute"> |
| <dt id="selenium.webdriver.common.by.By.LINK_TEXT"> |
| <tt class="descname">LINK_TEXT</tt><em class="property"> = 'link text'</em><a class="headerlink" href="#selenium.webdriver.common.by.By.LINK_TEXT" title="Permalink to this definition">¶</a></dt> |
| <dd></dd></dl> |
| |
| <dl class="attribute"> |
| <dt id="selenium.webdriver.common.by.By.NAME"> |
| <tt class="descname">NAME</tt><em class="property"> = 'name'</em><a class="headerlink" href="#selenium.webdriver.common.by.By.NAME" title="Permalink to this definition">¶</a></dt> |
| <dd></dd></dl> |
| |
| <dl class="attribute"> |
| <dt id="selenium.webdriver.common.by.By.PARTIAL_LINK_TEXT"> |
| <tt class="descname">PARTIAL_LINK_TEXT</tt><em class="property"> = 'partial link text'</em><a class="headerlink" href="#selenium.webdriver.common.by.By.PARTIAL_LINK_TEXT" title="Permalink to this definition">¶</a></dt> |
| <dd></dd></dl> |
| |
| <dl class="attribute"> |
| <dt id="selenium.webdriver.common.by.By.TAG_NAME"> |
| <tt class="descname">TAG_NAME</tt><em class="property"> = 'tag name'</em><a class="headerlink" href="#selenium.webdriver.common.by.By.TAG_NAME" title="Permalink to this definition">¶</a></dt> |
| <dd></dd></dl> |
| |
| <dl class="attribute"> |
| <dt id="selenium.webdriver.common.by.By.XPATH"> |
| <tt class="descname">XPATH</tt><em class="property"> = 'xpath'</em><a class="headerlink" href="#selenium.webdriver.common.by.By.XPATH" title="Permalink to this definition">¶</a></dt> |
| <dd></dd></dl> |
| |
| </dd></dl> |
| |
| </div> |
| |
| |
| </div> |
| </div> |
| </div> |
| <div class="sphinxsidebar"> |
| <div class="sphinxsidebarwrapper"> |
| <h4>Previous topic</h4> |
| <p class="topless"><a href="selenium.webdriver.common.alert.html" |
| title="previous chapter">selenium.webdriver.common.alert</a></p> |
| <h4>Next topic</h4> |
| <p class="topless"><a href="selenium.webdriver.common.desired_capabilities.html" |
| title="next chapter">selenium.webdriver.common.desired_capabilities</a></p> |
| <h3>This Page</h3> |
| <ul class="this-page-menu"> |
| <li><a href="../_sources/webdriver/selenium.webdriver.common.by.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.webdriver.common.desired_capabilities.html" title="selenium.webdriver.common.desired_capabilities" |
| >next</a> |</li> |
| <li class="right" > |
| <a href="selenium.webdriver.common.alert.html" title="selenium.webdriver.common.alert" |
| >previous</a> |</li> |
| <li><a href="../index.html">Selenium 2.0 documentation</a> »</li> |
| <li><a href="../api.html" >Selenium Documentation</a> »</li> |
| </ul> |
| </div> |
| <div class="footer"> |
| © Copyright 2011, plightbo, simon.m.stewart, hbchai, jrhuggins, et al.. |
| </div> |
| </body> |
| </html> |