class Webdriver::Actions::ActionBuilder

Defined in:

webdriver/actions.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(server : Webdriver::Server, key_actions : Array(Action) = [] of Action, pointer_actions : Array(Action) = [] of Action, wheel_actions : Array(Action) = [] of Action) #

Instance Method Detail

def key_actions : Array(Webdriver::Actions::Action) #

def key_down(*keys) #

def key_press(*keys) #

def key_up(*keys) #

def move_to_element(element) #

def pause(duration : Time::Span = 0.seconds) #

def pointer_actions : Array(Webdriver::Actions::Action) #

def pointer_down(button) #

def pointer_move(x, y, from = "pointer") #

def pointer_up(button) #

def scroll(x, y, delta_x : Int32 = 0, delta_y : Int32 = 0, duration : Time::Span = 0.seconds, element : Bool = false, id : String? = nil) #

def to_json(json : JSON::Builder) #