1

I al looking to capture network traffic and log responses/headers however I cannot seem to find any resources for achieving this in c#. Most if not all of the guides have been for JS or Python. I read that this functionality was not added into the c# version as of 2019 but no new news has been posted. Does anyone know how to get network logs from a ChromeDriver?

dansi21
  • 13
  • 2
  • Does this answer your question? [How to set up performance logging in SeleniumWebdriver with Chrome](https://stackoverflow.com/questions/50986959/how-to-set-up-performance-logging-in-seleniumwebdriver-with-chrome) – Abhishek Dhoundiyal Jul 30 '21 at 05:08

2 Answers2

1

Wrong, in selenium 4 you can do that but it is still in beta

nuzooo
  • 131
  • 1
  • 9
0

You can use this approach in any selenium version and not wait for the Selenium 4 release.

https://www.automatetheplanet.com/webdriver-capture-modify-http-traffic/

shatulsky
  • 146
  • 8