--webrtc-ip-handling-policy
What does --webrtc-ip-handling-policy do?
Override WebRTC IP handling policy to mimic the behavior when WebRTC IP handling policy is specified in Preferences.
Usage
CLILaunch Chrome with --webrtc-ip-handling-policy using CLI
chrome --webrtc-ip-handling-policyPuppeteerLaunch Chrome with --webrtc-ip-handling-policy using Puppeteer
const browser = await puppeteer.launch({
args: ['--webrtc-ip-handling-policy']
});PlaywrightLaunch Chrome with --webrtc-ip-handling-policy using Playwright
const browser = await chromium.launch({
args: ['--webrtc-ip-handling-policy']
});SeleniumLaunch Chrome with --webrtc-ip-handling-policy using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--webrtc-ip-handling-policy')
driver = webdriver.Chrome(options=options)