<input id="" name="" maxlength="100" readonly="" title="root@ru.stackoverflow.com"> there is such a tag, finding it is not a problem. but how can selenium draw the text from the title attribute to a variable?
the...">
guilty, eventually found the answer to your question. and within two minutes after its publication.
WebElement titleread = driver.findElement(By.xpath("")); String lr = loginread.getAttribute("title"); System.out.println(lr); // для проверки Source: https://ru.stackoverflow.com/questions/648311/
All Articles