axe-selenium-python-nhsuk integrates aXe and Selenium to enable automated web accessibility testing.
This version of axe-selenium-python-nhsuk is using axe-core v4.9.1
This package is derived from axe-selenium-python 2.1.6.
The main purpose of creating a new package was to allow us to update the axe-core version and push to PyPi. The original package has not been updated since 2018.
To install axe-selenium-python-nhsuk:
$ pip install axe-selenium-python-nhsuk
For Usage and CHANGELOG, go to: https://pypi.org/project/axe-selenium-python/
Create a new branch and make the following changes:
- axe_selenium_python/axe_selenium_python/package-lock.json - Update line 8-10 using information found here - search for 'axe-core' to find the relevant info
- axe-selenium-python/axe_selenium_python/package.json - Update line 16 (use the same version you set in the file above on line 8)
- axe-selenium-python/README.rst - Update the version of axe-core that will be used (found at the top of this README file)
- axe-selenium-python/setup.py - Increase the version number on line 13 - e.g. 1.0.3 > 1.0.4 (this new version number will also be used as a GitHub release tag)
Create a Pull Request and merge your changes to the master branch.
- On GitHub.com, navigate to the main page of the repository
- To the right of the list of files, click Releases
- Click Create a new release
- Click Choose a tag, type the same version number you set in axe-selenium-python/setup.py, click Create a new tag
- Ensure the Target is set to master
- Enter a Release title - e.g. Release axe-core version 4.4.3
- If required, enter additional text in the Release decription
- Click Publish release
If the release is successful then it should appear on PyPi in a few minutes.