How do I extract and view cookies from Android Chrome?-ThrowExceptions

Exception or error:

Is there any way for me to get and read cookies from my Android Chrome browser?

Thank you.

How to solve:

You can view cookies in Chrome on Android if you connect your Android device to a PC/Mac/laptop via USB. No rooting required. The laptop needs to have Chrome installed. You can then inspect the content on your Android device in Chrome on your laptop by visiting chrome://inspect/#devices

There’s a little more to it than that, you need to enable developer mode on your Android device:

Settings -> About Phone -> Build number. Tap build number 7 times.

Then under Settings you will see a new item – “Developer Options”.

Within Developer Options enable USB debugging.

If you don’t see your connected device listed on your laptop Chrome URL: chrome://inspect/#devices then you might need to install a USB driver. Or disconnect and reconnect device after installing USB driver.

Details here – https://developer.chrome.com/devtools/docs/remote-debugging

Once you can inspect content you can get cookies from the network tab in the same way as you would in Chrome on your laptop.

Note : This doesn’t work in inCognitoMode

Leave a Reply

Your email address will not be published. Required fields are marked *