Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Dec 20, 2023
1 parent 2e7c49d commit ced12b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ func (l *Launcher) XVFB(args ...string) *Launcher {
}

// Preferences set chromium user preferences, such as set the default search engine or disable the pdf viewer.
// The pref is a json string, the doc is here https://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/pref_names.cc
func (l *Launcher) Preferences(pref string) *Launcher {
return l.Set(flags.Preferences, pref)
}
Expand Down

0 comments on commit ced12b5

Please sign in to comment.