feat: capture pcap file for iOS

This commit is contained in:
debugtalk
2022-12-15 17:04:58 +08:00
parent 1c8c3e0e80
commit f4af2d131a
13 changed files with 130 additions and 39 deletions

View File

@@ -927,8 +927,11 @@ func NewData(data map[string]interface{}, options ...DataOption) map[string]inte
// current implemeted device: IOSDevice, AndroidDevice
type Device interface {
UUID() string
UUID() string // ios udid or android serial
NewDriver(capabilities Capabilities) (driverExt *DriverExt, err error)
StartPcap() error
StopPcap() string
}
// WebDriver defines methods supported by WebDriver drivers.