From 853819b5461d02018b456e1ab19c5310bd4178ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0nan=C3=A7=20G=C3=BCm=C3=BC=C5=9F?= Date: Tue, 5 Nov 2024 16:08:12 -0500 Subject: [PATCH] Remove common.WaitForEventOptions --- common/browser_context_options.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/common/browser_context_options.go b/common/browser_context_options.go index 705967862..4decfbaff 100644 --- a/common/browser_context_options.go +++ b/common/browser_context_options.go @@ -3,7 +3,6 @@ package common import ( "context" "fmt" - "time" "github.com/grafana/sobek" @@ -97,12 +96,6 @@ func NewBrowserContextOptions() *BrowserContextOptions { } } -// WaitForEventOptions are the options used by the browserContext.waitForEvent API. -type WaitForEventOptions struct { - Timeout time.Duration - PredicateFn sobek.Callable -} - // GrantPermissionsOptions is used by BrowserContext.GrantPermissions. type GrantPermissionsOptions struct { Origin string