(Python) Release sites that are automatically logged out over time

Asked 2 years ago, Updated 2 years ago, 77 views

Hello, everyone I'm Parin, who started Python with self-study and search.

I made a program that automatically logs in to the Internet banking site and Hometax using Selenium.

After auto-login, if you log in in the morning and you can't log out automatically, you don't need an auto-login program in the first place.

So I want to add a code that can't be automatically logged out to the automatic login code.

Even after a few days of searching, I understand how to use sessions and cookies, but I couldn't code just by self-study and searching.

The way I thought about it is

I tried to write the code, but I failed

Help me.

python selenium session login logout

2022-09-20 17:56

1 Answers

I don't know about Hometax, but I know that Internet banking checks the operation every 10 minutes. Then, after 9 minutes, you can refresh the selenium webdriver, press the menu button once, and then move back.


2022-09-20 17:56

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.