Support this channel by buying me a cup of coffee ☕️ -
https://www.buymeacoffee.com/automationbro
#otp #javascript #automation
Let's cover how to Automate One Time Password (OTP) using JavaScript. For this video, we will be using WebdriverIO to automate the browser and go over the Two Factor Authentication (2FA) flow.
You can find the code for this video on GitHub - https://github.com/automationbro/webdriverio-quick
🔗Video Resources:
Twilio - https://www.twilio.com/
Github - https://github.com/
WebdriverIO (.call) - https://webdriver.io/docs/api/browser/call.html
To learn more about WebdriverIO, check out the WebdriverIO tutorial series - https://www.youtube.com/watch?v=e8goAKb6CC0&list=PL6AdzyjjD5HBbt9amjf3wIVMaobb28ZYN&ab_channel=AutomationBro
🚀 Enjoying my content and would like to support my work? Why not buy me a coffee! or Subscribe to this channel! 🚀
https://www.buymeacoffee.com/automationbro
https://www.youtube.com/@dilpreetjohal?sub_confirmation=1
# Timestamps:
0:00 - Automate One Time Password (OTP) using JavaScript
1:10 - Twilio Overview and Setup
3:20 - GitHub Two Factor Authentication setup
6:15 - WebdriverIO Script Overview
7:05 - Write WebdriverIO Test
14:45 - Get OTP from Twilio
23:33 - Run WebdriverIO test
24:00 - OTP Script Review
You can check out my content here as well:
https://dev.to/automationbro
bit.ly/dilpreet-twitter
Thanks for watching :)
Automation Bro