Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
SeleniumHQ
GitHub Repository: SeleniumHQ/Selenium
Path: blob/trunk/rb/sig/lib/selenium/webdriver/common/interactions/key_input.rbs
1865 views
module Selenium
  module WebDriver
    module Interactions
      class KeyInput < InputDevice
        @type: untyped

        SUBTYPES: { down: :keyDown, up: :keyUp, pause: :pause }

        def initialize: (?untyped? name) -> void

        def create_key_down: (untyped key) -> untyped

        def create_key_up: (untyped key) -> untyped

        class TypingInteraction < Interactions::TypingInteraction
        end
      end
    end
  end
end