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) #

[View source]

Instance Method Detail

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

[View source]
def key_down(*keys) #

[View source]
def key_press(*keys) #

[View source]
def key_up(*keys) #

[View source]
def move_to_element(element) #

[View source]
def pause(duration : Time::Span = 0.seconds) #

[View source]
def pointer_actions : Array(Webdriver::Actions::Action) #

[View source]
def pointer_down(button) #

[View source]
def pointer_move(x, y, from = "pointer") #

[View source]
def pointer_up(button) #

[View source]
def scroll(x, y, delta_x : Int32 = 0, delta_y : Int32 = 0, duration : Time::Span = 0.seconds, element : Bool = false, id : String | Nil = nil) #

[View source]
def to_json(json : JSON::Builder) #

[View source]