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

BUG: AccessibilityScanRuntimeException on IOS safari #475

Open
1 of 3 tasks
zcube123 opened this issue Aug 23, 2024 · 1 comment
Open
1 of 3 tasks

BUG: AccessibilityScanRuntimeException on IOS safari #475

zcube123 opened this issue Aug 23, 2024 · 1 comment
Labels
question selenium Selenium integration

Comments

@zcube123
Copy link

Describe the bug
Error running Accessibility Scanning on IOS Safari.

Environment Happening In

  • Production
  • QA
  • Dev

To Reproduce
Steps to reproduce the behavior:

  1. Run AxeBuilder.analyze with a Remote web driver connected to a Safari browser.
  2. Receive a null pointer exception:
    java.lang.NullPointerException: Cannot invoke "java.lang.Number.longValue()" because the return value of "java.util.Map.get(Object)" is null at org.openqa.selenium.remote.RemoteWebDriver$RemoteWebDriverOptions$RemoteTimeouts.getPageLoadTimeout(RemoteWebDriver.java:992) at com.deque.html.axecore.selenium.AxeBuilder.analyzeRawContext(AxeBuilder.java:655) at com.deque.html.axecore.selenium.AxeBuilder.analyze(AxeBuilder.java:613)

Expected behavior
An iOS accessibility scan runs without error.

Actual behavior
A clear and concise description of what actually happened.
Null pointer exception.

Screenshots
If applicable, add screenshots to help explain your problem.

Related Tickets
List out any user story or bug ticket(s) related to this bug.

Desktop (please complete the following information):

  • Product: [axe-core]
  • Product Version: 'com.deque.html.axe-core:selenium:4.9.+' (Latest)
  • 'org.seleniumhq.selenium:selenium-java:4.16.1'
  • Latest Product Version it is NOT happening in: Not sure.
  • OS: macOS Ventura 13
  • Browser Safari
  • Browser Version 17

Additional context
Additional note, the error also happens on a more recent selenium api version. Version: 4.23.1

@Zidious
Copy link
Contributor

Zidious commented Aug 24, 2024

Hey @zcube123,

Thanks for reporting this. Can you share more details about how your test is setup and if the page under test is public?

@Zidious Zidious added question selenium Selenium integration labels Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question selenium Selenium integration
Projects
None yet
Development

No branches or pull requests

2 participants