-
Notifications
You must be signed in to change notification settings - Fork 159
Description
Hello , mockWebRTC is leaking over
https://github.com/rebrowser/rebrowser-puppeteer-core?
Sometimes, it could be very useful to access a CDP session at a browser level. For example, when you want to implement some custom CDP command. There is a method page._client() that returns CDP session for the current page instance, but there is no such method for browser instance. This patch adds a new method _connection() to Browser class, so you can use it like this:
browser._connection().on('Rebrowser.addRunEvent', (params) => { ... })
Note: it's not detectable by external website scripts, it's just for your convenience.
Change default utility world name
The default utility world name is 'puppeteer_utility_world' + packageVersion. Sometimes you might want to change it to something else. This patch changes it to util and allows you to customize it via env variable:
REBROWSER_PATCHES_UTILITY_WORLD_NAME=customUtilityWorld
use 0 to completely disable this patch
REBROWSER_PATCHES_UTILITY_WORLD_NAME=0
Activity
barjin commentedon Oct 10, 2025
Hello, and thank you for your interest in this project.
I do not understand your question here.
fingerprint-suitedoesn't depend onrebrowser-puppeteer(nor doesrebrowser-puppeteerdepend onfingerprint-suitepackages).It's possible that using those two projects together will result in unexpected behavior, as both may be interacting with similar parts of the browser API. Note that we don't test
fingerprint-suitepackages with any other anonymization solutions.I'll close this issue now, but feel free to ask additional questions if you have any. Cheers!