class Selenium::Action
- Selenium::Action
- Reference
- Object
Overview
I want to have seperate actions for each type (pause, pointer, key) but when I did that, I wasn't able to get the type union or inheritance working for some reason
Included Modules
- JSON::Serializable
Defined in:
selenium/action.crConstructors
- .new(pull : JSON::PullParser)
- .new(type : String, duration : Int32 | Nil = nil, value : Char | Nil = nil, button : Int32 | Nil = nil, origin : Nil | String = nil, x : Int32 | Nil = nil, y : Int32 | Nil = nil)
Instance Method Summary
- #button : Int32 | Nil
- #duration : Int32 | Nil
- #origin : String | Nil
- #type : String
- #value : Char | Nil
- #x : Int32 | Nil
- #y : Int32 | Nil
Constructor Detail
def self.new(type : String, duration : Int32 | Nil = nil, value : Char | Nil = nil, button : Int32 | Nil = nil, origin : Nil | String = nil, x : Int32 | Nil = nil, y : Int32 | Nil = nil)
#