appium-chromium-driver
Advanced tools
Comparing version 1.3.57 to 1.4.0
{ | ||
"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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
410174
18
4755
136
2
+ Added@babel/code-frame@7.25.9(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/highlight@7.25.9(transitive)
+ Addedappium-chromedriver@6.1.1(transitive)
- Removed@babel/code-frame@7.25.7(transitive)
- Removed@babel/helper-validator-identifier@7.25.7(transitive)
- Removed@babel/highlight@7.25.7(transitive)
- Removedappium-chromedriver@6.1.0(transitive)
Updatedappium-chromedriver@^6.1.0