如何在RobotFramework的浏览器警报中输入值

问题描述 投票:0回答:1
Input Text Into Alert    admin    action=username

enter image description here

我想知道如何输入用户名和密码。我也找不到xpath。

python selenium selenium-webdriver robotframework
1个回答
0
投票

您可以通过在应用程序URL中放置身份验证参数来避免此弹出窗口,

示例:https://username:password@application_url

© www.soinside.com 2019 - 2024. All rights reserved.