I’m writing an E2E test with WDIO. The situation is to login to GitHub through the browser and use Octokit to read the files present and perform actions. This works fine in local as the device is verified.
But the issue is when I run the test in a remote machine it always fails at login as it asks for “Device verification”. Inorder to avoid this I add the MFA and used the recovery code every time (which is a mistake).
My question is that is there any other way to login to github. Logging in to GItHub through the UI is needed. This is bc I’m trying to integrate the repo to my application. So any help is appreciated.
Pls dont say this has already been asked here: Opt out of user.device_verification_requested