Selenium 测试是否因最近将 safari 更新到版本 13 而中断? [英] Selenium tests broken by recent update of safari to version 13?

查看:48
本文介绍了Selenium 测试是否因最近将 safari 更新到版本 13 而中断?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有人在新的 safari 版本 13 上遇到硒测试失败的问题.在 chrome 和 firefox 上运行相同的测试,它工作正常.还在旧版本的 safari 上对其进行了测试,效果很好.

does anybody have a problem of selenium tests failing on new safari version 13. Ran the same tests on chrome and firefox and it works fine. Also tested it on older version of safari and it works fine.

我没能准确指出它失败的地方.我注意到的一种情况是,在 safari 13 selenium 点击 <div role='button' aria-haspopup='true'>....</div> 不调用任何操作(在我的情况下打开一个弹出菜单).然后测试继续到下一行代码.注意 但是在这一点上我并不是说这种点击总是失败,这只是我在测试中注意到的地方.

I didn't manage to pin point exactly where it fails. One case I did notice is that on safari 13 selenium click on <div role='button' aria-haspopup='true'>....</div> invokes no action(in my case opens a popup menu). And test proceeds to the next line of code. note however at this point I am not claiming that this kind of click always fails, it's just where I noticed it in my tests.

如果有人在 safari 13 上遇到此类问题,请提供您的意见.谢谢

If anyone came across this kind of issue on safari 13 please provide your input. Thanks

推荐答案

Safaridriver 维护者在这里.

这是一个已知问题,我们认为已在 Safari Technology Preview Release 91 中修复.请使用最新的 STP 的 safaridriver 验证该问题是否重现,并在 Twitter 上与我联系,@brrian.

This is a known issue that we believe has already been fixed in Safari Technology Preview Release 91. Please verify whether the issue reproduces using latest STP's safaridriver, and reach out to me on Twitter, @brrian.

这篇关于Selenium 测试是否因最近将 safari 更新到版本 13 而中断?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆