Well, the Id is not empty. So, what you should be doing is pass the "js_2ck-7-2023" as the Id of the <h2> element like this (not that I've verified the rest of the structure):
div > div > h2[id="js_2ck-7-2023"] > div > div > div[Text="31"]
I can't really see any <div> elements under the <h2> though, so it might be that it's failing because you're not targeting the correct child element.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.