Answers for "python webbrowser open chrome incognito mode"

2

python open url in incognito

import webbrowser

url = 'www.google.com'
chrome_path = 'C:/Program Files (x86)/Google/Chrome/Application/chrome.exe %s --incognito'

webbrowser.get(chrome_path).open_new(url)
Posted by: Guest on September-01-2020

Code answers related to "python webbrowser open chrome incognito mode"

Python Answers by Framework

Browse Popular Code Answers by Language