Skip to content

Which Chrome version supports latest (tip-of-tree) CDP version? #731

Answered by ysmood
freb asked this question in Q&A
Discussion options

You must be logged in to vote

Works fine for me, I think only a page can use Audits:

// Package main ...
package main

import (
	"github.com/go-rod/rod"
	"github.com/go-rod/rod/lib/proto"
)

func main() {
	browser := rod.New().MustConnect()

	page := browser.MustPage("http://example.com")

	err := proto.AuditsEnable{}.Call(page)
	if err != nil {
		panic(err)
	}
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@freb
Comment options

@ysmood
Comment options

Answer selected by freb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants