where is the use guiedence bro
AndroidManager - module for managing android emulators
-
Hello was really looking for this.
Can u by any chance make a video how to setup this for the newbies for example how to connect with the android device , i smh cant figure that out.
Is there anything required to install in bas to be installed for it to work. Thanks!
-
@hetznerrdps hello, you can check manual from the start post that contains info about preparing your PC to work with emulators. Also see an example of BAS template there.
-
BAS KHÔNG CHUYÊN DỤNG ĐỂ LÀM VIỆC NÀY, TẠI SAO PHẢI CỐ GẮNG
-
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.
-
Is there any documentation on how to use it? How to open/install apps, etc? Maybe Sample BAS file?
-
@ChrisHolmes said in AndroidManager - module for managing android emulators:
Maybe Sample BAS file?
The sample is in the first post
-
-
Hello, thank you so much for this module. One question.
how can I get a device list? -
@wakid48219 are you joking? :) The name of the first action is "Get Devices List".
-
Sorry, I did not specify, I mean, as I have no device when I do that action how do I generate those? are they like fingerprints or something similar?
-
@wakid48219 first of all, you should run appium server manually (check the instructions in the 1'st post). Also you should call the action "Start Server" at the beginning of the script and pass the same host and port to it.
After that you just call "Connect to Device" action and a connection will be established automatically.
-
Version 2.2
Added action "Solve ReCaptcha v2". You can automatically solve ReCaptcha v2 with it. The device language must be Russian or English in order for the captcha to be displayed in one of these languages.
Captcha is solved by clicking through following services:
-
-
Version 2.4
Added new actions:
- "Get XML by xpath" - allows you to get an XML string by xpath, if the element is not found, returns false;
- "Get Each XML" - allows you to get a list of XML matching the xpath request, if the element is not found, returns false;
- "Get Attribute of each Element" - allows you to get a list to which the value of the specified attribute will be added; works similarly to the "Get Element Attribute" action, but for all found elements; if elements are not found, returns false;
- "Get Elements Count" - allows you to get the number of found elements, returns an integer, if the element is not found - returns 0.
Bug fixes:
- Restored the work of the action "Swipe on Screen";
- Fixed a bug in the "Type Text" action (if "Clear the field before entering text" option was selected, the action caused an error).
-
I'm tying to get "Get Current Activity" and I'm getting this error: SubprocessError: Subprocess finished with code 255. Error: 'grep' is not recognized as an internal or external command, operable program or batch file.
Any ideas?

