Commit 6fd7fa8 1 parent d125f0b commit 6fd7fa8 Copy full SHA for 6fd7fa8
File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ CHROMEDRIVER_VERSION=107.0.5304.62 npm install appium-chromedriver
41
41
## Custom binaries url
42
42
43
43
If you want Chromedriver to be downloaded from another CDN, which differs from the
44
- default one http ://chromedriver.storage.googleapis.com , then either set the npm config property ` chromedriver_cdnurl ` :
44
+ default one https ://chromedriver.storage.googleapis.com , then either set the npm config property ` chromedriver_cdnurl ` :
45
45
46
46
``` bash
47
47
npm install appium-chromedriver --chromedriver_cdnurl=http://npm.taobao.org/mirrors/chromedriver
@@ -59,6 +59,11 @@ Or set the new URL to `CHROMEDRIVER_CDNURL` environment variable:
59
59
CHROMEDRIVER_CDNURL=http://npm.taobao.org/mirrors/chromedriver npm install appium-chromedriver
60
60
```
61
61
62
+ If you want automatic chromedrivers download feature to work with a custom CDN URL then make sure
63
+ the server returns a proper list of stored drivers in response to requests having
64
+ ` Accept: application/xml ` header. An example XML could be retrieved from the original URL using
65
+ ` curl -H 'Accept: application/xml' https://chromedriver.storage.googleapis.com ` command.
66
+
62
67
## Usage
63
68
64
69
``` js
@@ -120,6 +125,6 @@ npm run lint
120
125
### Run Tests
121
126
122
127
``` bash
123
- npm test
124
- npm e2e-test
128
+ npm run test
129
+ npm run e2e-test
125
130
```
You can’t perform that action at this time.
0 commit comments