devtools-protocol icon indicating copy to clipboard operation
devtools-protocol copied to clipboard

New Browser Context not working as expected

Open yandrapragada opened this issue 1 year ago • 0 comments

Steps to Reproduce :

a. Open a remote debugging port on chrome. b. Connect to the remote web socket and send the following CDP. b. Create a new browser context using CDP call

{ "id":256, "method":"Target.createBrowserContext", "params": {"disposeOnDetach":true, "proxyServer":"https=http://127.0.0.1:8080/" } }

c. Open a tab with the following payload.The browserContextid is the one received in above response.

{ "id":286, "method":"Target.createTarget", "params": {"url":"https://examplesite.com/free-proxy-list", "browserContextId":"E2B10456D7F545D63DBCC99AA616BBC7" } }

It is expected that it has to flow through Proxy where as it is not flowing though Proxy and using "Direct" connection.

OS : Windows 11

yandrapragada avatar Jun 20 '24 04:06 yandrapragada