change: update example llk

This commit is contained in:
lilong.129
2025-06-15 00:47:20 +08:00
parent 69b4b92904
commit 4050fc3ffc
3 changed files with 40 additions and 3 deletions

View File

@@ -223,12 +223,17 @@ func (bot *LLKGameBot) Play() error {
)
if err != nil && !errors.Is(err, code.MaxRetryError) {
log.Error().Err(err).Msg("Failed to click game interface")
return err
}
}
return nil
}
func (bot *LLKGameBot) GenerateReport() error {
return bot.Session.GenerateReport()
}
// Close cleans up resources
func (bot *LLKGameBot) Close() error {
if bot.DriverExt != nil {