@@ -533,6 +533,7 @@ type FakeComputerService struct {
533533 ScrollFunc func (ctx context.Context , id string , body kernel.BrowserComputerScrollParams , opts ... option.RequestOption ) error
534534 DragMouseFunc func (ctx context.Context , id string , body kernel.BrowserComputerDragMouseParams , opts ... option.RequestOption ) error
535535 TypeTextFunc func (ctx context.Context , id string , body kernel.BrowserComputerTypeTextParams , opts ... option.RequestOption ) error
536+ SetCursorVisibilityFunc func (ctx context.Context , id string , body kernel.BrowserComputerSetCursorVisibilityParams , opts ... option.RequestOption ) (* kernel.BrowserComputerSetCursorVisibilityResponse , error )
536537}
537538
538539func (f * FakeComputerService ) ClickMouse (ctx context.Context , id string , body kernel.BrowserComputerClickMouseParams , opts ... option.RequestOption ) error {
@@ -578,6 +579,12 @@ func (f *FakeComputerService) TypeText(ctx context.Context, id string, body kern
578579 }
579580 return nil
580581}
582+ func (f * FakeComputerService ) SetCursorVisibility (ctx context.Context , id string , body kernel.BrowserComputerSetCursorVisibilityParams , opts ... option.RequestOption ) (* kernel.BrowserComputerSetCursorVisibilityResponse , error ) {
583+ if f .SetCursorVisibilityFunc != nil {
584+ return f .SetCursorVisibilityFunc (ctx , id , body , opts ... )
585+ }
586+ return & kernel.BrowserComputerSetCursorVisibilityResponse {}, nil
587+ }
581588
582589// --- Tests for Logs ---
583590
0 commit comments