Skip to content

Commit

Permalink
Review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
msoap authored and ZekeLu committed Apr 30, 2021
1 parent 681a603 commit b19d1ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion browser.go
Expand Up @@ -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 {
Expand Down

0 comments on commit b19d1ad

Please sign in to comment.