Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@appium/execute-driver-plugin
Advanced tools
Plugin for batching and executing driver commands with Appiums
Appium plugin for running a driver script in a child process
This plugin adds a new driver command that allows executing scripts in a child process. Currently,
the only supported driver type is webdriverio
, therefore the script must also be written in JS.
Running a driver script in a child process adds a degree of parallelisation, which may result in faster test execution.
appium plugin install execute-driver
The plugin must be explicitly activated when launching the Appium server. Since the input script can be arbitrary JavaScript, this is an insecure feature, and must also be explicitly enabled:
appium --use-plugins=execute-driver --allow-insecure=execute_driver_script
const script = `return await driver.getTimeouts();`;
const {result, logs} = await driver.executeDriverScript(script);
// 'result' contains the data returned by the script (in this case, the response to 'getTimeouts')
// 'logs' contains everything logged to console during script execution
Refer to your Appium client documentation for the exact syntax of this command.
Apache-2.0
FAQs
Plugin for batching and executing driver commands with Appiums
The npm package @appium/execute-driver-plugin receives a total of 10,659 weekly downloads. As such, @appium/execute-driver-plugin popularity was classified as popular.
We found that @appium/execute-driver-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.