14
0

Accepting request 492714 from home:TheBlackCat:branches:devel:languages:python

- Update to version 3.4.1
- Implement single-spec version.

OBS-URL: https://build.opensuse.org/request/show/492714
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-selenium?expand=0&rev=53
This commit is contained in:
Todd R
2017-05-08 14:21:26 +00:00
committed by Git OBS Bridge
parent 0e04a7aaeb
commit 7c22ae0322
4 changed files with 80 additions and 13 deletions

View File

@@ -1,3 +1,65 @@
-------------------------------------------------------------------
Wed May 3 16:38:33 UTC 2017 - toddrme2178@gmail.com
- Update to version 3.4.1
* Add back the ability to set profile when using Firefox 45ESR. Fixes #3897
- Update to version Selenium 3.4.0
* Correct usage of newSession around `firstMatch` and `alwaysMatch`
* Remove superfluous capabilities that are not needed
* Add expected condition that waits for all found elements to be visible (#3532)
* Allow methods wrapped by EventFiringWebDriver and EventFiringWebElement (#806)
* Dropping `javascriptEnabled` capability for real browsers
* Use W3C check from parent object instead of assuming from capabilities
* Bump example source distribution to match latest release.
* Replace TypeError with KeyError in remote webdriver error handler code (#3826)
* When testing Marionette use default capabilities in testing
* Conform to the api of urllib2 for adding header for a request (#3803)
* Add `text` key to alert#sendKeys parameters for W3C Endpoint
* Location once scrolled into view should use W3C executeScript endpoint not JSONWP
* Fixed the usage information in documentation of "save_screenshot". (#3804)
* Add Element Not Interactable exception
* Clean up imports in error handler
* flake8 cleanup
- Update to version Selenium 3.3.3
* make w3c execute_script commands unique
- Update to version Selenium 3.3.2
* Update window commands to use W3C End points
* Update Alert when in W3C mode to use W3C Endpoints
* Update to new W3C Execute Script end points
* Add setting/getting proxy details to Firefox Options
* Deprecate the use of browser profile when instantiating a session
* Update start session to handle the W3C New Session
* Add get/set window rect commands
* Add InvalidArgumentException
* When passing in `text` to send_keys, make sure we send a string not array
* Fix string decoding in remote connection (#3663)
* Fix indentation to satisfy PEP8
* Try use old way of setting page load timeout if new way fails. Fixes #3654
* fix file uploads for Firefox
* Run unit tests on Python 3.3, 3.4, and 3.5 (#3638)
* Fix indentation in double_click.
* Fix non-W3C page load timeout setting.
- Update to version Selenium 3.3.1
* Fix encoding of basic auth header when using Python 3 Fixes #3622
* Add initial unit test suite
* Update W3C Timeout setting to be in line with the specification
* support.ui.Select class inherits from object (#3067)
* fix bug in proxy constructor that some properties are not proper set (#3459)
* Fix flake8 issues (#3628)
- Update to version Selenium 3.3.0
** Note ** If you are updating to this version, please also update GeckoDriver to v0.15.0
* Fix python HTTPS encoding for python driver (#3379)
* Allow Firefox preferences to be set directly in Options
* Fix shutdown and process termination (#3263)
* Preventing exception if log_path is none or empty. Fixes #3128
* Add the W3C capability to Firefox for accepting insecure certificates
* Initial implementation of Pointer Actions
* Only skip tests if driver name matches a directory name.
* Update calls that return a pure object with keys to look for 'value' key
* Initial W3C Actions support
* fix docs output directory
- Implement single-spec version.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 6 11:56:11 UTC 2017 - boris@steki.net Mon Mar 6 11:56:11 UTC 2017 - boris@steki.net

View File

@@ -16,20 +16,24 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-selenium Name: python-selenium
Version: 3.0.2 Version: 3.4.1
Release: 0 Release: 0
Url: https://github.com/SeleniumHQ/selenium Url: https://github.com/SeleniumHQ/selenium
Summary: Python bindings for Selenium Summary: Python bindings for Selenium
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Source: https://pypi.io/packages/source/s/selenium/selenium-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/s/selenium/selenium-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: fdupes
BuildRequires: python-rdflib BuildRequires: python-rpm-macros
BuildRequires: python-setuptools BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module rdflib}
Requires: python-rdflib Requires: python-rdflib
ExclusiveArch: %ix86 x86_64 ExclusiveArch: %ix86 x86_64
%python_subpackages
%description %description
Selenium Python Client Driver is a Python language binding for Selenium Remote Selenium Python Client Driver is a Python language binding for Selenium Remote
@@ -43,18 +47,19 @@ add more "native" drivers.
%setup -q -n selenium-%{version} %setup -q -n selenium-%{version}
%build %build
python setup.py build %python_build
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} %python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# Avoid 64bit runtime dependencies on 32bit architectures: # Avoid 64bit runtime dependencies on 32bit architectures:
%ifarch %ix86 %ifarch %ix86
rm %{buildroot}%{python_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so %python_expand rm %{buildroot}%{$python_sitelib}/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so
%endif %endif
%files %files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc py/README.rst py/CHANGES %doc README.rst CHANGES
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:85daad4d09be86bddd4f45579986ac316c1909c3b4653ed471ea4519eb413c8f
size 830314

3
selenium-3.4.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ea10cb739d3d2c27dfdd5ed60cdc28a36e6bafb7b6021ac7acd01dfc4aef005b
size 838624