From 7a56b48d4278b70c559d092feeb093065f62ff35 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 14 Dec 2015 17:12:55 +0100 Subject: [PATCH] Avoid "Cannot read property 'get_Current' of undefined" issues. --- test/browser_test_helper.rb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb index 15ad92376..222afe5ae 100644 --- a/test/browser_test_helper.rb +++ b/test/browser_test_helper.rb @@ -61,13 +61,8 @@ class TestCase < Test::Unit::TestCase ) # avoid "Cannot read property 'get_Current' of undefined" issues - begin - browser_instance_preferences(local_browser) - rescue - # just try again - sleep 10 - browser_instance_preferences(local_browser) - end + sleep 5 + browser_instance_preferences(local_browser) local_browser end