Avoid "Cannot read property 'get_Current' of undefined" issues.

This commit is contained in:
Martin Edenhofer 2015-12-14 17:12:55 +01:00
parent d0a2f64607
commit 7a56b48d42

View file

@ -61,13 +61,8 @@ class TestCase < Test::Unit::TestCase
)
# avoid "Cannot read property 'get_Current' of undefined" issues
begin
sleep 5
browser_instance_preferences(local_browser)
rescue
# just try again
sleep 10
browser_instance_preferences(local_browser)
end
local_browser
end