Skip to content

Commit 6fd7fa8

Browse files
docs: Add a note about CDN URL (#279)
1 parent d125f0b commit 6fd7fa8

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CHROMEDRIVER_VERSION=107.0.5304.62 npm install appium-chromedriver
4141
## Custom binaries url
4242

4343
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`:
4545

4646
```bash
4747
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:
5959
CHROMEDRIVER_CDNURL=http://npm.taobao.org/mirrors/chromedriver npm install appium-chromedriver
6060
```
6161

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+
6267
## Usage
6368

6469
```js
@@ -120,6 +125,6 @@ npm run lint
120125
### Run Tests
121126

122127
```bash
123-
npm test
124-
npm e2e-test
128+
npm run test
129+
npm run e2e-test
125130
```

0 commit comments

Comments
 (0)