Before { $driver.start_driver } After do begin selenium.quit rescue StandardError => myStandardError puts "\nERROR: *** #{myStandardError}" end end