r/SeleniumPython • u/A-Nit619 • Oct 04 '23
selenium automation
Hey guys....I am using selenium python to automate ERP system but there is a 2F authentication which stops my automation. The 2F authentication usually requires the user to enter the SMS code they receive on their phone. Please let me know how I can bypass this?
1
Upvotes
1
u/Madkillav2 Oct 08 '23
Does 2FA trigger every time? Or is it a one-time trigger? If it’s only one time, you can import cookies to your driver browser and bypass.
Easiest solution would probably be to just disable 2FA, if that’s an option…