create-wdio 7.0.2 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,19 +17,26 @@ If you have questions or need help, please ask in our [Gitter Support Chat](http
|
|
|
17
17
|
</p>
|
|
18
18
|
|
|
19
19
|
## Usage
|
|
20
|
+
|
|
20
21
|
To install a WebdriverIO project, you may choose one of the following methods:
|
|
21
22
|
|
|
23
|
+
#### npx
|
|
24
|
+
|
|
22
25
|
```sh
|
|
23
26
|
npx create-wdio ./e2e
|
|
24
27
|
```
|
|
25
28
|
|
|
26
|
-
_
|
|
29
|
+
_[`npx`](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) is a package runner tool that comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f)_
|
|
30
|
+
|
|
31
|
+
#### npm
|
|
27
32
|
|
|
28
33
|
```sh
|
|
29
34
|
npm init wdio ./e2e
|
|
30
35
|
```
|
|
31
36
|
|
|
32
|
-
_`npm init <initializer>` is available in npm 6+_
|
|
37
|
+
_[`npm init <initializer>`](https://docs.npmjs.com/cli/v7/commands/npm-init) is available in npm 6+_
|
|
38
|
+
|
|
39
|
+
#### yarn
|
|
33
40
|
|
|
34
41
|
```sh
|
|
35
42
|
yarn create wdio ./e2e
|
|
@@ -37,9 +44,11 @@ yarn create wdio ./e2e
|
|
|
37
44
|
|
|
38
45
|
_[`yarn create <starter-kit-package>`](https://yarnpkg.com/lang/en/docs/cli/create/) is available in Yarn 0.25+_
|
|
39
46
|
|
|
40
|
-
|
|
47
|
+
|
|
48
|
+
It will create a directory called `e2e` inside the current folder.
|
|
41
49
|
Then it will run the configuration wizard that will help you setup your framework.
|
|
42
50
|
|
|
51
|
+
|
|
43
52
|
## Supported Options
|
|
44
53
|
|
|
45
54
|
You can pass the following command line flags to modify the bootstrap mechanism:
|