class Webdriver::Actions::ActionBuilder
- Webdriver::Actions::ActionBuilder
- Reference
- Object
Defined in:
webdriver/actions.crConstructors
Instance Method Summary
- #key_actions : Array(Webdriver::Actions::Action)
- #key_down(*keys)
- #key_press(*keys)
- #key_up(*keys)
- #move_to_element(element)
- #pause(duration : Time::Span = 0.seconds)
- #pointer_actions : Array(Webdriver::Actions::Action)
- #pointer_down(button)
- #pointer_move(x, y, from = "pointer")
- #pointer_up(button)
- #scroll(x, y, delta_x : Int32 = 0, delta_y : Int32 = 0, duration : Time::Span = 0.seconds, element : Bool = false, id : String | Nil = nil)
- #to_json(json : JSON::Builder)
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 scroll(x, y, delta_x : Int32 = 0, delta_y : Int32 = 0, duration : Time::Span = 0.seconds, element : Bool = false, id : String | Nil = nil)
#