You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/py/_sources/index.txt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ If you have `pip <http://www.pip-installer.org>`_ on your system, you can simply
36
36
37
37
pip install -U selenium
38
38
39
-
Alternately, you can download the source distribution from `PyPI <http://pypi.python.org/pypi/selenium>`_ (e.g. selenium-2.36.tar.gz), unarchive it, and run::
39
+
Alternately, you can download the source distribution from `PyPI <http://pypi.python.org/pypi/selenium>`_ (e.g. selenium-2.37.tar.gz), unarchive it, and run::
40
40
41
41
python setup.py install
42
42
@@ -70,7 +70,7 @@ Example 1:
70
70
71
71
browser = webdriver.Firefox()
72
72
73
-
browser.get('http://www.yahoo.com)
73
+
browser.get('http://www.yahoo.com')
74
74
assert 'Yahoo!' in browser.title
75
75
76
76
elem = browser.find_element_by_name('p') # Find the search box
@@ -107,11 +107,11 @@ For normal WebDriver scripts (non-Remote), the Java server is not needed.
107
107
108
108
However, to use Selenium Webdriver Remote or the legacy Selenium API (Selenium-RC), you need to also run the Selenium server. The server requires a Java Runtime Environment (JRE).
109
109
110
-
Download the server separately, from: http://selenium.googlecode.com/files/selenium-server-standalone-2.36.0.jar
110
+
Download the server separately, from: http://selenium.googlecode.com/files/selenium-server-standalone-2.37.0.jar
Copy file name to clipboardExpand all lines: docs/api/py/index.html
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ <h2>Installing<a class="headerlink" href="#installing" title="Permalink to this
87
87
<p>If you have <aclass="reference external" href="http://www.pip-installer.org">pip</a> on your system, you can simply install or upgrade the Python bindings:</p>
<p>Alternately, you can download the source distribution from <aclass="reference external" href="http://pypi.python.org/pypi/selenium">PyPI</a> (e.g. selenium-2.36.tar.gz), unarchive it, and run:</p>
90
+
<p>Alternately, you can download the source distribution from <aclass="reference external" href="http://pypi.python.org/pypi/selenium">PyPI</a> (e.g. selenium-2.37.tar.gz), unarchive it, and run:</p>
<p>Note: both of the methods described above install <cite>selenium</cite> as a system-wide package That will require administrative/root access to ther machine. You may consider using a <aclass="reference external" href="http://www.virtualenv.org/">virtualenv</a> to create isolated Python environments instead.</p>
@@ -113,18 +113,19 @@ <h2>Example 1:<a class="headerlink" href="#example-1" title="Permalink to this h
elem = browser.find_element_by_name('p') # Find the search box
125
-
elem.send_keys('seleniumhq' + Keys.RETURN)
124
+
<spanclass="n">elem</span><spanclass="o">=</span><spanclass="n">browser</span><spanclass="o">.</span><spanclass="n">find_element_by_name</span><spanclass="p">(</span><spanclass="s">'p'</span><spanclass="p">)</span><spanclass="c"># Find the search box</span>
@@ -151,9 +152,9 @@ <h2>Example 2:<a class="headerlink" href="#example-2" title="Permalink to this h
151
152
<h2>Selenium Server (optional)<aclass="headerlink" href="#selenium-server-optional" title="Permalink to this headline">¶</a></h2>
152
153
<p>For normal WebDriver scripts (non-Remote), the Java server is not needed.</p>
153
154
<p>However, to use Selenium Webdriver Remote or the legacy Selenium API (Selenium-RC), you need to also run the Selenium server. The server requires a Java Runtime Environment (JRE).</p>
154
-
<p>Download the server separately, from: <aclass="reference external" href="http://selenium.googlecode.com/files/selenium-server-standalone-2.36.0.jar">http://selenium.googlecode.com/files/selenium-server-standalone-2.36.0.jar</a></p>
155
+
<p>Download the server separately, from: <aclass="reference external" href="http://selenium.googlecode.com/files/selenium-server-standalone-2.37.0.jar">http://selenium.googlecode.com/files/selenium-server-standalone-2.37.0.jar</a></p>
0 commit comments