@fanspro Click on the "x" to turn off that ad.
Or install an ad blocking extension, for example "uBlock Origin"
How to use bypass proxy for certain urls?
-
Generally in playright i do a proxy bypass list. It is VERY common. And makes working with CDN and slow residential proxies so much better. But how to do this with BAS? I passed the argument in browser settings but then any site that is bypassed cannot connect.
The chromium argument is this
source: https://www.chromium.org/developers/design-documents/network-settings/
--proxy-bypass-list=(<trailing_domain>|<ip-address>)[:<port>][;...] This tells chrome to bypass any specified proxy for the given semi-colon-separated list of hosts. This flag must be used (or rather, only has an effect) in tandem with --proxy-server."Secondly, I tried connecting directly to the BAS worker.exe browser over CDP using playwright, created a new browser context, and set the proxy/bypass list. This also failed.
Is it impossible?
-
BAS uses a some library to proxy all network requests. This is why your attempts don't work.
Anyway, there's another possible logic to approach your task.
You can set up your own proxy to handle requests from BAS. Then, you can route network requests through your proxy based on specific rules, if needed.
-
This post is deleted!
-
This post is deleted!