forked from annv/MinigameTest
minigame
This commit is contained in:
27
node_modules/@testim/chrome-version/readme.MD
generated
vendored
Normal file
27
node_modules/@testim/chrome-version/readme.MD
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
# chrome-version
|
||||
|
||||
[](https://github.com/testimio/chrome-version/actions/workflows/ci.yml)
|
||||
|
||||
Finds the version of Chrome (or Chromium) that is installed on your machine.
|
||||
|
||||
## Installation
|
||||
```sh
|
||||
npm install @testim/chrome-version
|
||||
```
|
||||
|
||||
## Use
|
||||
```js
|
||||
(async () => {
|
||||
const { getChromeVersion } = require('@testim/chrome-version');
|
||||
const includeChromium = false; // NOTE: set to true to also search for Chromium
|
||||
const version = await getChromeVersion(includeChromium);
|
||||
console.log(version);
|
||||
})();
|
||||
```
|
||||
|
||||
## Testing
|
||||
```sh
|
||||
npm test
|
||||
```
|
||||
|
||||
* If no version of chrome is installed on your machine `getChromeVersion` will return null.
|
||||
Reference in New Issue
Block a user