コード例 #1
0
 protected void killBrowser(WebDriver webdriver) {
   if (webdriver instanceof Killable) {
     try {
       ((Killable) webdriver).kill();
     } catch (Exception e) {
       log.log(SEVERE, "Failed to kill browser " + webdriver + ':', e);
     }
   }
 }