From f6261aa4588f595baefbbf814579d56f021a2e1c Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 22 May 2020 16:51:26 +1200 Subject: [PATCH] Support using `wslview` as a browser to open web url --- mitmproxy/tools/web/webaddons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/tools/web/webaddons.py b/mitmproxy/tools/web/webaddons.py index bd85651ab..57f6e75f1 100644 --- a/mitmproxy/tools/web/webaddons.py +++ b/mitmproxy/tools/web/webaddons.py @@ -44,7 +44,7 @@ def open_browser(url: str) -> bool: False, if no suitable browser has been found. """ browsers = ( - "windows-default", "macosx", + "windows-default", "wslview %s", "macosx", "google-chrome", "chrome", "chromium", "chromium-browser", "firefox", "opera", "safari", )