I am automating a website using selenium pyhton. When I go to my website using driver.get(), it goes to microsoft login screen and after login it require two factor authentication and after that it opens the actual website. Now the problem is when i add new script in my code and i want to check if it is working right, I have to run all the above steps for login and then run the new code.
It is really time consuming. I need suggestions for avoid login each time just to check if my next lines of code are working or not. I'll appreciate your help.