Hello im using Selenmium Webdriver JavaScript with Mocha+Chai and i need to get HTTP Request response, there is one element that i want to get.
I tried using CDP, devTools, but without success. Is there any info or examples.
Can someone suggest solution to it
To capture HTTP request responses in Selenium WebDriver with JavaScript, start by enabling Chrome DevTools in Chrome options to log network traffic. After navigating to your page, retrieve the performance logs, which will contain all HTTP requests and responses. You can then filter these logs to find the specific request URL you need, checking its details like status and headers. Finally, close the driver to end the session. This way, you can capture and analyze network data directly from your test script.