Skip to main content

Robot Framework Library wrapper axe-selenium-python

Project description

Robot Axe Library

GitHub license

This projext is a RobotFramework Library wrapper for axe-selenium-python pakage. 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

pip3 install robot-axelibrary

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   None    None   None   None     None    report_accessibility.json
   Should Not Exceed Maximum Issues    4

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.0.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

robot_axelibrary-0.1.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

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