Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Aug 23, 2023
1 parent eff7c97 commit d2ad7cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ type Browser struct {
}

// New creates a controller.
// DefaultDevice to emulate is set to [devices.LaptopWithMDPIScreen].Landscape(), it can make the actual view area
// smaller than the browser window on headful mode, you can use [Browser.NoDefaultDevice] to disable it.
// DefaultDevice to emulate is set to [devices.LaptopWithMDPIScreen].Landscape(), it will change the default
// user-agent and can make the actual view area smaller than the browser window on headful mode,
// you can use [Browser.NoDefaultDevice] to disable it.
func New() *Browser {
return (&Browser{
ctx: context.Background(),
Expand Down

0 comments on commit d2ad7cb

Please sign in to comment.