[Feature]: Please Add Parameterized Timeout Setting #2036
Labels
node-accessibility-checker
Issues in the accessibility-checker component
T63
user-reported
Issues identified outside of the core team
Project
accessibility-checker for Node
https://www.npmjs.com/package/accessibility-checker version 3.1.75
Description
I am using the a11y checker as part of my Selenium UI tests. When I execute the scan (e.g., aChecker.getCompliance(driver, label)), it fails with the error: ScriptTimeoutError: script timeout.
I tried increasing the WebDriver timeout (e.g., await driver.manage().setTimeouts({ script: 5000000 });), but the issue persists.
I investigated where the a11y-checker sets the timeout and made some modifications to check for the problem. I changed all timeouts in ACHelper and ACEngineManager:
From 60000 to 10000000
From 30000 to 10000000
The script then generated the report.
Is it possible to parameterize this timeout setting so that I can adjust it for my script?
The text was updated successfully, but these errors were encountered: