You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Platform: Windows 10 Version 1809 Build 10.0.17763.1
Firefox: 63.0.1 (64-bit)
Selenium: 3.13.0
Testcase
The test case below sends an ENTER keystroke to the browser window and then checks if the keydown event was fired (checkbox on web page is expected to be checked).
@TestpublicvoidtestSendEnterToBody_actionsApiSendKeys_eventFired() {
webDriver.navigate().to("https://philipl-micro-focus.github.io/webdriver-testpages/specialKeys.html");
WebElemententerIndicator = webDriver.findElementById("enter");
assertFalse("ENTER checkbox expected to be NOT checked", enterIndicator.isSelected());
newActions(webDriver).sendKeys(Keys.ENTER).perform();
assertTrue("ENTER checkbox expected to be checked", enterIndicator.isSelected()); // FAILS
}
Adding a click on the H1 tag before the call of Actions.sendKeys() did not help.
Tested also with Firefox Nightly 65.0a1 (2018-11-05) (64-bit).
Same result (failing test) as with Firefox 63.0.1.
@whimboo I would expect so, yes. We really should prioritise fixing this, but I guess this is depending on converting the Element Send Keys command to using action primitives?
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue.
lockbot
locked and limited conversation to collaborators
Aug 16, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
System
Testcase
The test case below sends an ENTER keystroke to the browser window and then checks if the keydown event was fired (checkbox on web page is expected to be checked).
Adding a click on the H1 tag before the call of Actions.sendKeys() did not help.
Tested also with Firefox Nightly 65.0a1 (2018-11-05) (64-bit).
Same result (failing test) as with Firefox 63.0.1.
Stacktrace
Trace-level log
geckodriver-log.txt
The text was updated successfully, but these errors were encountered: