fix: stop logcat only when enabled

This commit is contained in:
lilong.129
2023-02-13 23:34:09 +08:00
parent cdee2babd7
commit 4db263db15
4 changed files with 18 additions and 6 deletions

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 {