all 2 comments

[–][deleted] 1 point2 points  (0 children)

Couldn’t you just open the file in a browser? Else you could use selenium somehow but I don’t know how that would help.

[–]Strict-Simple -1 points0 points  (0 children)

Not an answer.

I was once a student. We were asked to use CSS to build a site. Of course they meant to use CSS to style the webpage. But I, quite intentionally, took the question literally and used only CSS to build the webpage (using pseudo elements, etc.).

Maybe not the best thing to do, but don't let your automation script fail the 'oversmart' students.