Skip to content

Commit 061198b

Browse files
committed
2 parents 9906f77 + d81d36a commit 061198b

File tree

198 files changed

+399
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

198 files changed

+399
-102
lines changed

volunteerverse-api/browser.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
const puppeteer = require('puppeteer');
2+
3+
async function startBrowser(){
4+
let browser;
5+
try {
6+
console.log("Opening the browser......");
7+
browser = await puppeteer.launch({
8+
headless: "new"
9+
10+
});
11+
} catch (err) {
12+
console.log("Could not create a browser instance => : ", err);
13+
}
14+
return browser;
15+
}
16+
17+
module.exports = {
18+
startBrowser
19+
};
4 MB
Binary file not shown.
44 KB
Binary file not shown.

volunteerverse-api/data/Default/Affiliation Database-journal

Whitespace-only changes.

volunteerverse-api/data/Default/AutofillStrikeDatabase/LOCK

Whitespace-only changes.

volunteerverse-api/data/Default/AutofillStrikeDatabase/LOG

Whitespace-only changes.

volunteerverse-api/data/Default/BudgetDatabase/LOCK

Whitespace-only changes.

volunteerverse-api/data/Default/BudgetDatabase/LOG

Whitespace-only changes.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)