
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@nightwatch/mobile-helper
Advanced tools
Easily setup all the requirements needed to get started with mobile-web testing using Nightwatch.
Official Nightwatch tool to help easily setup all the requirements needed to get started with mobile testing in Nightwatch.js. Nightwatch.js supports web and native app testing in both Android and iOS devices.
BONUS: For Android folks, there's much more this tool has to offer now apart for setting up requirements for testing:
adb
to only connect to real devices.adb
, emualator
, sdkmanager
, avdmanager
directly from a single CLI.You can now setup a fully functional Android Emulator environment, or just adb
for connecting to real device, without the need to download the whole Android Studio IDE.
Run the below command to download all the required Android SDKs needed to get the Android Emulator setup and running with Android v11:
npx @nightwatch/mobile-helper android --standalone
The above command makes sure that you have everything you need to use Android Emulator as well as connect your computer to real Android devices.
This tool allows you to do a lot of things with simple and tailored flows, accessible through the following subcommands:
Syntax
The following syntax is used for executing subcommands:
npx @nightwatch/mobile-helper android <subcommand> [flags|cliConfigs]
This subcommand allows you to connect to a real device using adb
or launch an AVD (Android Virtual Device) inside Android Emulator.
npx @nightwatch/mobile-helper android connect [flags]
Flag | Description |
---|---|
--wireless | Connect a real device wirelessly |
--emulator | Launch an AVD inside Android Emulator. |
For more details on the usage of the connect
subcommand, please refer to this doc.
This subcommand allows you to list all connected devices and installed AVDs.
npx @nightwatch/mobile-helper android list [flags]
Flag | Description |
---|---|
--device | Show a list of all the connected real devices and AVDs |
--avd | Show a list of all the currently installed AVDs |
For more details on the usage of the list
subcommand, please refer to this doc.
This subcommand allows you to install a new system-image, create a new AVD or install an app to a target AVD/device.
npx @nightwatch/mobile-helper android install [flags]
Flag | Description |
---|---|
--app | Install an APK on a real device or an AVD |
--avd | Create a new AVD |
--system-image | Install a new system-image |
For more details on the usage of the install
subcommand, please refer to this doc.
This subcommand allows you to uninstall a system-image, delete an AVD, or uninstall an app from a target device.
npx @nightwatch/mobile-helper android uninstall [flags]
Flag | Description |
---|---|
--app | Uninstall an app from a real device or an AVD |
--avd | Delete an AVD |
--system-image | Uninstall a system-image |
For more details on the usage of the uninstall
subcommand, please refer to this doc.
Run commands with major Android SDK tools/binaries directly from a single CLI without the need to locate and then run the binaries manually.
Syntax
npx @nightwatch/mobile-helper android.<binary_name> [args]
Currently supported binaries: adb
, avdmanager
, sdkmanager
and emulator
.
adb
:
npx @nightwatch/mobile-helper android.adb devices
npx @nightwatch/mobile-helper android.emulator @nightwatch-android-11
npx @nightwatch/mobile-helper android.sdkmanager --list_installed
npx @nightwatch/mobile-helper android.avdmanager list avd
Check the following docs to know more about the usage of the above mentioned binaries:
FAQs
Easily setup all the requirements needed to get started with mobile-web testing using Nightwatch.
The npm package @nightwatch/mobile-helper receives a total of 2,950 weekly downloads. As such, @nightwatch/mobile-helper popularity was classified as popular.
We found that @nightwatch/mobile-helper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.