Telegram Script in selenium or playwright

Job ID: 40159743

Budget: ₹600 – ₹1,500 INR

I need a small, self-contained Python script that logs in to Telegram Web with Selenium or Playwright, opens a given group or channel, and reliably pulls back the information

No broader “bot-style” automation is required—just open, read, return the data, and quit cleanly. Please structure the code so the target link or @handle can be passed in as an argument and the results are printed or written to JSON; I’ll handle any further processing on my side.

You’re free to choose Selenium or Playwright, but the solution must:
• run on Python 3.x in a head Linux environment
• respect Telegram’s login flow (QR / code) without hard-coding cookies
• be well-commented so I can tweak selectors later if Telegram updates its DOM

If you’ve pulled data from Telegram Web before, tell me about it and share a short sample or repo link so I can see your approach.