@@ -224,10 +224,6 @@ func (c *Client) WaitForLoad(tabID string, timeoutMs int) (string, error) {
224224
225225// --- CDP helper ---
226226
227- func (c * Client ) executeCdp (tabID int , method string , params map [string ]interface {}) (json.RawMessage , error ) {
228- return c .executeCdpWithTimeout (tabID , method , params , defaultRequestTimeout )
229- }
230-
231227func (c * Client ) executeCdpWithTimeout (tabID int , method string , params map [string ]interface {}, timeout time.Duration ) (json.RawMessage , error ) {
232228 if params == nil {
233229 params = map [string ]interface {}{}
@@ -280,10 +276,6 @@ func (c *Client) cdpWithAttachUntil(tabID int, method string, params map[string]
280276 return c .cdpWithAttachLockedUntil (tabID , method , params , deadline )
281277}
282278
283- func (c * Client ) cdpWithAttachLocked (tabID int , method string , params map [string ]interface {}) (json.RawMessage , error ) {
284- return c .cdpWithAttachLockedUntil (tabID , method , params , time.Time {})
285- }
286-
287279func (c * Client ) cdpWithAttachLockedUntil (tabID int , method string , params map [string ]interface {}, deadline time.Time ) (json.RawMessage , error ) {
288280 // Detach first to clear any stale debugger state from Chrome
289281 _ = c .detachTabWithTimeout (tabID , requestTimeoutUntil (deadline ))
0 commit comments