class Selenium::Action

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

Defined in:

selenium/action.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail

def button : Int32 | Nil #

[View source]
def duration : Int32 | Nil #

[View source]
def origin : String | Nil #

[View source]
def type : String #

[View source]
def value : Char | Nil #

[View source]
def x : Int32 | Nil #

[View source]
def y : Int32 | Nil #

[View source]