921cfa389c
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.
17 lines
471 B
JavaScript
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);
|
|
|
|
|
|
|
|
})();
|
|
|