Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

axe-webdriverjs deprecated #1

Open
mgifford opened this issue Mar 6, 2020 · 2 comments
Open

axe-webdriverjs deprecated #1

mgifford opened this issue Mar 6, 2020 · 2 comments
Assignees

Comments

@mgifford
Copy link

mgifford commented Mar 6, 2020

Just noting this issue. Not sure if there is a more actively maintained tool for this.

axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 index.js:24:14

@elenatorro
Copy link
Owner

Hi @mgifford, thanks! I'll take a look 👀

@elenatorro elenatorro self-assigned this Mar 7, 2020
@mgifford
Copy link
Author

mgifford commented Mar 11, 2020

Thanks @elenatorro - might be tied to this dequelabs/axe-webdriverjs#146

In case it helps:

axe-report-generator$ npm run generate

> [email protected] generate /Users/mikegifford/axe-report-generator
> node index

axe-webdriverjs deprecated Error must be handled as the first argument of axe.analyze. See: #83 index.js:24:14
(node:40182) UnhandledPromiseRejectionWarning: TimeoutError: Waiting for title to be "Elena Torro"
Wait timed out after 1097ms
    at /Users/mikegifford/axe-report-generator/node_modules/selenium-webdriver/lib/webdriver.js:842:17
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:40182) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:40182) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:40182) UnhandledPromiseRejectionWarning: NoSuchSessionError: This driver instance does not have a valid session ID (did you call WebDriver.quit()?) and may no longer be used.
    at promise.finally (/Users/mikegifford/axe-report-generator/node_modules/selenium-webdriver/lib/webdriver.js:730:38)
    at Object.thenFinally [as finally] (/Users/mikegifford/axe-report-generator/node_modules/selenium-webdriver/lib/promise.js:124:12)
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:40182) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:40182) UnhandledPromiseRejectionWarning: Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:62528
    at ClientRequest.<anonymous> (/Users/mikegifford/axe-report-generator/node_modules/selenium-webdriver/http/index.js:262:15)
    at ClientRequest.emit (events.js:182:13)
    at Socket.socketErrorListener (_http_client.js:391:9)
    at Socket.emit (events.js:182:13)
    at emitErrorNT (internal/streams/destroy.js:82:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
    at process._tickCallback (internal/process/next_tick.js:63:19)
(node:40182) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants