selenium-server-standalone和selenium-server之间有什么区别. [英] What is difference between selenium-server-standalone and 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
- 如果您在同一台计算机上运行所有程序,那么使用 selenium-java 客户端maven依赖关系就可以了.
- 如果您在不是台式机的计算机上运行某些程序,则必须使用 selenium-server maven依赖项.在这种情况下,您还可以通过将
selenium-server
依赖项添加到pom.xml
中来将Selenium服务器嵌入到自己的项目中. - 如果您打算使用
RemoteWebDriver implementation
,则需要从
- If you running everything on the same machine, then using the selenium-java client maven dependency should be just fine.
- 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 yourpom.xml
. - If you intent to use the
RemoteWebDriver implementation
, then you need to download theselenium-server-standalone.jar
from the Selenium Downloads page
这篇关于selenium-server-standalone和selenium-server之间有什么区别.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!