python – TypeError when running selenium web driver

I’m currently in the middle of an online python course and have been mostly progressing without issue, or at the very least eventually being able to solve them, however this one has me stumped. I’m attempting to pull html data (the course is using the Python website for this example) and am getting a “TypeError” every time the process finishes, as far as I can tell I’ve written everything exactly the way the instructor did in the course video so I’m not sure if I’m just being stupid and missing something obvious or if it doesn’t have anything to do with what I’m doing and is an actual glitch.

So far I’ve tried everything I have found online, from running the for loop through a “try” statement and so forth, to no avail. I’ll post a copy of my code (and the corresponding error) below.

My code
The response

Read more here: Source link