I am not sure what Navegador
does and it really does not matter. The key here are the Selenium methods you are invoking. For example, to write to a web element, sendKeys()
is appropriate. But, based on the description of your post, you need to read from the page and not write to it. One way to obtain the text from a page is
WebElement myElement = driver.findElement(By.xpath("...")); // Provide the XPath expression for the element containing the text you need.
String myText = myElement.getText(); // Saves the obtained text into a String object
Outside of this, I am not sure what else you need. Again, based on the limited information here, this seems all you need.