Skip to main content

Robot Framework Library wrapper axe-selenium-python

Project description

Robot Axe Library

GitHub license

This project is a RobotFramework Library wrapper for axe-selenium-python package. In this project we abstracted the entire library setup for use in robotframework and also implemented the entire interface for communicating with the AXE library allowing to define specific filters to look for accessibility issues in addition to allowing the necessary assertions on the test side, for your your test passes or fails depending on the configuration you want, allowing a maximum number of issues, excluding elements you don't want to analyze, and allowing you to define specific accessibility rules, levels, tags and impact.

How to install

pip install robot-axelibrary==0.1.8

How to use

*** Settings ***
Library     OperatingSystem
Library     SeleniumLibrary
Library     RobotAxeLibrary

*** Test Cases ***
Default Check Pass

   Open Browser                        https://retrospective-twitter.web.app/  chrome
   Wait Until Page Contains            Faça o login com a sua conta do twitter
   Check for accessibility issues      report_file=report_accessibility.json
   Should Not Exceed Maximum Issues    4

Keywords Documentation

Click Here

Glossary

  • Violation: A violation is a type of accessibility problem, for example a color-contrast problem or a missing aria-label
  • Issue: An issue is the occurrence of a violation in one element or more, for example we can get 2 issues from the type color-contrast and 1 from aria-label

Feature Request

If you have any feature request just open an issue describing your request or feel free with your feature! Any pull pull request are welcome!

Found an issue?

Register the issue here and wait for us to solve it as soon as possible. In addition, any contribution is welcome, so feel free to make a pull request if you want to solve any problem :happy:

License

MIT

Project Inspiration

robotframework-axelibrary by @adiralashiva8

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robot-axelibrary-0.1.8.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

robot_axelibrary-0.1.8-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file robot-axelibrary-0.1.8.tar.gz.

File metadata

  • Download URL: robot-axelibrary-0.1.8.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for robot-axelibrary-0.1.8.tar.gz
Algorithm Hash digest
SHA256 a8dfcb2bb3d50ba67919df71656e23e66b99f1c09e85e8baf7a0608b1db39b7a
MD5 e49f49a20f7645c74abd77c958030d30
BLAKE2b-256 766d29c2910164c8e4e860964c24ab8d48f5bc04122a1efe4a81222cd8c2e6f1

See more details on using hashes here.

File details

Details for the file robot_axelibrary-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: robot_axelibrary-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for robot_axelibrary-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 1f8198b6791786236195dfc9355565725ef7b38a2e5eec8060b30e0ba8709138
MD5 6a7c0bb2abc3daa4e4bede06abc8aa15
BLAKE2b-256 7fbdb383f3616b883859a2781040289d91c523a8bf87cf41d903a6dc1f9c8eda

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