SyntaxFix
Write A Post
Hire A Developer
Questions
This works seamlessly for me.
element.get_attribute('innerHTML')