I have the following HTML
<div class="t-beaneditor-row">
<label>Login ID</label>
SeleniumReset
</div>
I want to retrieve the string "SeleniumReset" from the HTML using WebDriver Java. I have tried
driver.findElement(By.xpath("//div")).getText()
but it is giving me "Login ID SeleniumReset". How to I retrieve "SeleniumReset" only?