Closed roxana-agache closed 1 year ago
@roxana-agache, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
💬 Please ask questions at:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
What happened?
This Warn in console always appears after a test run:
I'm using Selenium version 4.8.1 and I'm trying to intercept some requests in my tests. The tests are working fine and passing, Selenium intercepts the requests and so on but the thing that I'm concerned about is the fact that the driver for which I'm creating the DevTools session is not the same driver I'm using when e.g. interacting with DOM elements. I presume this because there's always a timeout of 10s between test/scenario runs and the time when the logging was done for DevTools session disconnection.
What am I doing wrong ?
How can we reproduce the issue?
My DriverService class contains the following:
I'm injecting the DevTools bean in a helper class:
public void mapRequestsAndResponsesByPathParam(List requestsList, List responsesList) {
devTools.addListener(Network.requestWillBeSent(),
request -> {
//listener code
});
devTools.addListener(Network.responseReceived(),
//listener code
});
}
Operating System
MacOS Ventura 13.3.1 (a)
Selenium version
4.8.1
What are the browser(s) and version(s) where you see this issue?
Chrome 114 (WebDriverManager from io.github.bonigarcia v5.3.2)
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 114.0.5735.90
Are you using Selenium Grid?
No