fix: convert swipe params with ConvertToFloat64Slice

This commit is contained in:
lilong.129
2024-11-16 17:44:01 +08:00
parent d85703656b
commit 01f03939d0
4 changed files with 8 additions and 6 deletions

View File

@@ -39,8 +39,10 @@ func (d *DriverSession) Reset() {
d.e2eDelay = nil
}
func (d *DriverSession) Get(withReset bool) map[string]interface{} {
data := map[string]interface{}{
type Attachments map[string]interface{}
func (d *DriverSession) Get(withReset bool) Attachments {
data := Attachments{
"screen_results": d.screenResults,
}
if len(d.e2eDelay) != 0 {