Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeBrowserAutomation
- func (fake *FakeBrowserAutomation) ClickElement(arg1 context.Context, arg2 string, arg3 string, arg4 map[string]any) error
- func (fake *FakeBrowserAutomation) ClickElementArgsForCall(i int) (context.Context, string, string, map[string]any)
- func (fake *FakeBrowserAutomation) ClickElementCallCount() int
- func (fake *FakeBrowserAutomation) ClickElementCalls(stub func(context.Context, string, string, map[string]any) error)
- func (fake *FakeBrowserAutomation) ClickElementReturns(result1 error)
- func (fake *FakeBrowserAutomation) ClickElementReturnsOnCall(i int, result1 error)
- func (fake *FakeBrowserAutomation) CloseBrowser(arg1 context.Context, arg2 string) error
- func (fake *FakeBrowserAutomation) CloseBrowserArgsForCall(i int) (context.Context, string)
- func (fake *FakeBrowserAutomation) CloseBrowserCallCount() int
- func (fake *FakeBrowserAutomation) CloseBrowserCalls(stub func(context.Context, string) error)
- func (fake *FakeBrowserAutomation) CloseBrowserReturns(result1 error)
- func (fake *FakeBrowserAutomation) CloseBrowserReturnsOnCall(i int, result1 error)
- func (fake *FakeBrowserAutomation) ExecuteScript(arg1 context.Context, arg2 string, arg3 string, arg4 []any) (any, error)
- func (fake *FakeBrowserAutomation) ExecuteScriptArgsForCall(i int) (context.Context, string, string, []any)
- func (fake *FakeBrowserAutomation) ExecuteScriptCallCount() int
- func (fake *FakeBrowserAutomation) ExecuteScriptCalls(stub func(context.Context, string, string, []any) (any, error))
- func (fake *FakeBrowserAutomation) ExecuteScriptReturns(result1 any, result2 error)
- func (fake *FakeBrowserAutomation) ExecuteScriptReturnsOnCall(i int, result1 any, result2 error)
- func (fake *FakeBrowserAutomation) ExtractData(arg1 context.Context, arg2 string, arg3 []map[string]any, arg4 string) (string, error)
- func (fake *FakeBrowserAutomation) ExtractDataArgsForCall(i int) (context.Context, string, []map[string]any, string)
- func (fake *FakeBrowserAutomation) ExtractDataCallCount() int
- func (fake *FakeBrowserAutomation) ExtractDataCalls(stub func(context.Context, string, []map[string]any, string) (string, error))
- func (fake *FakeBrowserAutomation) ExtractDataReturns(result1 string, result2 error)
- func (fake *FakeBrowserAutomation) ExtractDataReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeBrowserAutomation) FillForm(arg1 context.Context, arg2 string, arg3 []map[string]any, arg4 bool, ...) error
- func (fake *FakeBrowserAutomation) FillFormArgsForCall(i int) (context.Context, string, []map[string]any, bool, string)
- func (fake *FakeBrowserAutomation) FillFormCallCount() int
- func (fake *FakeBrowserAutomation) FillFormCalls(stub func(context.Context, string, []map[string]any, bool, string) error)
- func (fake *FakeBrowserAutomation) FillFormReturns(result1 error)
- func (fake *FakeBrowserAutomation) FillFormReturnsOnCall(i int, result1 error)
- func (fake *FakeBrowserAutomation) GetConfig() *config.Config
- func (fake *FakeBrowserAutomation) GetConfigCallCount() int
- func (fake *FakeBrowserAutomation) GetConfigCalls(stub func() *config.Config)
- func (fake *FakeBrowserAutomation) GetConfigReturns(result1 *config.Config)
- func (fake *FakeBrowserAutomation) GetConfigReturnsOnCall(i int, result1 *config.Config)
- func (fake *FakeBrowserAutomation) GetHealth(arg1 context.Context) error
- func (fake *FakeBrowserAutomation) GetHealthArgsForCall(i int) context.Context
- func (fake *FakeBrowserAutomation) GetHealthCallCount() int
- func (fake *FakeBrowserAutomation) GetHealthCalls(stub func(context.Context) error)
- func (fake *FakeBrowserAutomation) GetHealthReturns(result1 error)
- func (fake *FakeBrowserAutomation) GetHealthReturnsOnCall(i int, result1 error)
- func (fake *FakeBrowserAutomation) GetOrCreateDefaultSession(arg1 context.Context) (*playwright.BrowserSession, error)
- func (fake *FakeBrowserAutomation) GetOrCreateDefaultSessionArgsForCall(i int) context.Context
- func (fake *FakeBrowserAutomation) GetOrCreateDefaultSessionCallCount() int
- func (fake *FakeBrowserAutomation) GetOrCreateDefaultSessionCalls(stub func(context.Context) (*playwright.BrowserSession, error))
- func (fake *FakeBrowserAutomation) GetOrCreateDefaultSessionReturns(result1 *playwright.BrowserSession, result2 error)
- func (fake *FakeBrowserAutomation) GetOrCreateDefaultSessionReturnsOnCall(i int, result1 *playwright.BrowserSession, result2 error)
- func (fake *FakeBrowserAutomation) GetSession(arg1 string) (*playwright.BrowserSession, error)
- func (fake *FakeBrowserAutomation) GetSessionArgsForCall(i int) string
- func (fake *FakeBrowserAutomation) GetSessionCallCount() int
- func (fake *FakeBrowserAutomation) GetSessionCalls(stub func(string) (*playwright.BrowserSession, error))
- func (fake *FakeBrowserAutomation) GetSessionReturns(result1 *playwright.BrowserSession, result2 error)
- func (fake *FakeBrowserAutomation) GetSessionReturnsOnCall(i int, result1 *playwright.BrowserSession, result2 error)
- func (fake *FakeBrowserAutomation) HandleAuthentication(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, ...) error
- func (fake *FakeBrowserAutomation) HandleAuthenticationArgsForCall(i int) (context.Context, string, string, string, string, string, map[string]string)
- func (fake *FakeBrowserAutomation) HandleAuthenticationCallCount() int
- func (fake *FakeBrowserAutomation) HandleAuthenticationCalls(...)
- func (fake *FakeBrowserAutomation) HandleAuthenticationReturns(result1 error)
- func (fake *FakeBrowserAutomation) HandleAuthenticationReturnsOnCall(i int, result1 error)
- func (fake *FakeBrowserAutomation) Invocations() map[string][][]interface{}
- func (fake *FakeBrowserAutomation) LaunchBrowser(arg1 context.Context, arg2 *playwright.BrowserConfig) (*playwright.BrowserSession, error)
- func (fake *FakeBrowserAutomation) LaunchBrowserArgsForCall(i int) (context.Context, *playwright.BrowserConfig)
- func (fake *FakeBrowserAutomation) LaunchBrowserCallCount() int
- func (fake *FakeBrowserAutomation) LaunchBrowserCalls(...)
- func (fake *FakeBrowserAutomation) LaunchBrowserReturns(result1 *playwright.BrowserSession, result2 error)
- func (fake *FakeBrowserAutomation) LaunchBrowserReturnsOnCall(i int, result1 *playwright.BrowserSession, result2 error)
- func (fake *FakeBrowserAutomation) NavigateToURL(arg1 context.Context, arg2 string, arg3 string, arg4 string, ...) error
- func (fake *FakeBrowserAutomation) NavigateToURLArgsForCall(i int) (context.Context, string, string, string, time.Duration)
- func (fake *FakeBrowserAutomation) NavigateToURLCallCount() int
- func (fake *FakeBrowserAutomation) NavigateToURLCalls(stub func(context.Context, string, string, string, time.Duration) error)
- func (fake *FakeBrowserAutomation) NavigateToURLReturns(result1 error)
- func (fake *FakeBrowserAutomation) NavigateToURLReturnsOnCall(i int, result1 error)
- func (fake *FakeBrowserAutomation) Shutdown(arg1 context.Context) error
- func (fake *FakeBrowserAutomation) ShutdownArgsForCall(i int) context.Context
- func (fake *FakeBrowserAutomation) ShutdownCallCount() int
- func (fake *FakeBrowserAutomation) ShutdownCalls(stub func(context.Context) error)
- func (fake *FakeBrowserAutomation) ShutdownReturns(result1 error)
- func (fake *FakeBrowserAutomation) ShutdownReturnsOnCall(i int, result1 error)
- func (fake *FakeBrowserAutomation) TakeScreenshot(arg1 context.Context, arg2 string, arg3 string, arg4 bool, arg5 string, ...) error
- func (fake *FakeBrowserAutomation) TakeScreenshotArgsForCall(i int) (context.Context, string, string, bool, string, string, int)
- func (fake *FakeBrowserAutomation) TakeScreenshotCallCount() int
- func (fake *FakeBrowserAutomation) TakeScreenshotCalls(stub func(context.Context, string, string, bool, string, string, int) error)
- func (fake *FakeBrowserAutomation) TakeScreenshotReturns(result1 error)
- func (fake *FakeBrowserAutomation) TakeScreenshotReturnsOnCall(i int, result1 error)
- func (fake *FakeBrowserAutomation) WaitForCondition(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string, ...) error
- func (fake *FakeBrowserAutomation) WaitForConditionArgsForCall(i int) (context.Context, string, string, string, string, time.Duration, string)
- func (fake *FakeBrowserAutomation) WaitForConditionCallCount() int
- func (fake *FakeBrowserAutomation) WaitForConditionCalls(...)
- func (fake *FakeBrowserAutomation) WaitForConditionReturns(result1 error)
- func (fake *FakeBrowserAutomation) WaitForConditionReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBrowserAutomation ¶
type FakeBrowserAutomation struct { ClickElementStub func(context.Context, string, string, map[string]any) error CloseBrowserStub func(context.Context, string) error ExecuteScriptStub func(context.Context, string, string, []any) (any, error) ExtractDataStub func(context.Context, string, []map[string]any, string) (string, error) FillFormStub func(context.Context, string, []map[string]any, bool, string) error GetConfigStub func() *config.Config GetHealthStub func(context.Context) error GetOrCreateDefaultSessionStub func(context.Context) (*playwright.BrowserSession, error) GetSessionStub func(string) (*playwright.BrowserSession, error) HandleAuthenticationStub func(context.Context, string, string, string, string, string, map[string]string) error LaunchBrowserStub func(context.Context, *playwright.BrowserConfig) (*playwright.BrowserSession, error) ShutdownStub func(context.Context) error TakeScreenshotStub func(context.Context, string, string, bool, string, string, int) error WaitForConditionStub func(context.Context, string, string, string, string, time.Duration, string) error // contains filtered or unexported fields }
func (*FakeBrowserAutomation) ClickElement ¶
func (*FakeBrowserAutomation) ClickElementArgsForCall ¶
func (*FakeBrowserAutomation) ClickElementCallCount ¶
func (fake *FakeBrowserAutomation) ClickElementCallCount() int
func (*FakeBrowserAutomation) ClickElementCalls ¶
func (*FakeBrowserAutomation) ClickElementReturns ¶
func (fake *FakeBrowserAutomation) ClickElementReturns(result1 error)
func (*FakeBrowserAutomation) ClickElementReturnsOnCall ¶
func (fake *FakeBrowserAutomation) ClickElementReturnsOnCall(i int, result1 error)
func (*FakeBrowserAutomation) CloseBrowser ¶
func (fake *FakeBrowserAutomation) CloseBrowser(arg1 context.Context, arg2 string) error
func (*FakeBrowserAutomation) CloseBrowserArgsForCall ¶
func (fake *FakeBrowserAutomation) CloseBrowserArgsForCall(i int) (context.Context, string)
func (*FakeBrowserAutomation) CloseBrowserCallCount ¶
func (fake *FakeBrowserAutomation) CloseBrowserCallCount() int
func (*FakeBrowserAutomation) CloseBrowserCalls ¶
func (fake *FakeBrowserAutomation) CloseBrowserCalls(stub func(context.Context, string) error)
func (*FakeBrowserAutomation) CloseBrowserReturns ¶
func (fake *FakeBrowserAutomation) CloseBrowserReturns(result1 error)
func (*FakeBrowserAutomation) CloseBrowserReturnsOnCall ¶
func (fake *FakeBrowserAutomation) CloseBrowserReturnsOnCall(i int, result1 error)
func (*FakeBrowserAutomation) ExecuteScript ¶
func (*FakeBrowserAutomation) ExecuteScriptArgsForCall ¶
func (*FakeBrowserAutomation) ExecuteScriptCallCount ¶
func (fake *FakeBrowserAutomation) ExecuteScriptCallCount() int
func (*FakeBrowserAutomation) ExecuteScriptCalls ¶
func (*FakeBrowserAutomation) ExecuteScriptReturns ¶
func (fake *FakeBrowserAutomation) ExecuteScriptReturns(result1 any, result2 error)
func (*FakeBrowserAutomation) ExecuteScriptReturnsOnCall ¶
func (fake *FakeBrowserAutomation) ExecuteScriptReturnsOnCall(i int, result1 any, result2 error)
func (*FakeBrowserAutomation) ExtractData ¶
func (*FakeBrowserAutomation) ExtractDataArgsForCall ¶
func (*FakeBrowserAutomation) ExtractDataCallCount ¶
func (fake *FakeBrowserAutomation) ExtractDataCallCount() int
func (*FakeBrowserAutomation) ExtractDataCalls ¶
func (*FakeBrowserAutomation) ExtractDataReturns ¶
func (fake *FakeBrowserAutomation) ExtractDataReturns(result1 string, result2 error)
func (*FakeBrowserAutomation) ExtractDataReturnsOnCall ¶
func (fake *FakeBrowserAutomation) ExtractDataReturnsOnCall(i int, result1 string, result2 error)
func (*FakeBrowserAutomation) FillFormArgsForCall ¶
func (*FakeBrowserAutomation) FillFormCallCount ¶
func (fake *FakeBrowserAutomation) FillFormCallCount() int
func (*FakeBrowserAutomation) FillFormCalls ¶
func (*FakeBrowserAutomation) FillFormReturns ¶
func (fake *FakeBrowserAutomation) FillFormReturns(result1 error)
func (*FakeBrowserAutomation) FillFormReturnsOnCall ¶
func (fake *FakeBrowserAutomation) FillFormReturnsOnCall(i int, result1 error)
func (*FakeBrowserAutomation) GetConfig ¶
func (fake *FakeBrowserAutomation) GetConfig() *config.Config
func (*FakeBrowserAutomation) GetConfigCallCount ¶
func (fake *FakeBrowserAutomation) GetConfigCallCount() int
func (*FakeBrowserAutomation) GetConfigCalls ¶
func (fake *FakeBrowserAutomation) GetConfigCalls(stub func() *config.Config)
func (*FakeBrowserAutomation) GetConfigReturns ¶
func (fake *FakeBrowserAutomation) GetConfigReturns(result1 *config.Config)
func (*FakeBrowserAutomation) GetConfigReturnsOnCall ¶
func (fake *FakeBrowserAutomation) GetConfigReturnsOnCall(i int, result1 *config.Config)
func (*FakeBrowserAutomation) GetHealth ¶
func (fake *FakeBrowserAutomation) GetHealth(arg1 context.Context) error
func (*FakeBrowserAutomation) GetHealthArgsForCall ¶
func (fake *FakeBrowserAutomation) GetHealthArgsForCall(i int) context.Context
func (*FakeBrowserAutomation) GetHealthCallCount ¶
func (fake *FakeBrowserAutomation) GetHealthCallCount() int
func (*FakeBrowserAutomation) GetHealthCalls ¶
func (fake *FakeBrowserAutomation) GetHealthCalls(stub func(context.Context) error)
func (*FakeBrowserAutomation) GetHealthReturns ¶
func (fake *FakeBrowserAutomation) GetHealthReturns(result1 error)
func (*FakeBrowserAutomation) GetHealthReturnsOnCall ¶
func (fake *FakeBrowserAutomation) GetHealthReturnsOnCall(i int, result1 error)
func (*FakeBrowserAutomation) GetOrCreateDefaultSession ¶
func (fake *FakeBrowserAutomation) GetOrCreateDefaultSession(arg1 context.Context) (*playwright.BrowserSession, error)
func (*FakeBrowserAutomation) GetOrCreateDefaultSessionArgsForCall ¶
func (fake *FakeBrowserAutomation) GetOrCreateDefaultSessionArgsForCall(i int) context.Context
func (*FakeBrowserAutomation) GetOrCreateDefaultSessionCallCount ¶
func (fake *FakeBrowserAutomation) GetOrCreateDefaultSessionCallCount() int
func (*FakeBrowserAutomation) GetOrCreateDefaultSessionCalls ¶
func (fake *FakeBrowserAutomation) GetOrCreateDefaultSessionCalls(stub func(context.Context) (*playwright.BrowserSession, error))
func (*FakeBrowserAutomation) GetOrCreateDefaultSessionReturns ¶
func (fake *FakeBrowserAutomation) GetOrCreateDefaultSessionReturns(result1 *playwright.BrowserSession, result2 error)
func (*FakeBrowserAutomation) GetOrCreateDefaultSessionReturnsOnCall ¶
func (fake *FakeBrowserAutomation) GetOrCreateDefaultSessionReturnsOnCall(i int, result1 *playwright.BrowserSession, result2 error)
func (*FakeBrowserAutomation) GetSession ¶
func (fake *FakeBrowserAutomation) GetSession(arg1 string) (*playwright.BrowserSession, error)
func (*FakeBrowserAutomation) GetSessionArgsForCall ¶
func (fake *FakeBrowserAutomation) GetSessionArgsForCall(i int) string
func (*FakeBrowserAutomation) GetSessionCallCount ¶
func (fake *FakeBrowserAutomation) GetSessionCallCount() int
func (*FakeBrowserAutomation) GetSessionCalls ¶
func (fake *FakeBrowserAutomation) GetSessionCalls(stub func(string) (*playwright.BrowserSession, error))
func (*FakeBrowserAutomation) GetSessionReturns ¶
func (fake *FakeBrowserAutomation) GetSessionReturns(result1 *playwright.BrowserSession, result2 error)
func (*FakeBrowserAutomation) GetSessionReturnsOnCall ¶
func (fake *FakeBrowserAutomation) GetSessionReturnsOnCall(i int, result1 *playwright.BrowserSession, result2 error)
func (*FakeBrowserAutomation) HandleAuthentication ¶
func (*FakeBrowserAutomation) HandleAuthenticationArgsForCall ¶
func (*FakeBrowserAutomation) HandleAuthenticationCallCount ¶
func (fake *FakeBrowserAutomation) HandleAuthenticationCallCount() int
func (*FakeBrowserAutomation) HandleAuthenticationCalls ¶
func (*FakeBrowserAutomation) HandleAuthenticationReturns ¶
func (fake *FakeBrowserAutomation) HandleAuthenticationReturns(result1 error)
func (*FakeBrowserAutomation) HandleAuthenticationReturnsOnCall ¶
func (fake *FakeBrowserAutomation) HandleAuthenticationReturnsOnCall(i int, result1 error)
func (*FakeBrowserAutomation) Invocations ¶
func (fake *FakeBrowserAutomation) Invocations() map[string][][]interface{}
func (*FakeBrowserAutomation) LaunchBrowser ¶
func (fake *FakeBrowserAutomation) LaunchBrowser(arg1 context.Context, arg2 *playwright.BrowserConfig) (*playwright.BrowserSession, error)
func (*FakeBrowserAutomation) LaunchBrowserArgsForCall ¶
func (fake *FakeBrowserAutomation) LaunchBrowserArgsForCall(i int) (context.Context, *playwright.BrowserConfig)
func (*FakeBrowserAutomation) LaunchBrowserCallCount ¶
func (fake *FakeBrowserAutomation) LaunchBrowserCallCount() int
func (*FakeBrowserAutomation) LaunchBrowserCalls ¶
func (fake *FakeBrowserAutomation) LaunchBrowserCalls(stub func(context.Context, *playwright.BrowserConfig) (*playwright.BrowserSession, error))
func (*FakeBrowserAutomation) LaunchBrowserReturns ¶
func (fake *FakeBrowserAutomation) LaunchBrowserReturns(result1 *playwright.BrowserSession, result2 error)
func (*FakeBrowserAutomation) LaunchBrowserReturnsOnCall ¶
func (fake *FakeBrowserAutomation) LaunchBrowserReturnsOnCall(i int, result1 *playwright.BrowserSession, result2 error)
func (*FakeBrowserAutomation) NavigateToURL ¶
func (*FakeBrowserAutomation) NavigateToURLArgsForCall ¶
func (*FakeBrowserAutomation) NavigateToURLCallCount ¶
func (fake *FakeBrowserAutomation) NavigateToURLCallCount() int
func (*FakeBrowserAutomation) NavigateToURLCalls ¶
func (*FakeBrowserAutomation) NavigateToURLReturns ¶
func (fake *FakeBrowserAutomation) NavigateToURLReturns(result1 error)
func (*FakeBrowserAutomation) NavigateToURLReturnsOnCall ¶
func (fake *FakeBrowserAutomation) NavigateToURLReturnsOnCall(i int, result1 error)
func (*FakeBrowserAutomation) Shutdown ¶
func (fake *FakeBrowserAutomation) Shutdown(arg1 context.Context) error
func (*FakeBrowserAutomation) ShutdownArgsForCall ¶
func (fake *FakeBrowserAutomation) ShutdownArgsForCall(i int) context.Context
func (*FakeBrowserAutomation) ShutdownCallCount ¶
func (fake *FakeBrowserAutomation) ShutdownCallCount() int
func (*FakeBrowserAutomation) ShutdownCalls ¶
func (fake *FakeBrowserAutomation) ShutdownCalls(stub func(context.Context) error)
func (*FakeBrowserAutomation) ShutdownReturns ¶
func (fake *FakeBrowserAutomation) ShutdownReturns(result1 error)
func (*FakeBrowserAutomation) ShutdownReturnsOnCall ¶
func (fake *FakeBrowserAutomation) ShutdownReturnsOnCall(i int, result1 error)
func (*FakeBrowserAutomation) TakeScreenshot ¶
func (*FakeBrowserAutomation) TakeScreenshotArgsForCall ¶
func (*FakeBrowserAutomation) TakeScreenshotCallCount ¶
func (fake *FakeBrowserAutomation) TakeScreenshotCallCount() int
func (*FakeBrowserAutomation) TakeScreenshotCalls ¶
func (*FakeBrowserAutomation) TakeScreenshotReturns ¶
func (fake *FakeBrowserAutomation) TakeScreenshotReturns(result1 error)
func (*FakeBrowserAutomation) TakeScreenshotReturnsOnCall ¶
func (fake *FakeBrowserAutomation) TakeScreenshotReturnsOnCall(i int, result1 error)
func (*FakeBrowserAutomation) WaitForCondition ¶
func (*FakeBrowserAutomation) WaitForConditionArgsForCall ¶
func (*FakeBrowserAutomation) WaitForConditionCallCount ¶
func (fake *FakeBrowserAutomation) WaitForConditionCallCount() int
func (*FakeBrowserAutomation) WaitForConditionCalls ¶
func (*FakeBrowserAutomation) WaitForConditionReturns ¶
func (fake *FakeBrowserAutomation) WaitForConditionReturns(result1 error)
func (*FakeBrowserAutomation) WaitForConditionReturnsOnCall ¶
func (fake *FakeBrowserAutomation) WaitForConditionReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.