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
I have a puppeteer project that has been leveraging this project for a while, it's been pretty seamless. However, I recently attempted to integrate some proxying into the project and ran into issues while attempting to do this in an incognitoBrowserContext. The --proxy-server flag doesn't work as expected on launch when using an incognito context, a solution is to pass a proxyServer arg on each call of createIncognitoBrowserContext, which is (reasonably) obfuscated by this package.
Resolution
In order to solve this I used an "experimental" custom concurrency and extended the LaunchOptions interface to include the proxyServer.
Do you have any objections to exporting the ResourceData interface and SingleBrowserImplementation class, so that I don't have to keep a copy locally or grab them from the node_modules?
Just wanted to drop some feedback that even though this is "experimental" it works well and I find it valuable and would appreciate it if it stayed in the API
The text was updated successfully, but these errors were encountered:
Problem Description
I have a puppeteer project that has been leveraging this project for a while, it's been pretty seamless. However, I recently attempted to integrate some proxying into the project and ran into issues while attempting to do this in an
incognitoBrowserContext
. The--proxy-server
flag doesn't work as expected on launch when using an incognito context, a solution is to pass aproxyServer
arg on each call ofcreateIncognitoBrowserContext
, which is (reasonably) obfuscated by this package.Resolution
In order to solve this I used an "experimental" custom concurrency and extended the
LaunchOptions
interface to include theproxyServer
.Questions/thoughts
ResourceData
interface andSingleBrowserImplementation
class, so that I don't have to keep a copy locally or grab them from thenode_modules
?The text was updated successfully, but these errors were encountered: