为什么我应该使用水豚,因为可以直接使用硒本身?
据我所知,selenium 本身具有实际模拟网页交互的命令(和 gem),那么使用 capybara 的必要性是什么?
From what I have read, selenium itself has the commands(and gem) to actually mimic web page interactions, so what is the necessity to use capybara?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 capybara 而不是 selenium-webdriver 有以下好处:
Using capybara over selenium-webdriver provides the following benefits: