fix: stop logcat only when enabled

This commit is contained in:
lilong.129
2023-02-13 23:34:09 +08:00
parent c4144caf50
commit bf6032520d
4 changed files with 18 additions and 6 deletions
+4
View File
@@ -281,6 +281,10 @@ func (dev *IOSDevice) UUID() string {
return dev.UDID
}
func (dev *IOSDevice) LogEnabled() bool {
return dev.LogOn
}
func (dev *IOSDevice) NewDriver(capabilities Capabilities) (driverExt *DriverExt, err error) {
// init WDA driver
if capabilities == nil {