Skip to content
Advertisement

Tag: firefox-profile

How to use existing login token for telegram web using selenium webdriver

I’m trying to read telegram messages from https://web.telegram.org with selenium. When i open https://web.telegram.org in firefox i’m already logged in, but when opening the same page from selenium webdriver(firefox) i get the login page. I saw that telegram web is not using cookies for the auth but rather saves values in local storage. I can access the local storage with

Advertisement