sisa-crawl/index.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

17 lines
471 B
JavaScript

const runLoginScript = require('./login');
const launchBrowser = require('./launchbrowser');
const runGoToDashboard = require('./gotodashboard');
const handleDashboardForm = require('./handleDashboardForm');
const inquirer = require('inquirer');
(async () => {
const browser = await launchBrowser();
const page1 = await runLoginScript(browser);
const page2 = await runGoToDashboard(page1);
const page3 = await handleDashboardForm(page2);
})();