Skip to content

Commit ced12b5

Browse files
committed
add doc
1 parent 2e7c49d commit ced12b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/launcher/launcher.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ func (l *Launcher) XVFB(args ...string) *Launcher {
245245
}
246246

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

0 commit comments

Comments
 (0)