Answers for "web browser incognito python"

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

Python Answers by Framework

Browse Popular Code Answers by Language