Closed BenjaminB64 closed 3 years ago
Browser
doesn't have this method, only Page
supports it.
package main
import (
"github.com/go-rod/rod"
"github.com/go-rod/rod/lib/proto"
"github.com/go-rod/rod/lib/utils"
)
func main() {
browser := rod.New().MustConnect()
page := browser.MustPage()
err := proto.NetworkSetCacheDisabled{
CacheDisabled: true,
}.Call(page)
utils.E(err)
}
Rod Version: v0.97.11
Code
Error
Tried
I tried to connect to an chromium on my local env, and on go-rod docker container (last version), my Chomium version is 90.0.4 This call worked with same chromium instance and chromedp library, can you help me ?