【发布时间】:2020-06-14 21:00:52
【问题描述】:
在使用机器人自动化框架浏览 URL 时,我总是收到一条消息“您的连接不是私密的”。然后我们需要单击高级并继续访问 URL。无法手动进入 URL。那么是否有任何解决方案可以跳过机器人框架中测试自动化的此类证书检查。我已经阅读了这个问题的答案:How to resolve ssl certificate errors for test automation in robot framework .我试过跟随但没有用。
Open Browser ${loginUrl} browser=${browser} options=add_argument("--ignore-certificate-errors")
错误提示:
- Positional argument cannot be used after named arguments. Although this argument looks like named one, it isn't because there is no 'options' argument in the keyword definition
请帮忙。
【问题讨论】:
标签: python-3.x selenium ssl-certificate selenium-chromedriver robotframework