sisa-crawl/launchbrowser.js
bdaneels 921cfa389c Refactor and document code; add new files
Refactored `script.py` by adding detailed docstrings and organizing functions. Created `.idea` configuration files and `gotodashboard.js` for `sisa_crawl` project. Added `readme.md` files with usage instructions and context for multiple scripts, and set up `package.json` for `sisa_crawl` dependencies.
2024-11-18 14:03:23 +01:00

9 lines
290 B
JavaScript

const puppeteer = require("puppeteer");
async function launchBrowser() {
return puppeteer.launch({
executablePath: process.env.CHROMIUM_PATH || 'C:\\Users\\bdaneels\\Documents\\chromium\\chrome-win\\chrome.exe',
headless: false
});
}
module.exports = launchBrowser;