I put up a similar thing here: Select Item problem - #2 by Dave
I"ve had similar issues, but to solve it you need to change a few of the settings and it isn’t always obvious which settings need to change. The easiest way is to just disable protected mode for everything (or enable it for everything). Going from a trusted to a non-trusted (or vice-versa) seems to always cause issues
EDIT: Not related to the protected mode issue, but I would change your selector as well. Saying innertext = ‘*
’ is the same thing as not using that selector at all. You have to choose a selector that is specific to your element, but ‘*
’ means it will take anything