Okay, I see. Then why does this simple one not work?
Code:
def is_link_wanted(self, url, tag):
return tag['id'] == 'jtoc_next'
I want to adress the element by its
id which is
jtoc_next
What do I do wrong there? Can't I use the id or something like that?