a faster and better alternative for chrome incognito mode
- python script to start an anonymous google chrome session from terminal
- runs the chrome using chromedriver
- deletes the browsing data after the browser is closed.
- First download the chromedriver and do following:
$sudo cp ~/Downloads/chromedriver /usr/bin/
$sudo chmod +x /usr/bin/chromedriver
- You need to install
selenium
sudo pip install -U selenium
- Download the script, copy it to /usr/bin and give it +x permission.
$sudo mv ~/Downloads/guest /usr/bin
$sudo chmod +x /usr/bin/guest
to run it use and it will start an anonymous session. See help for more options.
$guest # open google.com
$guest -f # open facebook.com
$guest -yf # open youtube.com and facebook.com in different tabs
$guest --help # see all available arguments
You must have latest version of google-chrome installed.