Skip to content

Conversation

@jtnord
Copy link
Member

@jtnord jtnord commented Jun 19, 2025

This was some WIP that I had worked on a month ago.
The HAR support in ChromeDevTools is actually deprecated in selenium, and there is no other replacement. BiDi support does seem to somewhat have some of the events that you can use to build a HAR yourself and so that was the root I took (taking some inspiration based on https://github.com/firefox-devtools/bidi-har-export (MPL licence)

it is not complete and do not currently have time to push this forward.
BiDi events do not allow to get the contents of pages so this would always be sub optimal.

see #1998

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

jtnord added 2 commits May 12, 2025 11:42
Selenium will report the URL to use for BiDi connections based on its
own hostname which is not reachable.

Pass the SE_NODE_GRID_URL to the container with the address the local
manchine can reach it on (which is the same as the normal webdriver
host:port)
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