dequelabs / axe-cli

[Deprecated] A command-line interface for the aXe accessibility testing engine
Mozilla Public License 2.0
430 stars 44 forks source link

cannot set path and executable to the browser #60

Closed masi closed 5 years ago

masi commented 6 years ago

On Windows I tried to use axe-cli with a PortableApps.com version. For such a case seting up PATH won't be enough as the binary is called GoogleChromePortable.exe. So I need to set the full path (or path and filename).

Ok, this is probably rare, but I guess passing the path to axe-cli as a parameter is a nice thing to have.

Masi

PS: Pointers so I can try my luck adding this feature for myself are welcome.

WilcoFiers commented 6 years ago

You'll probably need to make a change to lib/webdriver.js, pass it in as an argument to startDriver(). Not sure how to have it load a browser on a different path, but I'm sure if you dig deep enough into the Selenium docs you'll find it there. Be sure not to limit this to just Chrome though. If we add such a feature it should work for other browsers.

stephenmathieson commented 5 years ago

@masi is this still relevant?