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
Awesome project! Is there an easy way to add event handlers for Request & Response events?
I want to be able to track all the API calls that a website is making as I am navigating. I didn't see anything in this realm when browsing the examples. Also, I know Chrome dev tools supports exporting a HAR (HTTP archive file), is this possible?
Trying this on a example project was a bit difficult, I couldn't get the handlers to attach when a new page was created.
use std::sync::Arc;use chromiumoxide::browser::{Browser,BrowserConfig};use chromiumoxide::cdp::browser_protocol::{
fetch::EventRequestPaused,
network::EventResponseReceived,
target::{AttachToTargetParams,EventTargetCreated,},};use futures::StreamExt;
Awesome project! Is there an easy way to add event handlers for Request & Response events?
I want to be able to track all the API calls that a website is making as I am navigating. I didn't see anything in this realm when browsing the examples. Also, I know Chrome dev tools supports exporting a HAR (HTTP archive file), is this possible?
Trying this on a example project was a bit difficult, I couldn't get the handlers to attach when a new page was created.
The text was updated successfully, but these errors were encountered: