First Beta Version complete

Enhance logging with student details in evaluation

Updated `iterateOverDashboardTable.js` to include student name and ID in log output. Added functions in `evaluateStartPakket.js` to fetch student name and ID from specified selectors. Adjusted `.gitignore` to exclude `.idea` directory.
This commit is contained in:
bdaneels 2024-12-03 16:39:11 +01:00
parent 6c7aa018cd
commit 0e275a5bc6

View File

@ -76,7 +76,11 @@ async function iterateOverDashboardTable() {
`${tableBodySelector} tr span[title="AA-rapport"] a`
);
if ((i + 1) % 10 === 0) {await wait(10000)}
if ((i + 1) % 10 === 0) {
console.log('Simulating break, waiting 10 seconds to stay under the radar :)')
await wait(10000)
}
const [newPagePromise] = await Promise.all([
new Promise((resolve) =>
@ -115,6 +119,7 @@ async function iterateOverDashboardTable() {
IsCollapsed: "Error",
IsCollapsedKeuze: "Error",
IsCollapsedMain: "Error",
ErrorStr: error.message,
});
}
finally {