Page 1 of 1

NavigateWithWebResourceRequest

Posted: Wed Feb 05, 2025 12:01 pm
by sodlf159
When called with NavigateWithWebResourceRequest

It is automatically redirected to WVBrowser1 and displayed.

Can't it show up in WVBrowser1?

WVBrowser1.CoreWebView2.NavigateWithWebResourceRequest(Request); When GET and POST are called, they are displayed in WVBrowser1. Can I make them not displayed?

Re: NavigateWithWebResourceRequest

Posted: Sun Feb 09, 2025 4:48 pm
by salvadordf
Try setting the TWVWindowParent width and height to 1 pixel.

Re: NavigateWithWebResourceRequest

Posted: Mon Feb 24, 2025 3:54 pm
by sodlf159
What is the other way?

Re: NavigateWithWebResourceRequest

Posted: Tue Feb 25, 2025 10:16 am
by salvadordf
Try creating the browser normally and then setting the visibility to false when it's fully initialized.
Making the request after that.

Re: NavigateWithWebResourceRequest

Posted: Fri Mar 07, 2025 2:31 pm
by sodlf159
salvadordf wrote: Tue Feb 25, 2025 10:16 am Try creating the browser normally and then setting the visibility to false when it's fully initialized.
Making the request after that.
It is so inconvenient. My purpose is to make GET and POST not appear like idhttp when I want to automate and scrape something inside the browser and I have a packet to send, but when I send the packet, I am taken to a window that looks like this