Cromium::Page
Inherits Reference / Object
Constructors
new(url : String, id : String)
SourceInstance methods
active_requests
Sourceactive_requests=(active_requests : Int32)
Sourcecallback_channel
Sourcecallback_channel=(callback_channel : Hash(Int32, Channel(JSON::Any)))
Sourceclose
Sourcedone_callback_channel
Sourcedone_callback_channel=(done_callback_channel : Channel(Int32))
Sourceframe
Sourceframe=(frame : Frame)
Sourceget_frame_id
Sourcegoto(url : String)
Sourcehtml
Sourceid
Sourceid=(id : String)
Sourceon_html
Sourceon_pdf
Sourceon_screenshot
Sourcepdf
Sourcepdf
Sourcepdf_to_file(filename : String)
Sourcepdf_to_file(filename : String, **params)
Sourcerequested_callbacks
Sourcerequested_callbacks=(requested_callbacks : Int32)
Sourcerequested_callbacks_mutex
Sourcerequested_callbacks_mutex=(requested_callbacks_mutex : Mutex)
Sourcescreenshot
Sourcescreenshot
Sourcescreenshot_to_file(filename : String)
Sourcescreenshot_to_file(filename : String, **params)
Sourcesend_command(command : String) : JSON::Any
Sourcesend_command(command : String, **params) : JSON::Any
Sourceset_content(content : String, wait_for : String = "networkIdle0")
Sourceset_content(content : IO, wait_for : String = "networkIdle0")
Sourceurl
Sourceurl=(url : String)
Sourcewait_for_function(function : String) : JSON::Any
Sourcewait_for_page_load
Sourcewait_for_page_load
Sourcews
Sourcews=(ws : HTTP::WebSocket)
Source