selenium-server-standalone和selenium-server之间有什么区别. [英] What is difference between selenium-server-standalone and selenium-server.

查看:833
本文介绍了selenium-server-standalone和selenium-server之间有什么区别.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以在Maven Central存储库中看到两个存储库.请说明两个罐子之间有什么区别

I can see two repository in Maven Central repo. Please clarify what is difference between both jars

推荐答案

根据 Selenium Server jar 版本,不再将selenium-server-standalone jars推送到

As per the Selenium Server jar releases, selenium-server-standalone jars are no more pushed to the Maven Artifact.

直到 Selenium Release v2.53.0 selenium-server-standalone jars被推送到 selenium-服务器 jar和 Selenium-java 客户端jar推送到 Maven神器

Till Selenium Release v2.53.0, selenium-server-standalone jars were pushed to the Maven Artifact separately as Jenkins Releases. But starting Selenium Release v3.x only the selenium-server jars and the selenium-java client jars are pushed to the Maven Artifact

  1. 如果您在同一台计算机上运行所有程序,那么使用 selenium-java 客户端maven依赖关系就可以了.
  2. 如果您在不是台式机的计算机上运行某些程序,则必须使用 selenium-server maven依赖项.在这种情况下,您还可以通过将selenium-server依赖项添加到pom.xml中来将Selenium服务器嵌入到自己的项目中.
  3. 如果您打算使用 RemoteWebDriver implementation ,则需要从
  1. If you running everything on the same machine, then using the selenium-java client maven dependency should be just fine.
  2. If you running something on a machine that's not your desktop, then using the selenium-server maven dependency must be used. In this case you can also embed the Selenium server into your own project by adding the selenium-server dependency to your pom.xml.
  3. If you intent to use the RemoteWebDriver implementation, then you need to download the selenium-server-standalone.jar from the Selenium Downloads page

这篇关于selenium-server-standalone和selenium-server之间有什么区别.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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