feat: device新增截图方法

This commit is contained in:
余泓铮
2025-02-25 17:51:27 +08:00
parent 7bc36ccf44
commit ebdd676e61
3 changed files with 12 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
package uixt
import (
"bytes"
"github.com/httprunner/httprunner/v5/pkg/uixt/option"
"github.com/httprunner/httprunner/v5/pkg/uixt/types"
"github.com/pkg/errors"
@@ -73,3 +74,7 @@ func (dev *BrowserDevice) NewDriver() (driver IDriver, err error) {
}
return driver, nil
}
func (dev *BrowserDevice) ScreenShot() (*bytes.Buffer, error) {
return nil, errors.New("not support")
}