3

I'm using Selenium with chromeDriver for JavaScript and I want to get all network logs from the Browser with their payload. I searched a lot but, there are ways to get the requests, but only the URL and not the payload. The Chrome Devtools are able to record and track the requests in all of their details, why is there no simple way to do it in JavaScript?

Any help is appreciated!

1
  • seems not possible, either use puppeteer or proxy (pass proxy config to webdriver). Commented Jul 9, 2022 at 8:18

1 Answer 1

1

maybe this one will help your case https://github.com/dipansaha/BrowserMobNodeSelenium

but if you want to look an alternative , you can use puppeteer there is avaliable function to get request and response url

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.