paypal / AATT

Automated Accessibility Testing Tool
BSD 3-Clause "New" or "Revised" License
602 stars 106 forks source link

Getting a deprecation warning when using AATT API for accessibility evaluation #18

Closed nehasaha closed 7 years ago

nehasaha commented 7 years ago

Getting (node:1496) DeprecationWarning: Calling an asynchronous function without callback is deprecated, when using AATT API for accessibility evaluation. I am using node v7.4.0.

nanthakumarv commented 7 years ago

Hi @nehasaha ,

I am new to this testing, can you please help me with this.

I used the below code in the config file: { "driver": { "browser": "firefox" }, "plugins": { "nemo-accessibility": { "module": "path:../", "arguments": ["http://127.0.0.1:8081/evaluate"] }, "view": { "module": "nemo-view" }
} }

And the below error is being thrown in gitbash $ node example/usingNemoAccessibility.js Nemo initialized successfully

C:\Users\391533\nemo-accessibility\node_modules\selenium-webdriver\lib\goog\asyn c\nexttick.js:39 goog.global.setTimeout(function() { throw exception; }, 0); ^ Error is null Response code is 400

Can you please help with implementing this?

Thanks, Vithushini

mpnkhan commented 7 years ago

Fixed.