'Open in browser not working for visual studio code

I'm trying to use the open in browser extension (alt + b) for my visual studio code html, however it is not working even after attempting to uninstall and reinstall vsc again. Extension id: techer.open-in-browser

Error code:
Open browser failed!! Please check if you have installed the browser chrome correctly!


Solution 1:[1]

Go to settings --> Extensions --> Open in Browser and set a default browser.(Chrome, for example)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 hossein sabziani