mirror of
https://github.com/thoughtbot/capybara-webkit
synced 2023-03-27 23:22:28 -04:00
41c4306267
`:numpad9` is duplicated instead of `:numpad8`, so `send_keys` method raises an error when it receives `:numpad8`. We can reproduce this behaviour with the added test case. This pull request fixes the problem. Note === I found this bug with `RUBYOPT=-w`. For example: (The second warning) ``` $ ruby -Ilib -rcapybara-webkit -e '' /path/to/lib/ruby/gems/2.6.0/gems/addressable-2.5.2/lib/addressable/idna/pure.rb:154: warning: assigned but unused variable - startercc /path/to/lib/capybara/webkit/node.rb:217: warning: duplicated when clause is ignored ``` |
||
---|---|---|
.. | ||
fixtures | ||
integration | ||
support | ||
browser_spec.rb | ||
capybara_webkit_builder_spec.rb | ||
configuration_spec.rb | ||
connection_spec.rb | ||
cookie_jar_spec.rb | ||
driver_rendering_spec.rb | ||
driver_resize_window_spec.rb | ||
driver_spec.rb | ||
errors_spec.rb | ||
node_spec.rb | ||
selenium_compatibility_spec.rb | ||
self_signed_ssl_cert.rb | ||
server_spec.rb | ||
spec_helper.rb |