mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
feat: 支持设备探活
This commit is contained in:
@@ -45,6 +45,10 @@ func (dev *BrowserDevice) Setup() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (dev *BrowserDevice) IsHealthy() (bool, error) {
|
||||||
|
return true, nil
|
||||||
|
}
|
||||||
|
|
||||||
func (dev *BrowserDevice) LogEnabled() bool {
|
func (dev *BrowserDevice) LogEnabled() bool {
|
||||||
return dev.Options.LogOn
|
return dev.Options.LogOn
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user