Best practice for editing non-visible elements

There is a post with a workaround.
have invisible elements kept visible