[b]"How to see API call of websites in Chrome using Python?"[/b] Alternatively, for a slightly more conversational to

22 Replies, 1742 Views

For a quick and dirty method, just use logging in Chrome DevTools and copy the requests manually.

Sometimes automation isn’t worth the effort if you only need a few calls.

But if you’re set on how to see api call of websites in chrome python, go with Pyppeteer or Playwright.
Wow, thanks for all the suggestions! Playwright and selenium-wire look especially promising.

I tried the Pyppeteer snippet, and it worked, but the HAR logging in Selenium seems even cleaner.

Quick Q: anyone know if mitmproxy slows down the browsing speed significantly? Might give that a shot too.

Thanks again, y’all are legends! 🙏



Users browsing this thread: 1 Guest(s)