Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RecordedEvent ¶
type RecordedEvent struct {
T int64 `json:"t"`
Action string `json:"action"`
Params map[string]interface{} `json:"params,omitempty"`
}
RecordedEvent represents a single captured action.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server holds the state for the running browser daemon.
func (*Server) HandleSignals ¶
func (s *Server) HandleSignals()
HandleSignals listens for SIGINT/SIGTERM and cleanly stops the daemon. This ensures Chrome is killed even if the parent script is Ctrl+C'd.
type StreamEvent ¶
type StreamEvent struct {
Type EventType `json:"type"`
Payload interface{} `json:"payload,omitempty"`
}
StreamEvent is the JSON payload sent over SSE
Source Files
¶
- capture_types.go
- domain_ref.go
- helpers.go
- lifecycle.go
- listeners.go
- page_management.go
- routes_console.go
- routes_content.go
- routes_context.go
- routes_core.go
- routes_inject.go
- routes_interaction.go
- routes_mouse.go
- routes_navigation.go
- routes_network.go
- routes_record.go
- routes_session.go
- routes_snapshot.go
- routes_tab.go
- server.go
- sse.go
Click to show internal directories.
Click to hide internal directories.