Skip to content

Commit 35c2361

Browse files
author
AutomatedTester
committed
Updating necessary files for Python release
1 parent 3ec9e00 commit 35c2361

File tree

6 files changed

+23
-19
lines changed

6 files changed

+23
-19
lines changed

py/CHANGES

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Selenium 2.41
2+
* Support for Firefox 28
3+
* deprecating switch_to_* in favour of driver.switch_to.*
4+
15
Selenium 2.40
26
* Support for Firefox 27
37
* Fixes related to http connection

py/README

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ Installing
3333
==========
3434

3535
If you have `pip <http://www.pip-installer.org>`_ on your system, you can simply install or upgrade the Python bindings::
36-
36+
3737
pip install -U selenium
3838

39-
Alternately, you can download the source distribution from `PyPI <http://pypi.python.org/pypi/selenium>`_ (e.g. selenium-2.40.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.41.tar.gz), unarchive it, and run::
4040

4141
python setup.py install
4242

@@ -65,17 +65,17 @@ Example 1:
6565

6666
::
6767

68-
from selenium import webdriver
68+
from selenium import webdriver
6969
from selenium.webdriver.common.keys import Keys
7070

7171
browser = webdriver.Firefox()
72-
72+
7373
browser.get('http://www.yahoo.com')
7474
assert 'Yahoo!' in browser.title
7575

7676
elem = browser.find_element_by_name('p') # Find the search box
7777
elem.send_keys('seleniumhq' + Keys.RETURN)
78-
78+
7979
browser.quit()
8080

8181
Example 2:
@@ -105,13 +105,13 @@ Selenium Server (optional)
105105

106106
For normal WebDriver scripts (non-Remote), the Java server is not needed.
107107

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).
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).
109109

110-
Download the server separately, from: http://selenium-release.storage.googleapis.com/2.40/selenium-server-standalone-2.40.0.jar
110+
Download the server separately, from: http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar
111111

112112
Run the server from the command line::
113113

114-
java -jar selenium-server-standalone-2.40.0.jar
114+
java -jar selenium-server-standalone-2.41.0.jar
115115

116116
Then run your Python client scripts.
117117

py/docs/source/index.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ Installing
3333
==========
3434

3535
If you have `pip <http://www.pip-installer.org>`_ on your system, you can simply install or upgrade the Python bindings::
36-
36+
3737
pip install -U selenium
3838

39-
Alternately, you can download the source distribution from `PyPI <http://pypi.python.org/pypi/selenium>`_ (e.g. selenium-2.40.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.41.tar.gz), unarchive it, and run::
4040

4141
python setup.py install
4242

@@ -65,17 +65,17 @@ Example 1:
6565

6666
::
6767

68-
from selenium import webdriver
68+
from selenium import webdriver
6969
from selenium.webdriver.common.keys import Keys
7070

7171
browser = webdriver.Firefox()
72-
72+
7373
browser.get('http://www.yahoo.com')
7474
assert 'Yahoo!' in browser.title
7575

7676
elem = browser.find_element_by_name('p') # Find the search box
7777
elem.send_keys('seleniumhq' + Keys.RETURN)
78-
78+
7979
browser.quit()
8080

8181
Example 2:
@@ -105,13 +105,13 @@ Selenium Server (optional)
105105

106106
For normal WebDriver scripts (non-Remote), the Java server is not needed.
107107

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).
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).
109109

110-
Download the server separately, from: http://selenium-release.storage.googleapis.com/2.40/selenium-server-standalone-2.40.0.jar
110+
Download the server separately, from: http://selenium-release.storage.googleapis.com/2.41/selenium-server-standalone-2.41.0.jar
111111

112112
Run the server from the command line::
113113

114-
java -jar selenium-server-standalone-2.40.0.jar
114+
java -jar selenium-server-standalone-2.41.0.jar
115115

116116
Then run your Python client scripts.
117117

py/selenium/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
from selenium import selenium
1616

1717

18-
__version__ = "2.40.0"
18+
__version__ = "2.41.0"

py/selenium/webdriver/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
from .common.touch_actions import TouchActions
2929
from .common.proxy import Proxy
3030

31-
__version__ = '2.40.0'
31+
__version__ = '2.41.0'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
setup_args = {
2929
'cmdclass':{'install': install},
3030
'name':'selenium',
31-
'version':"2.40.0",
31+
'version':"2.41.0",
3232
'description':'Python bindings for Selenium',
3333
'long_description':open(join(abspath(dirname(__file__)), "py", "README")).read(),
3434
'url':'http://code.google.com/p/selenium/',

0 commit comments

Comments
 (0)