You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have troubles making driver.add_cdp_listener work with Fetch.requestPaused.
I use
driver.execute_cdp_cmd('Fetch.enable', {'patterns':[{'urlPattern':'*'}]})
and then
browser.add_cdp_listener("Fetch.requestPaused", lambda data: on_request(data))
But it never goes to on_request
On the other hand, Network.requestWillBeSent works as expected.
Does anybody know how to make it work?
The text was updated successfully, but these errors were encountered:
Hello,
I have troubles making driver.add_cdp_listener work with Fetch.requestPaused.
I use
driver.execute_cdp_cmd('Fetch.enable', {'patterns':[{'urlPattern':'*'}]})
and then
browser.add_cdp_listener("Fetch.requestPaused", lambda data: on_request(data))
But it never goes to on_request
On the other hand, Network.requestWillBeSent works as expected.
Does anybody know how to make it work?
The text was updated successfully, but these errors were encountered: