Hi,
In my application, Inside iFrame there is a textbox , After entering text i need to click on Enter key using selenium. I tried
driver.findElement(By.cssSelector("xxxxxxxx")).sendKeys(Keys.ENTER) and even this is not working (jse.executeScript("document.getElementById('xxxx').click();");) as it performs click operation. Could someone help me on how to simulate Enter key press event using Javascript.
Thanks
Anu