raise Error("could not locate runnable browser") webbrowser.Error: could not locate runnable browser code example
Example: webbrowser python could not locate runnable browser
import webbrowser
urL='https://www.google.com'
chrome_path="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
webbrowser.register('chrome', None,webbrowser.BackgroundBrowser(chrome_path))
webbrowser.get('chrome').open_new_tab(urL)