Skip to content

Commit

Permalink
Updating necessary files for Python release
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Mar 28, 2014
1 parent 3ec9e00 commit 35c2361
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 19 deletions.
4 changes: 4 additions & 0 deletions py/CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Selenium 2.41
* Support for Firefox 28
* deprecating switch_to_* in favour of driver.switch_to.*

Selenium 2.40
* Support for Firefox 27
* Fixes related to http connection
Expand Down
16 changes: 8 additions & 8 deletions py/README
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ Installing
==========

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

pip install -U selenium

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::
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::

python setup.py install

Expand Down Expand Up @@ -65,17 +65,17 @@ Example 1:

::

from selenium import webdriver
from selenium import webdriver
from selenium.webdriver.common.keys import Keys

browser = webdriver.Firefox()

browser.get('http://www.yahoo.com')
assert 'Yahoo!' in browser.title

elem = browser.find_element_by_name('p') # Find the search box
elem.send_keys('seleniumhq' + Keys.RETURN)

browser.quit()

Example 2:
Expand Down Expand Up @@ -105,13 +105,13 @@ Selenium Server (optional)

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

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

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

Run the server from the command line::

java -jar selenium-server-standalone-2.40.0.jar
java -jar selenium-server-standalone-2.41.0.jar

Then run your Python client scripts.

Expand Down
16 changes: 8 additions & 8 deletions py/docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ Installing
==========

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

pip install -U selenium

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::
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::

python setup.py install

Expand Down Expand Up @@ -65,17 +65,17 @@ Example 1:

::

from selenium import webdriver
from selenium import webdriver
from selenium.webdriver.common.keys import Keys

browser = webdriver.Firefox()

browser.get('http://www.yahoo.com')
assert 'Yahoo!' in browser.title

elem = browser.find_element_by_name('p') # Find the search box
elem.send_keys('seleniumhq' + Keys.RETURN)

browser.quit()

Example 2:
Expand Down Expand Up @@ -105,13 +105,13 @@ Selenium Server (optional)

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

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

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

Run the server from the command line::

java -jar selenium-server-standalone-2.40.0.jar
java -jar selenium-server-standalone-2.41.0.jar

Then run your Python client scripts.

Expand Down
2 changes: 1 addition & 1 deletion py/selenium/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
from selenium import selenium


__version__ = "2.40.0"
__version__ = "2.41.0"
2 changes: 1 addition & 1 deletion py/selenium/webdriver/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
from .common.touch_actions import TouchActions
from .common.proxy import Proxy

__version__ = '2.40.0'
__version__ = '2.41.0'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
setup_args = {
'cmdclass':{'install': install},
'name':'selenium',
'version':"2.40.0",
'version':"2.41.0",
'description':'Python bindings for Selenium',
'long_description':open(join(abspath(dirname(__file__)), "py", "README")).read(),
'url':'http://code.google.com/p/selenium/',
Expand Down

0 comments on commit 35c2361

Please sign in to comment.