We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eabb40 commit 4bfd8c9Copy full SHA for 4bfd8c9
seleniumbase/core/browser_launcher.py
@@ -776,6 +776,11 @@ def _set_chrome_options(
776
prefs["enable_do_not_track"] = True
777
if external_pdf:
778
prefs["plugins.always_open_pdf_externally"] = True
779
+ if proxy_string or proxy_pac_url:
780
+ # Implementation of https://stackoverflow.com/q/65705775/7058266
781
+ prefs["webrtc.ip_handling_policy"] = "disable_non_proxied_udp"
782
+ prefs["webrtc.multiple_routes_enabled"] = False
783
+ prefs["webrtc.nonproxied_udp_enabled"] = False
784
chrome_options.add_experimental_option("prefs", prefs)
785
if enable_sync:
786
chrome_options.add_experimental_option(
0 commit comments