self.driver.current_activity() should be self.driver.current_activity
MODIFY
commands-yml/commands/device/activity/current-activity.yml
commands-yml/commands/device/activity/current-activity.yml
@@ -8,7 +8,7 @@ example_usage:
String activity = driver.currentActivity();
python:
|
- activity = self.driver.current_activity();
+ activity = self.driver.current_activity;
javascript_wd:
|
let activity = await driver.getCurrentActivity();

MODIFY
commands-yml/commands/device/activity/current-package.yml
commands-yml/commands/device/activity/current-package.yml
@@ -8,7 +8,7 @@ example_usage:
String package = driver.getCurrentPackage();
python:
|
- package = self.driver.current_package();
+ package = self.driver.current_package;
javascript_wd:
|
let package = await driver.getCurrentPackage();

self.driver.current_activity() should be self.driver.current_activity