From 54a09aeba83c7c2c376e617e3df328af059038f3 Mon Sep 17 00:00:00 2001 From: ankur22 Date: Thu, 16 Nov 2023 15:07:34 +0000 Subject: [PATCH] fixup! Fix error on nil result on page.query --- common/element_handle.go | 1 - 1 file changed, 1 deletion(-) diff --git a/common/element_handle.go b/common/element_handle.go index 3adde55be..062e47125 100644 --- a/common/element_handle.go +++ b/common/element_handle.go @@ -1042,7 +1042,6 @@ func (h *ElementHandle) Query(selector string) (*ElementHandle, error) { return nil, fmt.Errorf("querying selector %q: %w", selector, err) } if result == nil { - h.logger.Debugf("ElementHandle:Query:result:nil", "sel:%q", selector) return nil, nil //nolint:nilnil } handle, ok := result.(JSHandleAPI)