sisa-crawl/index.js

17 lines
471 B
JavaScript
Raw Normal View History

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);
})();