Skip to content

Commit

Permalink
提交信息
Browse files Browse the repository at this point in the history
  • Loading branch information
jihongyu committed Jul 22, 2024
1 parent d644047 commit 4c247f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devtools/browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/musiclover789/luna/reverse_proxy"
"github.com/tidwall/gjson"
"sync"
"time"
)

type BrowserOptions struct {
Expand Down Expand Up @@ -231,6 +232,7 @@ func (b *Browser) Close() {
}
}
browser.CloseBrowser(b.Session)
time.Sleep(5 * time.Second)
}

func (b *Browser) SetWindowBounds(left, top, width, height int) {
Expand Down

0 comments on commit 4c247f8

Please sign in to comment.