class

Playwright::Frame::DblclickOptions

Inherits JSON::Serializable / Reference / Object

Constructors

new(button : Playwright::Mouse::Button | Nil = nil, delay : Int32 | Nil = nil, position : Nil | Playwright::Position = nil, modifiers : Set(Playwright::Keyboard::Modifier) | Nil = nil, force : Bool | Nil = nil, no_wait_after : Bool | Nil = nil, timeout : Int32 | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

button

Defaults to left.

Source
button=(button : Mouse::Button | Nil)

Defaults to left.

Source
delay

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

Source
delay=(delay : Int32 | Nil)

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

Source
force

Whether to bypass the actionability checks. Defaults to false.

Source
force=(force : Bool | Nil)

Whether to bypass the actionability checks. Defaults to false.

Source
modifiers

Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used.

Source
modifiers=(modifiers : Set(Keyboard::Modifier) | Nil)

Modifier keys to press. Ensures that only these modifiers are pressed during the operation, and then restores current modifiers back. If not specified, currently pressed modifiers are used.

Source
no_wait_after

Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to false.

Source
no_wait_after=(no_wait_after : Bool | Nil)

Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to false.

Source
position

A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element.

Source
position=(position : Position | Nil)

A point to use relative to the top-left corner of element padding box. If not specified, uses some visible point of the element.

Source
timeout

Maximum time in milliseconds, defaults to 30 seconds, pass 0 to disable timeout. The default value can be changed by using the browserContext.setDefaultTimeout(timeout) or page.setDefaultTimeout(timeout) methods.

Source
timeout=(timeout : Int32 | Nil)

Maximum time in milliseconds, defaults to 30 seconds, pass 0 to disable timeout. The default value can be changed by using the browserContext.setDefaultTimeout(timeout) or page.setDefaultTimeout(timeout) methods.

Source
with_position(x : Int32, y : Int32) : DblclickOptions
Source
with_position(position : Position) : DblclickOptions
Source