I am using a begin… rescue… else block to catch a timeout and try
again until it succeeds. Despite the rescue block, the program still
crashes due to a timeout error. Don’t rescue blocks catch everything?
success = false
while success == false
output2 = exportForm.click_button(exportForm.buttons)
output “Timeout… waiting 5s then trying again”
success = true