fix: shoots ios driver

This commit is contained in:
lilong.129
2025-02-11 15:43:38 +08:00
parent 72f7b77bc8
commit 7a585c5da4
3 changed files with 12 additions and 308 deletions

View File

@@ -43,6 +43,7 @@ type IDriver interface {
Screen() (ai.Screen, error)
Scale() (float64, error)
Screenshot() (*bytes.Buffer, error)
RecordScreen(folderPath string, duration time.Duration) (videoPath string, err error)
Source(srcOpt ...option.SourceOption) (string, error)
// actions
@@ -84,7 +85,6 @@ type IDriver interface {
StopCaptureLog() (result interface{}, err error)
GetDriverResults() []*DriverRequests
RecordScreen(folderPath string, duration time.Duration) (videoPath string, err error)
Setup() error
TearDown() error