Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 7a72eda

Browse files
committed
added browser section to docs
1 parent a6ce9a8 commit 7a72eda

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

readme.MD

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,15 @@ If you want to only test a specific area of a page, or wish to exclude some part
5252
### Custom axe-core versions
5353

5454
Axe-cli will look for locally available versions of axe-core. If the directory from where you start axe-cli has an `axe.js` file, or has a `node_modules` directory with axe-core installed in it. Axe-cli will use this version of axe-core instead of the default version installed globally.
55+
56+
### Different browsers
57+
58+
Axe-cli can run in a variety of web browsers. By default axe-cli uses PhantomJS, which is installed as a dependency. But axe-cli is equally capable of testing pages using other web browers. **Running in another browser requires that browser's webdriver to be installed**. You can find a list of available webdrivers at: https://www.npmjs.com/package/selenium-webdriver
59+
60+
To run axe-cli using another browser, pass it in as the `--browser` option:
61+
62+
axe www.deque.com --browser chrome
63+
64+
Or for short:
65+
66+
axe www.deque.com -b c

0 commit comments

Comments
 (0)