Skip to content Skip to sidebar Skip to footer

Extract And Save Whatsapp Session From Chrome Browser Local Storage And Then Use It On Another Device

To avoid mark as duplicate then I put some source where I've read : Python and Selenium - Reboot program and reuse same browser session Python and Selenium - Reuse a whatsapp web

Solution 1:

if using linux or mac go to your terminal and type :

chromium --remote-debugging-port=9250

where chromium is the browser and 9250 is a port number which you can choose and then in your selenium file while making a selenium object

opts=Options()
opts.add_experimental_option("debuggerAddress","localhost:9250")
driver=webdriver.Chrome(options=opts)

and this shall open your browser with every websites logged in.

Post a Comment for "Extract And Save Whatsapp Session From Chrome Browser Local Storage And Then Use It On Another Device"