-
-
Notifications
You must be signed in to change notification settings - Fork 768
Open
Description
Description
In previous versions of Appium, I've been able to collect timings of executed commands. After update to v9, the commands interface no longer contains the name of the executed command (nor any other information to use in filtering).
Environment
- Java client build version or git revision if you use some snapshot: 9.3.0
- Appium server version or git revision if you use some snapshot: 2.11.2
- Desktop OS/version used to run Appium if necessary: macOS
- Node.js version (unless using Appium.app|exe) or Appium CLI or Appium.app|exe: v22.4.1
- Mobile platform/version under test: iOS
- Real device or emulator/simulator: simulator
Details
Please provide more details, if necessary.
The code that worked previously:
driver.activateApp(app.name)
// or following, the result is the same:
// driver.executeScript("mobile:launchApp", ImmutableMap.of("bundleId", app.name));
driver.events.commands.filter { it.name == "activateApp" }
Currently, the commands interface doesn't have any useful identifier for commands triggered by drivers:
"commands": [
{
"cmd": "getLogEvents",
"startTime": 1723451304905,
"endTime": 1723451304905
},
{
"cmd": "execute",
"startTime": 1723451304936,
"endTime": 1723451312314
}
],
Metadata
Metadata
Assignees
Labels
No labels