class Playwright::Mouse::ClickOptions

Included Modules

Defined in:

playwright/mouse.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(button : Playwright::Mouse::Button | Nil = nil, click_count : Int32 | Nil = nil, delay : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def button : Button | Nil #

Defaults to left.


[View source]
def button=(button : Button | Nil) #

Defaults to left.


[View source]
def click_count : Int32 | Nil #

defaults to 1. See UIEvent.detail.


[View source]
def click_count=(click_count : Int32 | Nil) #

defaults to 1. See UIEvent.detail.


[View source]
def delay : Int32 | Nil #

Time to wait between mousedown and mouseup in milliseconds. Defaults to 0.


[View source]
def delay=(delay : Int32 | Nil) #

Time to wait between mousedown and mouseup in milliseconds. Defaults to 0.


[View source]