Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Browser Context not working as expected #313

Open
yandrapragada opened this issue Jun 20, 2024 · 0 comments
Open

New Browser Context not working as expected #313

yandrapragada opened this issue Jun 20, 2024 · 0 comments

Comments

@yandrapragada
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant