Can a watir browser object be re-used in a later Ruby process?
问题 So let's say pretty often a script runs that opens a browser and does web things: require 'watir-webdriver' $browser = Watir::Browser.new(:firefox, :profile => "botmode") => #<Watir::Browser:0x7fc97b06f558 url="about:blank" title="about:blank"> It could end gracefully with a browser.close, or it could crash sooner and leave behind the memory-hungry Firefox process, unnoticed until they accumulate and slow the server to a crawl. My question is twofold: What is a good practice to ensure that