How to automate OTP using selenium web driver?
<p>I am doing automation for registration in a website but the problem is that it sends an OTP once i enter mobile no. after enter otp it will ask for password and than i am able to do registration.</p>

<p>Is there any way to get the OTP code once i enter mobile no ?
 or 
Can we automate OTP using selenium webdriver ?  </p>