Skip to content

Commit

Permalink
doc how to fix failed launching for NewUserMode
Browse files Browse the repository at this point in the history
resolve #101
  • Loading branch information
ysmood committed Jul 7, 2020
1 parent 648ea13 commit 32278e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ func New() *Launcher {
}

// NewUserMode is a preset to enable reusing current user data. Useful for automation of personal browser.
// If you see any error, it may because you can't launch debug port for existing browser, the solution is to
// completely close the running browser. Unfortunately, there's no API for rod to tell it automatically yet.
func NewUserMode() *Launcher {
return &Launcher{
ctx: context.Background(),
Expand Down

0 comments on commit 32278e5

Please sign in to comment.