I am trying to delete a text in the textbox.
Currently, I can do that using the command
driver.findElement(By.xpath("//*[@resource-id=‘textbox’]")).click();
driver.getKeyboard().sendKeys(Keys.DELETE);
but if the text is centered or long enough to reach the center of the field i am unable to delete the whole text. Is there any way that i can tap the textbox at the end of its existing text?