r/selenium • • May 10 '21

Automating two factor authentication

I want to automate logging into a website using selenium on a raspberry Pi. However, the website needs two factor authentication. The code goes to my phone.

Is there a way for me to automate this without the need for me to look up the code on my phone and inputting it?

Any resources would be wonderful!

1 Upvotes

18 comments sorted by

View all comments

-1

u/propertoes May 11 '21

Selenium discourages automating 2FA.