test.js
362 Bytes
const express = require("express");
const router = express.Router();
const { getPeed, getSubjects, login, close } = require("./E_Campus.js");
async function runrun() {
page = await login("lorem", "lorem");
await getPeed(page);
await getSubjects(page);
await close();
console.log(Info);
console.log(Info.subjects)
}
runrun();