class Playwright::Page::TypeOptions

Included Modules

Defined in:

playwright/page.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(delay : Int32 | Nil = nil, no_wait_after : Bool | Nil = nil, timeout : Int32 | Nil = nil) #

[View source]

Instance Method Detail

def delay : Int32 | Nil #

Time to wait between key presses in milliseconds. Defaults to 0.


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

Time to wait between key presses in milliseconds. Defaults to 0.


[View source]
def 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.


[View source]
def 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.


[View source]
def 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.


[View source]
def 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.


[View source]