Avoid "Cannot read property 'get_Current' of undefined" issues.
This commit is contained in:
parent
d0a2f64607
commit
7a56b48d42
1 changed files with 2 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue