class Playwright::Mouse::ClickOptions
- Playwright::Mouse::ClickOptions
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
playwright/mouse.crConstructors
- .new(pull : JSON::PullParser)
- .new(button : Playwright::Mouse::Button | Nil = nil, click_count : Int32 | Nil = nil, delay : Int32 | Nil = nil)
Instance Method Summary
-
#button : Button | Nil
Defaults to
left
. -
#button=(button : Button | Nil)
Defaults to
left
. -
#click_count : Int32 | Nil
defaults to 1.
-
#click_count=(click_count : Int32 | Nil)
defaults to 1.
-
#delay : Int32 | Nil
Time to wait between
mousedown
andmouseup
in milliseconds. -
#delay=(delay : Int32 | Nil)
Time to wait between
mousedown
andmouseup
in milliseconds.
Constructor Detail
def self.new(button : Playwright::Mouse::Button | Nil = nil, click_count : Int32 | Nil = nil, delay : Int32 | Nil = nil)
#
Instance Method Detail
def delay : Int32 | Nil
#
Time to wait between mousedown
and mouseup
in milliseconds. Defaults to 0.
def delay=(delay : Int32 | Nil)
#
Time to wait between mousedown
and mouseup
in milliseconds. Defaults to 0.