How to implement 2 Factor Authentication when logging in to a Website using Selenium WebDriver | Selenium Forum
C
Chetan Puri Posted on 07/09/2019

Hello,

I am trying to write a code using Selenium WebDriver to login to a website with requires 2 Factor Authentication. 

1.) I need to enter my username & password and then click on Submit button -> This I have done

2.) once 1.) is done, the website sends an SMS to my personal mobile number with an authentication code. In order to enter the website, I need to enter that code and click on Submit

Please help me in implementing Step 2.) above in Selenium WebDriver.

Thanks & Regards

Chetan

 


S
Selvakumar Thevar Replied on 07/09/2019

OTP cannot be validfated using selenium


A
Ashish Thakur Replied on 12/09/2019

Physical Verification methods are not available in selenium yet.