Skip to content

Conversation

@davidcockbill
Copy link

There is a mechanism to bypass the use of the response results for results that have a single parameter.

This is broken for results that have no parameters.

This pull request catches the NoSuchElementException that is thrown in this case and unpacks an empty response.

- Add getFetch method to ChromeDevToolsSession

(cherry picked from commit dd38e73)
- Use `ChromeDevToolsClient.createBrowserContext()`` to create a Browser Context.
- Attach to the target with `ChromeDevToolsBrowserContext.attach()`
- There are two creation methods; one using host and port, the other directly using WebSocket address.

(cherry picked from commit b35223e)
- Change groupId: uk.co.screamingfrog
- Add Distribution Management to parent POM
- Change artifactId (422: Unprocessable Entity)

(cherry picked from commit cd02082)
- Handle response results with no return parameters
- Catch NoSuchElementException and perform normal results extraction.
@davidcockbill davidcockbill changed the title Bug83 Handle NoSuchElementException exception when processing responses Sep 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant