File tree 1 file changed +11
-0
lines changed
rb/spec/integration/selenium/webdriver
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,17 @@ module WebDriver
68
68
end
69
69
end
70
70
71
+ # https://github.com/mozilla/geckodriver/issues/245
72
+ compliant_on browser : %i[ ff_esr chrome ] do
73
+ it 'should send key presses chords' do
74
+ driver . navigate . to url_for ( 'javascriptPage.html' )
75
+ key_reporter = driver . find_element ( id : 'keyReporter' )
76
+
77
+ key_reporter . send_keys ( [ :shift , 'h' ] , 'ello' )
78
+ expect ( key_reporter . attribute ( 'value' ) ) . to eq ( 'Hello' )
79
+ end
80
+ end
81
+
71
82
# PhantomJS on windows issue: https://github.com/ariya/phantomjs/issues/10993
72
83
# https://github.com/mozilla/geckodriver/issues/644
73
84
# https://github.com/mozilla/geckodriver/issues/858
You can’t perform that action at this time.
0 commit comments