How to get the result of element selector selection

I’m writing a translation plugin and I want to select a div quickly and easily,I want to know how to call the page inspector, and get the checked result,Does anyone know if this works, thanks a lot

Maybe this thread will help:

Thank you for your answer :grin: