// ImportimportULSessionfrom"univ-lorraine-cas-session";// Create a new ULSessionletulSession=newULSession();// Log inulSession.login("username","password").then(()=>{// We are now logged inconsole.log("logged in sucessfuly");// Fetch a page using the newly authenticated sessionulSession.fetchPage("https://assiduite.univ-lorraine.fr/etudiant/absences").then((page)=>{// Page fetched sucessfully, print out the contentconsole.log(page);}).catch((error)=>{// An error occured while fetching the pageconsole.log(error);})}).catch(function(error){// An error occured while logging inconsole.log(error);});