Close browser after errors
Wraps all browser calls in try / catch to ensure browser is closed after errors.
Adds new Printer({closeAfter: false})
option to disable closing printer if you want to reuse the browser connection
Wraps all browser calls in try / catch to ensure browser is closed after errors.
Adds new Printer({closeAfter: false})
option to disable closing printer if you want to reuse the browser connection