mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-03 06:49:38 +08:00
change: update example llk
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user