3

I am new to use selenium to test Salesforce. It seems to me it is opening browser in a completely new session which requires login and verification code. And I need to skip the verification code to make it work.

Since it is using a completely new session it is requiring email verification every time and the trusted IP range approach doesn't seem to work for me: Salesforce just doesn't accept 0.0.0.0 to 255.255.255.255. I am just wondering how to walk around this issue.

  • Does not accept on Company level or Profile level? Just made that working on profile level and able to auth without access token – kurunve Oct 5 '17 at 7:54
  • 1
    Check this answer, its talking about having a separate user/profile and having this permission turned off- Two-Factor Authentication for User Interface Logins- salesforce.stackexchange.com/a/120539/4726 – Raul Oct 5 '17 at 8:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.