This commit is contained in:
hysn99
2024-04-15 16:34:25 +03:00
parent bfcb484104
commit 9a801bbb18
5 changed files with 57 additions and 14 deletions

View File

@@ -122,9 +122,9 @@ func VerifyCaptcha(page *rod.Page) error {
return nil
}
func NewLucaBot() *Luca {
func NewLucaBot(devMode bool) *Luca {
l := launcher.New().
Headless(true).
Headless(devMode).
Devtools(true)
//defer l.Cleanup()