无法在Safari中运行WebDriver测试 [英] Unable to run WebDriver tests in Safari

查看:156
本文介绍了无法在Safari中运行WebDriver测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在Safari中运行Webdriver测试.尽管浏览器打开了,但我仍然看到消息

I'm trying to run the Webdriver tests in Safari. Although the browsers opens i'm seeing the message

[0.007s] [safaridriver.client]正在ws://localhost:48726处请求连接... [2.513s] [safaridriver.client]无法与SafariDriver建立连接

[ 0.007s] [safaridriver.client] Requesting connection at ws://localhost:48726... [ 2.513s] [safaridriver.client] Unable to establish a connection with the SafariDriver

我正在使用Webdriver 2.33和Safari版本5.1.7

I'm working with webdriver 2.33 and Safari version 5.1.7

有人可以指出我的问题吗?

Can someone point me what could be the issue?

谢谢 尼尔

推荐答案

我在2.31.0中也遇到了类似的问题. http://code.google.com/p/selenium/issues/detail ?id = 5318 将selenium-webdriver降级为"2.27.0"以进行野生动物园测试解决了我的问题

I was facing similar issue with 2.31.0. http://code.google.com/p/selenium/issues/detail?id=5318 Downgrading "selenium-webdriver" to "2.27.0" for safari tests fixed my issue

这篇关于无法在Safari中运行WebDriver测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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