I have this code:
AndI'mtryingtoretrievethetext"AutoTest".
I made the following code here.
WebElement idMenu = navegador.findElement(By.id("dropdown-menu-profile"));
String valortesteAutomacao = idMenu.getText();
assertEquals("Teste_Automacao", valortesteAutomacao);
but it only appears to me:
I have already tried Xphat, but it does not return ....
How to do it?