简体   繁体   English

我们可以在 Java-Selenium 中模拟 Microsoft Authenticator

[英]Can we simulate Microsoft Authenticator in Java-Selenium

I am working on Java-Selenium.我正在研究 Java-Selenium。 Our application has implemented Microsoft Authenticator during login.我们的应用程序在登录期间实现了 Microsoft Authenticator。

Now with selenium logging in became an issue because we need to Approve from mobile then only user is redirected to Application home page.现在 selenium 登录成为一个问题,因为我们需要从移动设备上批准,然后只有用户被重定向到应用程序主页。

Is there a way to by pass this scenario?有没有办法绕过这种情况? Can we use Microsoft Authentication Library (MSAL) for this scenario.我们可以在这种情况下使用 Microsoft 身份验证库 (MSAL) 吗? My need is to successfully login with a user having Microsoft Authentication.我的需要是使用具有 Microsoft 身份验证的用户成功登录。

Please Refer: https://github.com/AzureAD/microsoft-authentication-library-for-java请参考: https://github.com/AzureAD/microsoft-authentication-library-for-java

You might get something out of it.你可能会从中得到一些东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Java-Selenium:TakesScreenshot大小问题 - Java-Selenium : TakesScreenshot size issue 找不到Java-Selenium WebElement错误 - Java-Selenium WebElement is not found error Java-硒允许弹出窗口 - Java-Selenium Allow Popup Window 无法在 Java-Selenium 中找到元素错误 - Unable to locate element error in Java-Selenium iframe 内的 Actions 类操作(Java-Selenium) - Actions class operations inside iframe(Java-Selenium) 如何使用 Selenium 自动化 Microsoft Authenticator? - How to Automate Microsoft Authenticator using Selenium? 使用 Python-Selenium 启动 IE 时出错,而完全相同的脚本在 Java-Selenium 中运行良好 - Error in launching IE with Python-Selenium while the exact same script works fine with Java-Selenium 使用 java-selenium 运行黄瓜测试时出现“java.lang.OutOfMemoryError”异常 - Getting "java.lang.OutOfMemoryError" exception while running a cucumber test using java-selenium 如何通过命令提示符/终端运行Java-Selenium测试用例? - How to run Java-Selenium test cases through command prompt/terminal? 如何使用java-selenium中的黄瓜bdd框架处理bootstrap下拉列表 - how to handle bootstrap dropdown using the cucumber bdd framework in java-selenium
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM