Describe the bug
Error running Accessibility Scanning on IOS Safari.
Environment Happening In
[x] Production
[ ] QA
[ ] Dev
To Reproduce
Steps to reproduce the behavior:
Run AxeBuilder.analyze with a Remote web driver connected to a Safari browser.
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):
Describe the bug Error running Accessibility Scanning on IOS Safari.
Environment Happening In
To Reproduce Steps to reproduce the behavior:
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):
Additional context Additional note, the error also happens on a more recent selenium api version. Version: 4.23.1