[🐛 Bug]: CDP NetworkInterceptor warning when reading request body/contents #15013
Labels
I-defect
I-issue-template
Applied to issues not following the template, or missing information.
needs-triaging
What happened?
Whenever the request contents of a request gets read, a warning message gets logged, which can be pretty huge, as it dumps the entire request, including headers & contents. For my usage, this doesn't seem to be causing any actual issues though.
How can we reproduce the issue?
See repository for a simple'ish example: https://github.com/MichailiK/NetworkInterceptorBug
(Build the project using
mvn package
, then run usingjava -jar target/NetworkInterceptorBug-1.0-SNAPSHOT-All.jar
)The repro is inconsistent & may require several runs. I believe this is a race condition.
If I had a semi-educated guess on what is going on: Because I am closing the network interceptor right after I receive the needed request body, Selenium may disable the Fetch domain before its entirely done processing (?) the last intercepted request.
Relevant log output
Log output
Operating System
NixOS 24.11
Selenium version
Java 4.28.0
What are the browser(s) and version(s) where you see this issue?
Chromium 132.0.6834.110
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 132.0.6834.110
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: