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

[Feature]: Please Add Parameterized Timeout Setting #2036

Open
kbpitula opened this issue Sep 12, 2024 · 1 comment
Open

[Feature]: Please Add Parameterized Timeout Setting #2036

kbpitula opened this issue Sep 12, 2024 · 1 comment
Labels
node-accessibility-checker Issues in the accessibility-checker component T63 user-reported Issues identified outside of the core team

Comments

@kbpitula
Copy link

kbpitula commented Sep 12, 2024

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?

@shunguoy
Copy link
Contributor

@shunguoy shunguoy added T63 node-accessibility-checker Issues in the accessibility-checker component labels Sep 12, 2024
@MHoov MHoov added the user-reported Issues identified outside of the core team label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node-accessibility-checker Issues in the accessibility-checker component T63 user-reported Issues identified outside of the core team
Projects
None yet
Development

No branches or pull requests

3 participants