Version 2.0
The main change in this version is the move to Appium, which uses the uiautomator2 driver to send commands to emulators. Appium is used for all actions related to interacting with elements via xpath, as well as for the actions "Connect to Device" (a session is created for the specified device by serial number on the server), "Disconnect from Device", "Take Screenshot", "Open Notifications Panel" and "Get XML dump".
Due to the use of appium, multithreading is now working.
Other changes:
- Node js has been updated to version 18.10.0.
- Removed actions:
- "Device Info" - there is no method for this action in the appium, and it is not clear what device settings need to be collected.
- Added actions:
- "Start Server";
- "Stop Server";
- "Is App Installed";
- "Is App Running";
- "Open Notifications Panel".
- Changed action settings:
- "Connect to Device" - all fields except "Serial number" have been removed. Added "Set up device" selector;
- "Take Screenshot" - removed the fields "Image quality" and "Save method on device" (appium does not allow to choose the quality and the folder for saving on the device itself).
For the following actions, the "Number of steps" parameter has been changed to "Duration, ms":
- "Long Click by Xpath";
- "Long Click by Coordinates";
- "Swipe on Screen".
- Fixed a bug in the "Scroll to Element" action. If "to the left" or "to the right" was selected in the scroll direction, then the scroll was performed down.
- Timeouts are now passed to Node js from the settings for actions that require a wait.
Please see the detailed instructions for installing the environment and launching the module in the first post.