Documentation
¶
Index ¶
- func NewClickElementSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
- func NewExecuteScriptSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
- func NewExtractDataSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
- func NewFillFormSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
- func NewHandleAuthenticationSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
- func NewNavigateToURLSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
- func NewTakeScreenshotSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
- func NewWaitForConditionSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
- func NewWriteToCsvSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
- type ClickElementSkill
- type ExecuteScriptSkill
- type ExtractDataSkill
- type FillFormSkill
- type HandleAuthenticationSkill
- type NavigateToURLSkill
- type ScriptExecutionResult
- type TakeScreenshotSkill
- type WaitForConditionSkill
- type WriteToCsvSkill
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClickElementSkill ¶
func NewClickElementSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
NewClickElementSkill creates a new click_element skill
func NewExecuteScriptSkill ¶
func NewExecuteScriptSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
NewExecuteScriptSkill creates a new execute_script skill
func NewExtractDataSkill ¶
func NewExtractDataSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
NewExtractDataSkill creates a new extract_data skill
func NewFillFormSkill ¶
func NewFillFormSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
NewFillFormSkill creates a new fill_form skill
func NewHandleAuthenticationSkill ¶
func NewHandleAuthenticationSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
NewHandleAuthenticationSkill creates a new handle_authentication skill
func NewNavigateToURLSkill ¶
func NewNavigateToURLSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
NewNavigateToURLSkill creates a new navigate_to_url skill
func NewTakeScreenshotSkill ¶
func NewTakeScreenshotSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
NewTakeScreenshotSkill creates a new take_screenshot skill
func NewWaitForConditionSkill ¶
func NewWaitForConditionSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
NewWaitForConditionSkill creates a new wait_for_condition skill
func NewWriteToCsvSkill ¶
func NewWriteToCsvSkill(logger *zap.Logger, playwright playwright.BrowserAutomation) server.Tool
NewWriteToCsvSkill creates a new write_to_csv skill
Types ¶
type ClickElementSkill ¶
type ClickElementSkill struct {
// contains filtered or unexported fields
}
ClickElementSkill struct holds the skill with dependencies
func (*ClickElementSkill) ClickElementHandler ¶
func (s *ClickElementSkill) ClickElementHandler(ctx context.Context, args map[string]any) (string, error)
ClickElementHandler handles the click_element skill execution
type ExecuteScriptSkill ¶
type ExecuteScriptSkill struct {
// contains filtered or unexported fields
}
ExecuteScriptSkill struct holds the skill with dependencies
func (*ExecuteScriptSkill) ExecuteScriptHandler ¶
func (s *ExecuteScriptSkill) ExecuteScriptHandler(ctx context.Context, args map[string]any) (string, error)
ExecuteScriptHandler handles the execute_script skill execution
type ExtractDataSkill ¶
type ExtractDataSkill struct {
// contains filtered or unexported fields
}
ExtractDataSkill struct holds the skill with dependencies
func (*ExtractDataSkill) ExtractDataHandler ¶
func (s *ExtractDataSkill) ExtractDataHandler(ctx context.Context, args map[string]any) (string, error)
ExtractDataHandler handles the extract_data skill execution
type FillFormSkill ¶
type FillFormSkill struct {
// contains filtered or unexported fields
}
FillFormSkill struct holds the skill with dependencies
func (*FillFormSkill) FillFormHandler ¶
FillFormHandler handles the fill_form skill execution
type HandleAuthenticationSkill ¶
type HandleAuthenticationSkill struct {
// contains filtered or unexported fields
}
HandleAuthenticationSkill struct holds the skill with dependencies
func (*HandleAuthenticationSkill) HandleAuthenticationHandler ¶
func (s *HandleAuthenticationSkill) HandleAuthenticationHandler(ctx context.Context, args map[string]any) (string, error)
HandleAuthenticationHandler handles the handle_authentication skill execution
type NavigateToURLSkill ¶
type NavigateToURLSkill struct {
// contains filtered or unexported fields
}
NavigateToURLSkill struct holds the skill with dependencies
func (*NavigateToURLSkill) NavigateToURLHandler ¶
func (s *NavigateToURLSkill) NavigateToURLHandler(ctx context.Context, args map[string]any) (string, error)
NavigateToURLHandler handles the navigate_to_url skill execution
type ScriptExecutionResult ¶
type ScriptExecutionResult struct { Success bool `json:"success"` Result any `json:"result"` ResultType string `json:"result_type"` Error string `json:"error,omitempty"` ExecutionMS int64 `json:"execution_ms"` SessionID string `json:"session_id"` Timestamp string `json:"timestamp"` ScriptHash string `json:"script_hash"` Message string `json:"message"` Metadata map[string]any `json:"metadata,omitempty"` }
ScriptExecutionResult represents the result of script execution
type TakeScreenshotSkill ¶
type TakeScreenshotSkill struct {
// contains filtered or unexported fields
}
TakeScreenshotSkill struct holds the skill with dependencies
func (*TakeScreenshotSkill) TakeScreenshotHandler ¶
func (s *TakeScreenshotSkill) TakeScreenshotHandler(ctx context.Context, args map[string]any) (string, error)
TakeScreenshotHandler handles the take_screenshot skill execution
type WaitForConditionSkill ¶
type WaitForConditionSkill struct {
// contains filtered or unexported fields
}
WaitForConditionSkill struct holds the skill with dependencies
func (*WaitForConditionSkill) WaitForConditionHandler ¶
func (s *WaitForConditionSkill) WaitForConditionHandler(ctx context.Context, args map[string]any) (string, error)
WaitForConditionHandler handles the wait_for_condition skill execution
type WriteToCsvSkill ¶
type WriteToCsvSkill struct {
// contains filtered or unexported fields
}
WriteToCsvSkill struct holds the skill with services
func (*WriteToCsvSkill) WriteToCsvHandler ¶
func (s *WriteToCsvSkill) WriteToCsvHandler(ctx context.Context, args map[string]any) (string, error)
WriteToCsvHandler handles the write_to_csv skill execution