Hi everyone,
I am facing very strange problem, which Google keeps silence on. If
element represents a link (
<a>), then pressing Enter in browser on this link (link is focused) works fine, but when programmed explicitly in Selenium – it does not.
I have tried
element.sendKeys(Keys.ENTER) and
element.sendKeys(Keys.chord(Keys.ENTER)) with no result – the link is not "clicked".
element.click() works absolutely fine, but I need to test keyboard navigation (tabbing+enter). Maybe it has something to do with a
focus?
Selenuim 2.39.0, FF v21.