``pypom-axe`` is a PyPOM extension to integrate accessibility tests using the aXe API.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pypom-axe-0.0.5.tar.gz
(62.7 kB
view hashes)
Built Distribution
pypom_axe-0.0.5-py2-none-any.whl
(64.0 kB
view hashes)
Close
Hashes for pypom_axe-0.0.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a2aee07064bfbec796646a6bdb96ae00ea0c790ff4f4e7e3841929ac3d5ad95 |
|
MD5 | 7b2fd2aee97e2e5991fcb389d45d4b23 |
|
BLAKE2b-256 | f6682d97590704d8992d5ffbdb81b992876727c70308974cc54127cd5946f2a3 |