class

Cromium::Page

Inherits Reference / Object

Constructors

new(url : String, id : String)
Source

Instance methods

active_requests
Source
active_requests=(active_requests : Int32)
Source
callback_channel
Source
callback_channel=(callback_channel : Hash(Int32, Channel(JSON::Any)))
Source
close
Source
done_callback_channel
Source
done_callback_channel=(done_callback_channel : Channel(Int32))
Source
frame
Source
frame=(frame : Frame)
Source
get_frame_id
Source
goto(url : String)
Source
html
Source
id=(id : String)
Source
on_html
Source
on_pdf
Source
on_screenshot
Source
pdf_to_file(filename : String)
Source
pdf_to_file(filename : String, **params)
Source
requested_callbacks
Source
requested_callbacks=(requested_callbacks : Int32)
Source
requested_callbacks_mutex
Source
requested_callbacks_mutex=(requested_callbacks_mutex : Mutex)
Source
screenshot
Source
screenshot
Source
screenshot_to_file(filename : String)
Source
screenshot_to_file(filename : String, **params)
Source
send_command(command : String) : JSON::Any
Source
send_command(command : String, **params) : JSON::Any
Source
set_content(content : String, wait_for : String = "networkIdle0")
Source
set_content(content : IO, wait_for : String = "networkIdle0")
Source
url=(url : String)
Source
wait_for_function(function : String) : JSON::Any
Source
wait_for_page_load
Source
wait_for_page_load
Source
ws=(ws : HTTP::WebSocket)
Source

Nested types