Documentation
¶
Index ¶
Constants ¶
View Source
const Separator = ", "
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionRequest ¶ added in v0.74.0
type ActionRequest struct {
Type string `json:"type,omitempty"`
Exclusion string `json:"exclusion"`
Attributes string `json:"attributes"`
Command string `json:"command,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
DebuggerAddress string `json:"debuggerAddress,omitempty"`
Remote string `json:"remote,omitempty"`
DirectCDP bool `json:"directCDP,omitempty"`
}
type Config ¶
type Config struct {
Port int
Host string
Token string
Browser string
Remote string
DebuggerAddress string
DirectCDP bool
PageLoadStrategy string
}
Config holds the configuration for the server
type Event ¶ added in v0.74.0
type Event struct {
ID string `json:"id"`
Type string `json:"type"`
TargetTag string `json:"targetTag"`
TargetHTML string `json:"targetHTML"`
HolderHTML string `json:"holderHTML"`
Key string `json:"key"`
MetaKey bool `json:"metaKey"`
Value string `json:"value"`
ValueRedacted bool `json:"valueRedacted"`
InputType string `json:"inputType"`
Checked bool `json:"checked"`
URL string `json:"url"`
Title string `json:"title"`
Timestamp int64 `json:"timestamp"`
}
type LiveResponse ¶ added in v0.91.0
type RunResponsePayload ¶ added in v0.84.0
type Service ¶
type Service struct {
Config *Config
Keys string
Target string
// contains filtered or unexported fields
}
Service represents the HTTP server.
func NewService ¶
NewService creates a new instance of Service with the provided config.
func (*Service) EnsureSession ¶ added in v0.84.0
func (*Service) EnsureWebDriver ¶
func (*Service) RunCommandsWithOptions ¶ added in v0.84.0
Click to show internal directories.
Click to hide internal directories.