Open gromanas opened 7 months ago
Thanks for the issue. Out of curiosity, do you know what your webdriverio's script timeout is set to? This line especially looks like the axe.run
script is only given 110 ms before webdriverio says it times out.
[0-0] 2024-02-22T20:24:41.062Z WARN webdriver: Request failed with status 408 due to Timed out waiting for asynchronous script result after 117 ms
Could you try increasing the script timeout and see if that fixes the problem? Running axe can take a bit, especially on larger pages.
@straker Thank you very much 🙇🏻 ! It resolved the issue of timeout, so this can be closed. Then I get the other error Request failed with status 405 due to Method has not yet been implemented
of https://github.com/dequelabs/axe-core-npm/issues/338. Using setLegacy(true)
and also with my workaround on https://github.com/dequelabs/axe-core-npm/issues/338#issuecomment-1959656200, I was able to produce a report at the end. Maybe we should consider if it is worth fixing this, I can help you on creating the PR, etc... What do you think?
Product
webdriverio
Product Version
v4.8.5
Latest Version
Issue Description
Expectation
builder.analyze()
to return results on iOS simulators/real devicesActual
How to Reproduce
On a test case that is running on iOS on a real device or simulator.
Additional context
This is still happening on wdio v8 and wdio v7, on node 14, node 20, also I have tested previous version of
@axe-core/webdriverio
4.6.0.