These all seem like problems easily avoided if internet access and devices weren't allowed, and the exam was just paper and pencil, which most courses gain nothing from. Especially non programming courses like history.
There's also exam software that lock down laptops so only the exam can be accessed until it is finished if a professor insists on digital submission.
Professors seem as dumb as the students for finding all sorts of convoluted ways to try to stop AI based cheating during exams when the solution is to look back to their own past at how exams were given to them. Idiots.
But would you have been able to? Ochem wouldn't give access to laptops and just be a paper and pencil exam.
External devices would be banned from the get go so attempting to use your phone or laptop would get you a 0 for cheating.
These professors seem pretty dumb allowing all sorts of open access to devices during exams that are completely open to view and run anything and get surprised people are using AI. Why does a history exam need a computer with open access anyways. This isn't a programming course.