Skip to content

Commit

Permalink
chore: Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
berstend committed Aug 9, 2022
1 parent 70cb704 commit 523b2ef
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/plugin-proxy-router/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ The plugin makes using proxies in the browser a lot more convenient:

## Usage

> Using puppeteer? Just change your [imports](#imports) to use the following playwright examples
> Using puppeteer? To use the following playwright examples simply change your [imports](#imports)
### Simple

Expand Down Expand Up @@ -323,8 +323,9 @@ export interface ProxyRouterOpts {

### Proxy.pac files <sup><sub>[Reference](https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling/Proxy_Auto-Configuration_PAC_file)</sub></sup>

- Only supported in chromium and in headful mode
- Despite the name (`FindProxyForURL`) can only route by host
- Only supported in chromium in headful mode
- Despite the name (`FindProxyForURL`) can only route by host
- Firefox supports PAC files and including the path through a pref
- Only loaded once at browser launch, no dynamic proxies possible
- Does not handle authentication

Expand All @@ -333,8 +334,8 @@ export interface ProxyRouterOpts {
- Advantage: Route proxies by page not host
- They rely on a massive hack: Using Node.js to send the requests instead of the browser
- Will change the TLS fingerprint, error prone
- Uses CDP request interception: chromium only
- Slow, resource overhead
- Uses CDP request interception which is chromium only
- Increased latency and resource overhead

## License

Expand Down

0 comments on commit 523b2ef

Please sign in to comment.