I am new to Selenium. I just want to send keys to a username text box and send a tab key both at a time so that text box can check for availability of username.
Try this code:
WebElement userName = pathfinderdriver.switchTo().activeElement(); userName.sendKeys(Keys.TAB);