Skip to main content

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

pypom-axe-0.0.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypom_axe-0.0.3-py2-none-any.whl (4.6 kB view details)

Uploaded Python 2

File details

Details for the file pypom-axe-0.0.3.tar.gz.

File metadata

  • Download URL: pypom-axe-0.0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypom-axe-0.0.3.tar.gz
Algorithm Hash digest
SHA256 26fb9287240b3b1e46af954baa9bc3cb15f4738ae0643cccf57a9183b57d2e17
MD5 5f6a1c17397cbeda6bb4f156d46d02d0
BLAKE2b-256 b4b0fd996d71b646382ebf98916bac7c6dfd6b5dc3660880ec4deaaf3e1b2c1d

See more details on using hashes here.

File details

Details for the file pypom_axe-0.0.3-py2-none-any.whl.

File metadata

File hashes

Hashes for pypom_axe-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 27ed4f07f42fc3346af4c05e4945b923060b3457924f9aa2d5d46c54ce556b94
MD5 4a18d2837d4c3634ed042f97cdaad1ff
BLAKE2b-256 005841f2b07474804214dcdf9b5d29133192cb564cca372fc559cba0ca71a9ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page