find xpath for 'PAINEL DE CONTROLE EDITORA'
Facing issues while locating element outside the span please refer the images and post the xpath for it.
I have tried the suggestion in Upkar Singh's answer and the xpath below with no success. After
nothing is accessible.
.//*[contains(text(),'PAINEL DE CONTROLE EDITORA')]
Looks like this is a situation where dot works and text() does not. I don't understand dot enough to know why at this point, but the answers on this question go into detail about it: https://stackoverflow.com/questions/38240763/xpath-difference-between-dot-and-text/38240971
//span[contains(., 'PAINEL DE CONTROLE EDITORA')]