且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用 selenium WebDriver 自动化 salesforce 登录 OTP 功能?

更新时间:2023-08-19 12:37:40

绕过otp/2fa的最简单方法是将运行selenium的服务器的IP地址添加到Salesforce的可信IP范围内

the simplest way to bypass otp/2fa is to add IP address of server where selenium is run to trusted IP range in Salesforce

在设置菜单中,点击Security Controls -> Network Access-> 输入selenium服务器的IP地址范围.

In Setup menu, click Security Controls -> Network Access-> enter the IP address ranges of selenium server.