All Projects → AmadeusITGroup → Assistive-Webdriver

AmadeusITGroup / Assistive-Webdriver

Licence: MIT license
Assistive-Webdriver is a tool to automate end-to-end web application tests with a screen reader.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
C++
36643 projects - #6 most used programming language
shell
77523 projects
c
50402 projects - #5 most used programming language
HTML
75241 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to Assistive-Webdriver

mugshot
Framework independent visual testing library
Stars: ✭ 126 (+563.16%)
Mutual labels:  webdriver, playwright
selenium-download
allow downloading of latest selenium standalone server and chromedriver
Stars: ✭ 28 (+47.37%)
Mutual labels:  webdriver
elemental
Elemental makes Selenium automation faster and easier.
Stars: ✭ 36 (+89.47%)
Mutual labels:  webdriver
playwright-community
A central home for tutorials, tooling, and showcases of the Playwright ecosystem.
Stars: ✭ 38 (+100%)
Mutual labels:  playwright
wdio-intercept-service
🕸 Capture and assert HTTP ajax calls in webdriver.io
Stars: ✭ 101 (+431.58%)
Mutual labels:  webdriver
ScribeBot
A highly scriptable automation system full of cool features. Automate everything with a little bit of Lua.
Stars: ✭ 72 (+278.95%)
Mutual labels:  webdriver
playwright-ci
☁️ Set up Playwright in CI
Stars: ✭ 27 (+42.11%)
Mutual labels:  playwright
google-meet-bot
Bot for scheduling and entering google meet sessions automatically
Stars: ✭ 33 (+73.68%)
Mutual labels:  webdriver
heroku-playwright-buildpack
Buildpack for running Playwright with Chromium and Firefox on Heroku.
Stars: ✭ 34 (+78.95%)
Mutual labels:  playwright
playwright-lighthouse
🎭: Playwright Lighthouse Audit
Stars: ✭ 120 (+531.58%)
Mutual labels:  playwright
playwright-demos
playwright for scrapping and UI testing / automate testing workflows
Stars: ✭ 65 (+242.11%)
Mutual labels:  playwright
violent-webdriver
UI自动化测试暴力插件
Stars: ✭ 41 (+115.79%)
Mutual labels:  webdriver
watir-get-image-content
Get Watir::Image's content copy without external download
Stars: ✭ 14 (-26.32%)
Mutual labels:  webdriver
wd.java
Java Client binding for Macaca
Stars: ✭ 30 (+57.89%)
Mutual labels:  webdriver
selenium-auto-wait
Utility to automatically manage all web element waits and enables to write wait-free selenium tests.
Stars: ✭ 31 (+63.16%)
Mutual labels:  webdriver
pytest-playwright
Pytest plugin to write Playwright tests with ease. Provides fixtures to have a page instance for each individual test and helpful CLI options for headless browsers.
Stars: ✭ 14 (-26.32%)
Mutual labels:  playwright
jest-environment-selenium
Jest environment for running Selenium WebDriver tests
Stars: ✭ 28 (+47.37%)
Mutual labels:  webdriver
nx-extend
Nx Workspaces builders and tools
Stars: ✭ 67 (+252.63%)
Mutual labels:  playwright
testcontainers
Selenide + TestContainers (Docker) sample project
Stars: ✭ 28 (+47.37%)
Mutual labels:  automated-tests
PyScholar
A 'supervised' parser for Google Scholar
Stars: ✭ 74 (+289.47%)
Mutual labels:  webdriver

codecov

Presentation

This repository contains a set of components to automate end-to-end web application tests with a screen reader.

Web sites and web applications are increasingly required to be accessible, and, especially, compatible with screen readers, so that visually impaired users can use them.

To be sure that an application is compatible with a screen reader, it is important to test it in real conditions, which means using the application with the keyboard and listening to what the screen reader says. That is how a visually impaired user would interact with the application.

Most of the time those tests are currently done manually. The tools available in this repository allow to automate them.

Assistive-Webdriver

Assistive-webdriver is an implementation of a Webdriver server that allows testing a scenario in a web application with a screen reader and checking that the screen reader says what is expected.

Concretely, it adds screen reader-related functions to webdriver.

For example:

await driver.wait(forScreenReaderToSay("Date of departure"), 5000);

It also allows keystrokes to be sent low-level enough to pass through the screen reader (unlike usual webdriver implementations that send keystrokes directly to the browser and bypass hooks in the operating system).

For example, the "down arrow" key usually makes a screen reader read the next thing on the screen:

await driver.actions().sendKeys(Key.DOWN).perform();

Assistive-webdriver uses a virtual machine to run tests. Here is a schema describing how it works:

Architecture of Assistive-Webdriver

The 3 yellow boxes in this schema are the three components of Assistive-Webdriver, in the following three directories:

Inside of the assistive-webdriver component, all calls to create, control, and destroy the virtual machine are made through the following component that can be used independently:

Assistive-Playwright

Assistive-Playwright is similar to Assistive-Webdriver but is based on playwright rather than webdriver.

It adds screen reader-related functions to playwright:

await screenReader.waitForMessage("Date of departure");

In order to be able to send low-level mouse and keyboard events, Assistive-Playwright uses a virtual machine to run tests. Here is a schema describing how it works:

Architecture of Assistive-Playwright

The 3 yellow boxes in this schema are the three components of Assistive-Playwright, in the following three directories:

Another package is provided for integration with the @playwright/test test runner (it uses assistive-playwright-client internally):

Inside of the assistive-playwright-client component, all calls to create, control, and destroy the virtual machine are made through the following component that can be used independently:

Note that the recommended way to run tests with a screen reader is to use the assistive-playwright-test package along with @playwright/test.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].