Search code examples
pythonseleniumhttpselenium-webdriverget

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


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


Solution

  • 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.