Skip to content

Commit

Permalink
adding end of browser.close logs
Browse files Browse the repository at this point in the history
  • Loading branch information
BatMiles committed Jul 23, 2024
1 parent a7356d3 commit 69ae183
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/collector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export const collect = async (inUrl: string, args: CollectorOptions) => {

console.log('closing browser');
await browser.close();
// console.log('... done closing browser');
console.log('... done closing browser');
if (typeof userDataDir !== 'undefined') {
clearDir(userDataDir, false);
}
Expand Down Expand Up @@ -405,6 +405,7 @@ export const collect = async (inUrl: string, args: CollectorOptions) => {
if (browser && !didBrowserDisconnect) {
console.log("closing browser");
await browser.close();
console.log("done closing browser 2");
}
// if (typeof userDataDir !== 'undefined') {
// clearDir(userDataDir, false);
Expand Down

0 comments on commit 69ae183

Please sign in to comment.