Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Use browser.WaitForEventOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
inancgumus committed Nov 5, 2024
1 parent 85ccfee commit e6b0155
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions browser/browser_context_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ type WaitForEventOptions struct {
// callable predicate function and a timeout.
func parseWaitForEventOptions(
rt *sobek.Runtime, optsOrPredicate sobek.Value, defaultTime time.Duration,
) (*common.WaitForEventOptions, error) {
w := &common.WaitForEventOptions{
) (*WaitForEventOptions, error) {
w := &WaitForEventOptions{
Timeout: defaultTime,
}

Expand Down

0 comments on commit e6b0155

Please sign in to comment.