You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-19Lines changed: 29 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,14 @@
1
-
# WebdriverIO Browserstack Service
1
+
# Deprecation Note
2
+
3
+
> The changes done as a part of this fork have now been merged into [@wdio/browserstack-service](https://www.npmjs.com/package/@wdio/browserstack-service), so we will be deprecating this package. Please install the service using:
4
+
5
+
```sh
6
+
npm install @wdio/browserstack-service --save-dev
7
+
```
8
+
9
+
---
10
+
11
+
<s># WebdriverIO Browserstack Service
2
12
3
13
> The official BrowserStack WebdriverIO service that integrates your WebdriverIO test suite with BrowserStack.
4
14
@@ -64,15 +74,15 @@ List of available local testing modifiers to be passed as opts:
64
74
If doing simultaneous multiple local testing connections, set this uniquely for different processes -
65
75
66
76
```js
67
-
opts = { localIdentifier:"randomstring" };
77
+
opts = { localIdentifier:'randomstring' };
68
78
```
69
79
70
80
#### Verbose Logging
71
81
72
82
To enable verbose logging -
73
83
74
84
```js
75
-
opts = { verbose:"true" };
85
+
opts = { verbose:'true' };
76
86
```
77
87
78
88
Note - Possible values for 'verbose' modifier are '1', '2', '3' and 'true'
@@ -82,31 +92,31 @@ Note - Possible values for 'verbose' modifier are '1', '2', '3' and 'true'
82
92
To route all traffic via local(your) machine -
83
93
84
94
```js
85
-
opts = { forceLocal:"true" };
95
+
opts = { forceLocal:'true' };
86
96
```
87
97
88
98
#### Folder Testing
89
99
90
100
To test local folder rather internal server, provide path to folder as value of this option -
91
101
92
102
```js
93
-
opts = { f:"/my/awesome/folder" };
103
+
opts = { f:'/my/awesome/folder' };
94
104
```
95
105
96
106
#### Force Start
97
107
98
108
To kill other running Browserstack Local instances -
99
109
100
110
```js
101
-
opts = { force:"true" };
111
+
opts = { force:'true' };
102
112
```
103
113
104
114
#### Only Automate
105
115
106
116
To disable local testing for Live and Screenshots, and enable only Automate -
107
117
108
118
```js
109
-
opts = { onlyAutomate:"true" };
119
+
opts = { onlyAutomate:'true' };
110
120
```
111
121
112
122
#### Proxy
@@ -120,10 +130,10 @@ To use a proxy for local testing -
120
130
121
131
```js
122
132
opts = {
123
-
proxyHost:"127.0.0.1",
124
-
proxyPort:"8000",
125
-
proxyUser:"user",
126
-
proxyPass:"password",
133
+
proxyHost:'127.0.0.1',
134
+
proxyPort:'8000',
135
+
proxyUser:'user',
136
+
proxyPass:'password',
127
137
};
128
138
```
129
139
@@ -138,10 +148,10 @@ To use local proxy in local testing -
138
148
139
149
```js
140
150
opts = {
141
-
localProxyHost:"127.0.0.1",
142
-
localProxyPort:"8000",
143
-
localProxyUser:"user",
144
-
localProxyPass:"password",
151
+
localProxyHost:'127.0.0.1',
152
+
localProxyPort:'8000',
153
+
localProxyUser:'user',
154
+
localProxyPass:'password',
145
155
};
146
156
```
147
157
@@ -152,7 +162,7 @@ To use PAC (Proxy Auto-Configuration) in local testing -
0 commit comments