使用Java与Python的Selenium Webdriver [英] Selenium Webdriver with Java vs. Python

查看:132
本文介绍了使用Java与Python的Selenium Webdriver的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道使用Selenium Webdriver与python绑定与Java的优缺点。到目前为止,似乎java路线有更好的文档。除此之外,似乎你喜欢哪种语言,但也许我错过了一些东西。

I'm wondering what the pros and cons are of using Selenium Webdriver with the python bindings versus Java. So far, it seems like going the java route has much better documentation. Other than that, it seems down to which language you prefer, but perhaps I'm missing something.

感谢您的任何输入!

推荐答案

一般来说,Java selenium web驱动程序有更好的文档记录。当我在寻找特定问题的帮助时,我更有可能找到一个关于我的问题的Java讨论,而不是Python讨论。

Generally speaking, the Java selenium web driver is better documented. When I'm searching for help with a particular issue, I'm much more likely to find a Java discussion of my problem than a Python discussion.

另一件需要考虑的事情是,你的代码库的其余部分使用什么语言?如果您正在针对Java应用程序运行selenium测试,那么使用Java驱动测试是有意义的。

Another thing to consider is, what language does the rest of your code base use? If you're running selenium tests against a Java application, then it makes sense to drive your tests with Java.

这篇关于使用Java与Python的Selenium Webdriver的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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