pypom-axe integrates the aXe accessibility testing API with PyPOM.
Requirements
You will need the following prerequisites in order to use pypom-axe:
Python 2.7 or 3.6
PyPOM >= 1.2.0
Installation
To install pypom-axe:
$ pip install pypom-axe -i https://testpypi.python.org
Usage
pypom-axe will run the aXe accessibility checks by default whenever its wait_for_page_to_load() method is called.
If you overload wait_for_page_to_load(), you will need to call super([YOUR CLASS NAME], self).wait_for_page_to_load() within your overloaded method.
base.py
from pypom_axe import AxePage as Page
class Base(Page):
def wait_for_page_to_load(self):
super(Base, self).wait_for_page_to_load()
self.wait.until(lambda s: self.seed_url in s.current_url)
return self
Resources
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pypom-axe-0.0.4.tar.gz.
File metadata
- Download URL: pypom-axe-0.0.4.tar.gz
- Upload date:
- Size: 62.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5682fe968e203aaa6282752f2a5790b11cd9b7d689ed6de6d8167d4562dbb2be
|
|
| MD5 |
f7423a591292e218115242a324a406ff
|
|
| BLAKE2b-256 |
3eccbaa4b5ac9f581933d021b3c71b2a87ef863f84de2188f20016ca9053cab0
|
File details
Details for the file pypom_axe-0.0.4-py2-none-any.whl.
File metadata
- Download URL: pypom_axe-0.0.4-py2-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7a5afead940e42b5311a10f11ce58a35bc47e8a27a34b4f4710c436aa1a061c
|
|
| MD5 |
b214b31f11e1dacd81434b9050e66097
|
|
| BLAKE2b-256 |
a75d027a0cd6773b7833896fa5092978459789567c1d283e5716fef6d7e42542
|