2014-10-31 60 views

回答

0

使用begin - rescue塊解決了該問題,如下所示。

begin 
    timeout(720) do 
     x = @browser.status 
    end 
    rescue Timeout::Error 
     debug("Timeout waiting for browser loading") 
    end 
相關問題