From b19d1ad32be03caec1d9892defbafe09bab2bdfd Mon Sep 17 00:00:00 2001 From: Sergey Mudrik Date: Fri, 30 Apr 2021 11:47:50 +0300 Subject: [PATCH] Review changes --- browser.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser.go b/browser.go index c161b1ab..05527d44 100644 --- a/browser.go +++ b/browser.go @@ -122,7 +122,8 @@ func NewBrowser(ctx context.Context, urlstr string, opts ...BrowserOption) (*Bro // Process returns the process object of the browser. // // It could be nil when the browser is allocated with RemoteAllocator. -// It can be used to control the memory consumed by the browser process. +// It could be useful for a monitoring system to collect process metrics of the browser process. +// (see https://pkg.go.dev/github.com/prometheus/client_golang/prometheus#NewProcessCollector for an example) // // Example: // if process := chromedp.FromContext(ctx).Browser.Process(); process != nil {