How after clicking the button to intercept a get-request using selenium python?

Question:

I want to programmatically get a get-request that appears in chrome devtools(network) after clicking on the “play audio” button. Get-request will enter the page with the audio source.
How can this be implemented on python using selenium ?enter image description here

Asked By: Roman

||

Answers:

It’s not possible with Selenium under the current build. You can find more information under this similar question. You can achieve it with requests if you don’t have to interact with any javascript.

Answered By: NoSplitSherlock

Possible using request interception with Chrome-Developer-Protocoll.

Have a look at https://stackoverflow.com/a/75067388/20443541

Answered By: kaliiiiiiiii