Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

appium-chromium-driver

Package Overview
Dependencies
Maintainers
0
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appium-chromium-driver - npm Package Compare versions

Comparing version 1.3.57 to 1.4.0

scripts/install-chromedriver.mjs

12

package.json
{
"name": "appium-chromium-driver",
"version": "1.3.57",
"version": "1.4.0",
"description": "Appium 2.x driver for Chromium-based browsers that work with Chromedriver",

@@ -36,3 +36,4 @@ "keywords": [

"LICENSE",
"npm-shrinkwrap.json"
"npm-shrinkwrap.json",
"scripts"
],

@@ -60,3 +61,3 @@ "scripts": {

"dependencies": {
"appium-chromedriver": "6.1.0",
"appium-chromedriver": "^6.1.0",
"bluebird": "3.7.2",

@@ -85,3 +86,6 @@ "lodash": "4.17.21"

],
"mainClass": "ChromiumDriver"
"mainClass": "ChromiumDriver",
"scripts": {
"install-chromedriver": "./scripts/install-chromedriver.mjs"
}
},

@@ -88,0 +92,0 @@ "typedoc": {

@@ -80,2 +80,26 @@ # appium-chromium-driver

## Scripts
### install-chromedriver
This script is used to install the given or latest stable version of chromedriver (113+) from
[Chrome for testing](https://github.com/GoogleChromeLabs/chrome-for-testing)
with `appium driver run chromium install-chromedriver`.
Please read [Version selection](https://developer.chrome.com/docs/chromedriver/downloads/version-selection) document
to find a proper chromedriver manually that is good for your current browser.
Below environment arguments are available:
- `CHROMEDRIVER_EXECUTABLE_DIR`
- Let the command to download chromedrivers in the given directory. Defaults to `node_modules/appium-chromedriver/chromedriver` in `appium-chromium-driver` package.
- i.e.
- macOS/Linux: `CHROMEDRIVER_EXECUTABLE_DIR=/path/to/dir appium driver run chromium install-chromedriver`
- Windows: `$env:CHROMEDRIVER_EXECUTABLE_DIR='C:\path\to\folder'; appium driver run chromium install-chromedriver; Remove-Item Env:\CHROMEDRIVER_EXECUTABLE_DIR`
- `CHROMEDRIVER_VERSION`
- Let the command download a specific version.
- i.e.
- macOS/Linux: `CHROMEDRIVER_VERSION=131.0.6778.3 appium driver run chromium install-chromedriver`
- Windows: `$env:CHROMEDRIVER_VERSION='131.0.6778.3'; appium driver run chromium install-chromedriver; Remove-Item Env:\CHROMEDRIVER_VERSION`
- `CHROMELABS_URL`
- Let the command get the list of available chromedrivers from the given mirror instead of the default one.
## Contributing

@@ -82,0 +106,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc