Set value in the input element:
WebElement input = ...
input.sendKeys("1234989");
Sometimes, the input element only gets "1", not "1234989", any race condition here?
Another way:
Actions actions = new Actions(driver);
actions.sendKeys(input, "1234989").build().perform();
This one seems works better. What is the difference?