I'm trying to type lowercase text with Shift button pressed in Safari web browser, but it just ignores special keys
I've already tried running the same code in Chrome and Firefox, and it worked fine
I tried a pretty straightforward method
element.sendKeys(Keys.chord(Keys.SHIFT,"aaaaaaa"));
and also using Actions
Actions shift = new Actions(driver);
shift.keyDown(Keys.LEFT_SHIFT)
.sendKeys("aaaaaaa")
.perform();
Aucun commentaire:
Enregistrer un commentaire