Class Celerity::ViewerConnection
In: lib/celerity/viewer_connection.rb
Parent: Object

Methods

Public Class methods

Create a new connection to the given host/port

Public Instance methods

Close the connection.

Get the currently rendered page as a Base64-encoded PNG image. Only available in the Qt viewer.

Tells the viewer to render the given HTML, with the given URL as base url.

Tells the viewer to save a screenshot of the current page to the given path. May not be available on all viewers.

Tells the viewer to dump the render tree to the given path. Only available in the Qt viewer.

[Validate]