Selenium Safari Driver hangs

88 views
Skip to first unread message

Sarndeep Nijjar

unread,
Oct 27, 2014, 7:52:08 AM10/27/14
to seleniu...@googlegroups.com
Hi Guys,

Im currently using selenium GRID version 2.44.0, with a node attached of the same version serving safari browser 7 on a mac. The tests are runing using Java 1.8

When I run the whole suite the tests seem to hang at random points, and the driver gets stuck and timeouts every request, this behaviour marries up with the following output from the selenium safari logs:

11:45:51.34 [safaridriver.extension.TabManager] Registering new tab
11:45:51.34 [safaridriver.extension.TabManager] Tab opened: nptkw7l29seo
11:45:51.41 [safaridriver.extension.TabManager] Ignoring open window event
11:45:51.41 [safaridriver.extension.TabManager] Deleting entry for tab nptkw7l29seo

Safari browser boots up but hangs on the launcher page displaying this:

SafariDriver Launcher

[  0.006s] [safaridriver.client] Connecting to SafariDriver browser extension...
[  0.048s] [safaridriver.client] Extension logs may be viewed by clicking the Selenium [✓] button on the Safari toolbar
[  0.079s] [safaridriver.client] Connected to extension
[  0.079s] [safaridriver.client] Requesting extension connect to client at ws://localhost:15292


If I kill the browser and run the tests that the browser hangs on, it completes with no problems also its not a specific test that is making it behave this way as this bug seems to manifest itself at completely random times.

Has anyone had this happen to them or can give me some advice on how to get the tests to run smoother?

Thanks

Sarndeep
Reply all
Reply to author
Forward
0 new messages