safari驱动程序面临并行执行中的问题

时间:2016-01-08 12:10:29

标签: macos selenium selenium-webdriver safari safaridriver

我正在使用selenium web驱动程序在safari浏览器中运行我的测试用例。

我使用2.48进行safari,使用2.48.2进行java中的selenium web驱动。

我在使用safari浏览器时遇到了一些问题。如下所示:

1. In single run, safari browser communicate with my webserver quickly but if i choose parallel run, safari driver communication becomes very slow.

2.As it takes more time to communicate in parallel execution, elements  remain unclickable and it can not find elements and test cases failed.

3.In parallel execution, its closed suddenly showing an error message.
 "org.openqa.selenium.remote.UnreachableBrowserException: Failed to connect to SafariDriver after 45339 ms"

在safari驱动程序中是否存在这些已知问题,或者我如何从这些问题中解脱出来。

1 个答案:

答案 0 :(得分:1)

Safari驱动程序不支持在同一台计算机上同时执行多个Safari实例。并行执行只能使用多台计算机完成,但虚拟机是可接受的解决方案。

相关问题