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:
parent
6c7aa018cd
commit
0e275a5bc6
|
@ -76,7 +76,11 @@ async function iterateOverDashboardTable() {
|
||||||
`${tableBodySelector} tr span[title="AA-rapport"] a`
|
`${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([
|
const [newPagePromise] = await Promise.all([
|
||||||
new Promise((resolve) =>
|
new Promise((resolve) =>
|
||||||
|
@ -115,6 +119,7 @@ async function iterateOverDashboardTable() {
|
||||||
IsCollapsed: "Error",
|
IsCollapsed: "Error",
|
||||||
IsCollapsedKeuze: "Error",
|
IsCollapsedKeuze: "Error",
|
||||||
IsCollapsedMain: "Error",
|
IsCollapsedMain: "Error",
|
||||||
|
ErrorStr: error.message,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user