Sha256: 319ea0921b5c5667aed2a5ebda41555de110c4bcc229e54413b736ec299cd303

Contents?: true

Size: 862 Bytes

Versions: 375

Compression:

Stored size: 862 Bytes

Contents

# axe-chrome-debugging-protocol-example

This (very minimal) example demonstrates how to use `axe-core` with the [Chrome Debugging Protocol](https://chromedevtools.github.io/devtools-protocol/).

The example does not have feature parity with [`axe-webdriverjs`](https://github.com/dequelabs/axe-webdriverjs), and does not run on `<iframe>`s.

## To run the example

- Ensure Node v8+ is installed and on `PATH`
- Move to the `doc/examples/chrome-debugging-protocol` directory
- Run `npm install`
- Run `google-chrome --headless --remote-debugging-port=9222`. If you don't have a `google-chrome` binary, you can alias one with `alias google-chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'` on OSX.
- Run `node axe-cdp.js http://www.deque.com` to run `axe-core` via Puppeteer against http://www.deque.com and output results to the terminal

Version data entries

375 entries across 375 versions & 1 rubygems

Version Path
govuk_publishing_components-30.4.1 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-30.4.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-30.3.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-30.2.1 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-30.2.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-30.1.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-30.0.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.15.3 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.15.2 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.15.1 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.15.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.14.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.13.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.12.1 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.12.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.11.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.10.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.9.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.8.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md
govuk_publishing_components-29.7.0 node_modules/axe-core/doc/examples/chrome-debugging-protocol/README.md