mirror of
https://github.com/CloakHQ/CloakBrowser.git
synced 2026-06-23 11:41:46 +02:00
docs: clarify humanize requires wrapper import over CDP (#126)
This commit is contained in:
@@ -645,8 +645,16 @@ stealth_args = get_default_stealth_args() # all fingerprint flags
|
|||||||
from cloakbrowser import launch_async
|
from cloakbrowser import launch_async
|
||||||
browser = await launch_async(args=["--remote-debugging-port=9242"])
|
browser = await launch_async(args=["--remote-debugging-port=9242"])
|
||||||
# Connect your framework to http://127.0.0.1:9242 — all stealth flags are set
|
# Connect your framework to http://127.0.0.1:9242 — all stealth flags are set
|
||||||
|
# Note: humanize requires the wrapper (see below)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Humanize over CDP**: Stealth fingerprint patches work automatically over CDP, but `humanize=True` is a wrapper-level feature. If you connect to CloakBrowser via CDP from a separate script, import the patching functions to add humanization:
|
||||||
|
>
|
||||||
|
> ```js
|
||||||
|
> import { patchBrowser, resolveConfig } from 'cloakbrowser/human';
|
||||||
|
> patchBrowser(browser, resolveConfig('default'));
|
||||||
|
> ```
|
||||||
|
|
||||||
| Framework | Stars | Language | Example |
|
| Framework | Stars | Language | Example |
|
||||||
|-----------|-------|----------|---------|
|
|-----------|-------|----------|---------|
|
||||||
| [browser-use](https://github.com/browser-use/browser-use) | 70K | Python | [`browser_use_example.py`](examples/integrations/browser_use_example.py) |
|
| [browser-use](https://github.com/browser-use/browser-use) | 70K | Python | [`browser_use_example.py`](examples/integrations/browser_use_example.py) |
|
||||||
|
|||||||
Reference in New Issue
Block a user