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.1.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.1-py2-none-any.whl (4.6 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for pypom-axe-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9b5c3f7db9edb8cb95e2feeed26c4edc94cf4cd584e4ae49570597040244f8ec
MD5 6a680e051d3eb49efc0729357badb608
BLAKE2b-256 eb399c7546647f590b92963bf0036ac793fab82066fcc8d508db7482403709a5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pypom_axe-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 969fdef54f234cbfb0ea6d6a1b4103c0e28e737603cb03b42cc175889da70694
MD5 54164a20c96d500d5bfa7a20fac0356e
BLAKE2b-256 29548a27f071851444dfaef89518416ef0b220ea053b7219023e845575208628

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