#
Passing Config
If needed, Camoufox config data can be overridden/passed as a dictionary to the config
parameter. This can be used to enable features that have not yet been implemented into the Python library.
Warning
This isn't recommended, as Camoufox will populate this data for you automatically. See the parameters list for more proper usage.
from camoufox.sync_api import Camoufox
with Camoufox(
config={
'webrtc:ipv4': '123.45.67.89',
'webrtc:ipv6': 'e791:d37a:88f6:48d1:2cad:2667:4582:1d6d',
}
) as browser:
page = browser.new_page()
page.goto("https://www.browserscan.net/webrtc")
Camoufox will warn you if you are manually setting properties that the Python library handles internally.