secret-agent icon indicating copy to clipboard operation
secret-agent copied to clipboard

How to fake a URL/window.location on page load?

Open bratao opened this issue 4 years ago • 6 comments

Hello, First of all, thanks for this great project!

I have a local page with a javascript code (Rcaptcha v3). I want to load it and pretend that I´m on a remote URL (target site). How I would do this with secret-agent? On Puppeteer/playwright I can intercept a Request and return my own content, but I did not found a way to do it using secret-agent.

bratao avatar Sep 16 '21 22:09 bratao