首页 新闻 会员 周边 捐助

我的这个selenium server启动哪里错了?

0
[已关闭问题] 关闭于 2017-03-27 18:29

我的为什么启动失败了。。。

(好像是缺什么驱动?)

===============================

D:\selenium-server>java -jar selenium-server-standalone-3.3.1.jar
11:56:49.121 INFO - Selenium build info: version: '3.3.1', revision: '5234b32'
11:56:49.122 INFO - Launching a standalone Selenium Server
2017-03-22 11:56:49.224:INFO::main: Logging initialized @1216ms to org.seleniumh
q.jetty9.util.log.StdErrLog
11:56:49.327 INFO - Driver class not found: com.opera.core.systems.OperaDriver
11:56:49.328 INFO - Driver provider com.opera.core.systems.OperaDriver registrat
ion is skipped:
Unable to create new instances on this machine.
11:56:49.329 INFO - Driver class not found: com.opera.core.systems.OperaDriver
11:56:49.329 INFO - Driver provider com.opera.core.systems.OperaDriver is not re
gistered
11:56:49.354 INFO - Driver provider org.openqa.selenium.safari.SafariDriver regi
stration is skipped:
registration capabilities Capabilities [{browserName=safari, version=, platform
=MAC}] does not match the current platform VISTA
2017-03-22 11:56:49.485:INFO:osjs.Server:main: jetty-9.2.20.v20161216
2017-03-22 11:56:49.564:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletC
ontextHandler@d62f43{/,null,AVAILABLE}
2017-03-22 11:56:49.938:INFO:osjs.AbstractConnector:main: Started ServerConnecto
r@12b07fd{HTTP/1.1,[http/1.1]}{0.0.0.0:4444}
2017-03-22 11:56:49.940:INFO:osjs.Server:main: Started @1931ms
11:56:49.940 INFO - Selenium Server is up and running

 这是启动后的信息。哪里错了呢??

还没有的主页 还没有 | 小虾三级 | 园豆:531
提问于:2017-03-23 10:45
< >
分享
所有回答(1)
-1

缺少selenium-safari-driver。

<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-safari-driver</artifactId>
<version>2.48.2</version>
</dependency>

ycyzharry | 园豆:25683 (高人七级) | 2017-03-23 13:30

 怎么没看到哪写的。

而且我没装过safari

支持(0) 反对(0) 还没有 | 园豆:531 (小虾三级) | 2017-03-26 10:52
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册