test3 update

This commit is contained in:
史振东
2024-11-01 03:39:49 +00:00
parent abf1893f16
commit 0d9f7d3849
2 changed files with 28 additions and 33 deletions

View File

@@ -1,15 +1,14 @@
1 connect_device("Android:///") # local adb device using default params
1 # local device with serial number SJE5T17B17 and custom params
1 connect_device("Android:///SJE5T17B17?cap_method=javacap&touch_method=adb")
1 # remote device using custom params Android://adbhost:adbport/serialno
1 connect_device("Android://127.0.0.1:5037/10.254.60.1:5555")
1 connect_device("Android://127.0.0.1:5037/10.234.60.1:5555?name=serialnumber") # add serialno to params
1 connect_device("Windows:///") # connect to the desktop
1 connect_device("Windows:///123456") # Connect to the window with handle 123456
1 connect_device("windows:///?title_re='.*explorer.*'") # Connect to the window that name include "explorer"
1 connect_device("Windows:///123456?foreground=False") # Connect to the window without setting it foreground
1 connect_device("iOS:///127.0.0.1:8100") # iOS device
1 connect_device("iOS:///http://localhost:8100/?mjpeg_port=9100") # iOS with mjpeg port
1 connect_device("iOS:///http://localhost:8100/?mjpeg_port=9100&&udid=00008020-001270842E88002E") # iOS with mjpeg port and udid
1 connect_device("iOS:///http://localhost:8100/?mjpeg_port=9100&&uuid=00008020-001270842E88002E") # udid/uuid/serialno are all ok
1

View File

@@ -1,18 +1,14 @@
[ connect_device("Android:///") # local adb device using default params
{ # local device with serial number SJE5T17B17 and custom params
"id": "93b15868950034d1400652c7a0380cdc43023975", connect_device("Android:///SJE5T17B17?cap_method=javacap&touch_method=adb")
"shortId": "93b15868", # remote device using custom params Android://adbhost:adbport/serialno
"createdAt": 1730107391000, connect_device("Android://127.0.0.1:5037/10.254.60.1:5555")
"title": "as d", connect_device("Android://127.0.0.1:5037/10.234.60.1:5555?name=serialnumber") # add serialno to params
"message": "as d", connect_device("Windows:///") # connect to the desktop
"parentIds": [ connect_device("Windows:///123456") # Connect to the window with handle 123456
"bfb3b430e5df8d636aefbba35acf3aed6844cca2" connect_device("windows:///?title_re='.*explorer.*'") # Connect to the window that name include "explorer"
], connect_device("Windows:///123456?foreground=False") # Connect to the window without setting it foreground
"authorName": "admin", connect_device("iOS:///127.0.0.1:8100") # iOS device
"authorEmail": "asw@geedgenetworks.com", connect_device("iOS:///http://localhost:8100/?mjpeg_port=9100") # iOS with mjpeg port
"authoredDate": 1730107391000, connect_device("iOS:///http://localhost:8100/?mjpeg_port=9100&&udid=00008020-001270842E88002E") # iOS with mjpeg port and udid
"committerName": "admin", connect_device("iOS:///http://localhost:8100/?mjpeg_port=9100&&uuid=00008020-001270842E88002E") # udid/uuid/serialno are all ok
"committerEmail": "asw@geedgenetworks.com",
"committedDate": 1730107391000
}
]