access chrome's flags
I hope this is the right place to post this
I'm trying to write a Python script
to access chrome's flags
I have been having a difficult time trying to figure out how to get Python
to access (chrome://flags/#allow-insecure-localhost)
all I have been able to achieve is that it opens up a web browser and that's it
it does not access the flag directories
I would appreciate if someone could help me figure this out
The closest one I've been able to even come close would be
import webbrowser
chrome_path = r"C:\Program Files\Google\Chrome\Application\chrome.exe"
url = 'chrome://flags/#allow-insecure-localhost'
webbrowser.register('chrome', None, webbrowser.BackgroundBrowser(chrome_path))
webbrowser.get('chrome').open_new_tab(url)
Please sign in to leave a comment.