New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当弹出框是prompt提示框时,需要输入文本,seldom中怎么处理? #166
Comments
我又尝试了一下。 selenium 提供的 |
嗯,不过测试网站上,使用 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
测试用网站:https://liushilive.github.io/html_example/index.html
使用seldom进行web自动化,在prompt提示框时需要输入文本
在使用seleium时,可以选择
switch_to.alert
,然后直接send_keys
如下在seldom中没有
switch_to.alert
,有的是直接获取警告信息或者确定和取消,链式处理Steps中有alert,但是无法实现输入s.find("#b2").click().alert().type("shishi") s.accept()
The text was updated successfully, but these errors were encountered: