Hello community, here is the log from the commit of package python-selenium for openSUSE:Factory checked in at 2018-03-09 10:44:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-selenium (Old) and /work/SRC/openSUSE:Factory/.python-selenium.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-selenium" Fri Mar 9 10:44:39 2018 rev:5 rq:584212 version:3.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-selenium/python-selenium.changes 2018-02-14 09:44:50.154654217 +0100 +++ /work/SRC/openSUSE:Factory/.python-selenium.new/python-selenium.changes 2018-03-09 10:44:42.594754234 +0100 @@ -1,0 +2,12 @@ +Mon Mar 5 16:30:50 UTC 2018 - a...@gmx.de + +- update to version 3.10.0: + * make tests to check clicking on disabled element work for w3c + compliant drivers (#5561) + * add docstring for InvalidElementStateException. Fixes #5520 + * Deleting unused imports + * Making python specification in IDEA project more generic + * It should be possible to use a custom safaridriver executable to + run Selenium's test suite. + +------------------------------------------------------------------- Old: ---- selenium-3.9.0.tar.gz New: ---- selenium-3.10.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-selenium.spec ++++++ --- /var/tmp/diff_new_pack.pVgZpC/_old 2018-03-09 10:44:43.262730175 +0100 +++ /var/tmp/diff_new_pack.pVgZpC/_new 2018-03-09 10:44:43.262730175 +0100 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-selenium -Version: 3.9.0 +Version: 3.10.0 Release: 0 Summary: Python bindings for Selenium License: Apache-2.0 ++++++ selenium-3.9.0.tar.gz -> selenium-3.10.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.9.0/CHANGES new/selenium-3.10.0/CHANGES --- old/selenium-3.9.0/CHANGES 2018-02-05 21:46:36.000000000 +0100 +++ new/selenium-3.10.0/CHANGES 2018-03-05 11:19:07.000000000 +0100 @@ -1,3 +1,11 @@ +Selenium 3.10.0 + +* make tests to check clicking on disabled element work for w3c compliant drivers (#5561) +* add docstring for InvalidElementStateException. Fixes #5520 +* Deleting unused imports +* Making python specification in IDEA project more generic +* It should be possible to use a custom safaridriver executable to run Selenium's test suite. + Selenium 3.9.0 * Add docstrings to WebElement find methods (#5384) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.9.0/PKG-INFO new/selenium-3.10.0/PKG-INFO --- old/selenium-3.9.0/PKG-INFO 2018-02-05 21:50:58.000000000 +0100 +++ new/selenium-3.10.0/PKG-INFO 2018-03-05 11:44:22.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: selenium -Version: 3.9.0 +Version: 3.10.0 Summary: Python bindings for Selenium Home-page: https://github.com/SeleniumHQ/selenium/ Author: UNKNOWN @@ -44,7 +44,7 @@ pip install -U selenium - Alternately, you can download the source distribution from `PyPI <http://pypi.python.org/pypi/selenium>`_ (e.g. selenium-3.9.0.tar.gz), unarchive it, and run:: + Alternately, you can download the source distribution from `PyPI <http://pypi.python.org/pypi/selenium>`_ (e.g. selenium-3.10.0.tar.gz), unarchive it, and run:: python setup.py install @@ -136,11 +136,11 @@ 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/3.9/selenium-server-standalone-3.9.0.jar + Download the server separately, from: http://selenium-release.storage.googleapis.com/3.10/selenium-server-standalone-3.10.0.jar Run the server from the command line:: - java -jar selenium-server-standalone-3.9.0.jar + java -jar selenium-server-standalone-3.10.0.jar Then run your Python client scripts. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.9.0/README.rst new/selenium-3.10.0/README.rst --- old/selenium-3.9.0/README.rst 2018-02-05 21:40:41.000000000 +0100 +++ new/selenium-3.10.0/README.rst 2018-03-05 10:36:38.000000000 +0100 @@ -35,7 +35,7 @@ pip install -U selenium -Alternately, you can download the source distribution from `PyPI <http://pypi.python.org/pypi/selenium>`_ (e.g. selenium-3.9.0.tar.gz), unarchive it, and run:: +Alternately, you can download the source distribution from `PyPI <http://pypi.python.org/pypi/selenium>`_ (e.g. selenium-3.10.0.tar.gz), unarchive it, and run:: python setup.py install @@ -127,11 +127,11 @@ 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/3.9/selenium-server-standalone-3.9.0.jar +Download the server separately, from: http://selenium-release.storage.googleapis.com/3.10/selenium-server-standalone-3.10.0.jar Run the server from the command line:: - java -jar selenium-server-standalone-3.9.0.jar + java -jar selenium-server-standalone-3.10.0.jar Then run your Python client scripts. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.9.0/selenium/__init__.py new/selenium-3.10.0/selenium/__init__.py --- old/selenium-3.9.0/selenium/__init__.py 2018-02-05 21:40:41.000000000 +0100 +++ new/selenium-3.10.0/selenium/__init__.py 2018-03-05 10:36:38.000000000 +0100 @@ -16,4 +16,4 @@ # under the License. -__version__ = "3.9.0" +__version__ = "3.10.0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.9.0/selenium/common/exceptions.py new/selenium-3.10.0/selenium/common/exceptions.py --- old/selenium-3.9.0/selenium/common/exceptions.py 2017-11-09 19:11:57.000000000 +0100 +++ new/selenium-3.10.0/selenium/common/exceptions.py 2018-03-05 10:36:38.000000000 +0100 @@ -124,6 +124,9 @@ class InvalidElementStateException(WebDriverException): """ + Thrown when a command could not be completed because the element is in an invalid state. + + This can be caused by attempting to clear an element that isn't both editable and resettable. """ pass Binary files old/selenium-3.9.0/selenium/webdriver/firefox/webdriver.xpi and new/selenium-3.10.0/selenium/webdriver/firefox/webdriver.xpi differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.9.0/selenium/webdriver/safari/webdriver.py new/selenium-3.10.0/selenium/webdriver/safari/webdriver.py --- old/selenium-3.9.0/selenium/webdriver/safari/webdriver.py 2017-05-29 21:32:48.000000000 +0200 +++ new/selenium-3.10.0/selenium/webdriver/safari/webdriver.py 2018-03-05 10:36:38.000000000 +0100 @@ -22,7 +22,6 @@ from selenium.webdriver.common.desired_capabilities import DesiredCapabilities from selenium.webdriver.remote.webdriver import WebDriver as RemoteWebDriver -from .service import Service class WebDriver(RemoteWebDriver): @@ -31,20 +30,23 @@ """ - def __init__(self, port=0, executable_path="/usr/bin/safaridriver", + def __init__(self, port=0, executable_path="/usr/bin/safaridriver", reuse_service=False, desired_capabilities=DesiredCapabilities.SAFARI, quiet=False): """ - Creates a new instance of the Safari driver. - Starts the service and then creates new instance of Safari Driver. + Creates a new Safari driver instance and launches or finds a running safaridriver service. :Args: - - port - port you would like the service to run, if left as 0, a free port will be found. + - port - The port on which the safaridriver service should listen for new connections. If zero, a free port will be found. + - quiet - If True, the driver's stdout and stderr is suppressed. + - executable_path - Path to a custom safaridriver executable to be used. If absent, /usr/bin/safaridriver is used. - desired_capabilities: Dictionary object with desired capabilities (Can be used to provide various Safari switches). - - quiet - set to True to suppress stdout and stderr of the driver + - reuse_service - If True, do not spawn a safaridriver instance; instead, connect to an already-running service that was launched externally. """ - self.service = Service(executable_path, port=port, quiet=quiet) - self.service.start() + + self._reuse_service = reuse_service + if not reuse_service: + self.service.start() RemoteWebDriver.__init__( self, @@ -62,4 +64,5 @@ except http_client.BadStatusLine: pass finally: - self.service.stop() + if not self._reuse_service: + self.service.stop() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.9.0/selenium.egg-info/PKG-INFO new/selenium-3.10.0/selenium.egg-info/PKG-INFO --- old/selenium-3.9.0/selenium.egg-info/PKG-INFO 2018-02-05 21:50:58.000000000 +0100 +++ new/selenium-3.10.0/selenium.egg-info/PKG-INFO 2018-03-05 11:44:22.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: selenium -Version: 3.9.0 +Version: 3.10.0 Summary: Python bindings for Selenium Home-page: https://github.com/SeleniumHQ/selenium/ Author: UNKNOWN @@ -44,7 +44,7 @@ pip install -U selenium - Alternately, you can download the source distribution from `PyPI <http://pypi.python.org/pypi/selenium>`_ (e.g. selenium-3.9.0.tar.gz), unarchive it, and run:: + Alternately, you can download the source distribution from `PyPI <http://pypi.python.org/pypi/selenium>`_ (e.g. selenium-3.10.0.tar.gz), unarchive it, and run:: python setup.py install @@ -136,11 +136,11 @@ 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/3.9/selenium-server-standalone-3.9.0.jar + Download the server separately, from: http://selenium-release.storage.googleapis.com/3.10/selenium-server-standalone-3.10.0.jar Run the server from the command line:: - java -jar selenium-server-standalone-3.9.0.jar + java -jar selenium-server-standalone-3.10.0.jar Then run your Python client scripts. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/selenium-3.9.0/setup.py new/selenium-3.10.0/setup.py --- old/selenium-3.9.0/setup.py 2018-02-05 21:40:41.000000000 +0100 +++ new/selenium-3.10.0/setup.py 2018-03-05 10:36:38.000000000 +0100 @@ -29,7 +29,7 @@ setup_args = { 'cmdclass': {'install': install}, 'name': 'selenium', - 'version': "3.9.0", + 'version': "3.10.0", 'license': 'Apache 2.0', 'description': 'Python bindings for Selenium', 'long_description': open(join(abspath(dirname(__file__)), "README.rst")).read(),