SudoKillMe / vscode-extensions-open-in-browser

81 stars 43 forks source link

One way to solve the problem of "Open browser failed!", when reinstalled/updated firefox #73

Open fengjrrz opened 3 years ago

fengjrrz commented 3 years ago

First, find the path of the firefox.exe and copy the folder where the exe is. for instance, the path of the firefox.exe is D:\Program Files\Firefox\core\firefox.exe, so you copy D:\Program Files\Firefox\core

Second, open the environment variable configuration, select "path" item and click the edit button, then there will be a new window named "edit environment variable",select new button and paste the path of the folder(such as D:\Program Files\Firefox\core) into it without "". Then save. restart VS code and try again. It works in my device.

I'm sorry if there are any grammatical mistakes, because I'm a Chinese and poor in English.