maybe you may need to add some wait before getText() from saved page. This div on Edit page has really no text, it appears after page is saved and refreshed.
I am doing getText after saving/submitting. There are other fields where I can do getText successfully. Here, Edit Page sample was shared to understand how the field value is set and getText is not working. (returns ‘’).
Tried by adding wait before getText(), but no luck.
This is not a blocker for as the parent div attribute is giving the same what I required.