Regarding the variable assigning in selector

Do you able to validate and highlight on the element before adding the variable to selector? @Ram_Shiva_Reddy