Created
July 21, 2017 21:41
-
-
Save mandx/c87ccc4b41aa7a358ecd8698c575886a to your computer and use it in GitHub Desktop.
Revisions
-
mandx created this gist
Jul 21, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ from subprocess import run from tempfile import TemporaryDirectory if __name__ == '__main__': with TemporaryDirectory() as tempdir: run([ 'google-chrome', '--user-data-dir==' + tempdir, '--incognito', '--no-default-browser-check', '--no-first-run', '--disable-default-apps', '--disable-popup-blocking', '--disable-translate', ])