Skip to content

Commit e5e6d55

Browse files
alliv8francisf
authored andcommitted
Changing language from node to js
npmjs doesn't recognise node as a language. Changing to js.
1 parent 05ae30c commit e5e6d55

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ npm install browserstack-local
1212

1313
## Example
1414

15-
```node
15+
```js
1616
var browserstack = require('browserstack-local');
1717

1818
//creates an instance of Local
@@ -42,31 +42,31 @@ Apart from the key, all other BrowserStack Local modifiers are optional. For the
4242

4343
#### Verbose Logging
4444
To enable verbose logging -
45-
```node
45+
```js
4646
bs_local_args = { 'key': '<browserstack-accesskey>', 'verbose': 'true' }
4747
```
4848

4949
#### Folder Testing
5050
To test local folder rather internal server, provide path to folder as value of this option -
51-
```node
51+
```js
5252
bs_local_args = { 'key': '<browserstack-accesskey>', 'f': '/my/awesome/folder' }
5353
```
5454

5555
#### Force Start
5656
To kill other running Browserstack Local instances -
57-
```node
57+
```js
5858
bs_local_args = { 'key': '<browserstack-accesskey>', 'force': 'true' }
5959
```
6060

6161
#### Only Automate
6262
To disable local testing for Live and Screenshots, and enable only Automate -
63-
```node
63+
```js
6464
bs_local_args = { 'key': '<browserstack-accesskey>', 'onlyAutomate': 'true' }
6565
```
6666

6767
#### Force Local
6868
To route all traffic via local(your) machine -
69-
```node
69+
```js
7070
bs_local_args = { 'key': '<browserstack-accesskey>', 'forceLocal': 'true' }
7171
```
7272

@@ -78,13 +78,13 @@ To use a proxy for local testing -
7878
* proxyUser: Username for connecting to proxy (Basic Auth Only)
7979
* proxyPass: Password for USERNAME, will be ignored if USERNAME is empty or not specified
8080

81-
```node
81+
```js
8282
bs_local_args = { 'key': '<browserstack-accesskey>', 'proxyHost': '127.0.0.1', 'proxyPort': '8000', 'proxyUser': 'user', 'proxyPass': 'password' }
8383
```
8484

8585
#### Local Identifier
8686
If doing simultaneous multiple local testing connections, set this uniquely for different processes -
87-
```node
87+
```js
8888
bs_local_args = { 'key': '<browserstack-accesskey>', 'localIdentifier': 'randomstring' }
8989
```
9090

@@ -94,14 +94,14 @@ bs_local_args = { 'key': '<browserstack-accesskey>', 'localIdentifier': 'randoms
9494

9595
By default, BrowserStack local wrappers try downloading and executing the latest version of BrowserStack binary in ~/.browserstack or the present working directory or the tmp folder by order. But you can override these by passing the -binarypath argument.
9696
Path to specify local Binary path -
97-
```node
97+
```js
9898
bs_local_args = { 'key': '<browserstack-accesskey>', 'binarypath': '/browserstack/BrowserStackLocal' }
9999
```
100100

101101
#### Logfile
102102
To save the logs to the file while running with the '-v' argument, you can specify the path of the file. By default the logs are saved in the local.log file in the present woring directory.
103103
To specify the path to file where the logs will be saved -
104-
```node
104+
```js
105105
bs_local_args = { 'key': '<browserstack-accesskey>', 'verbose': 'true', 'logFile': '/browserstack/logs.txt' }
106106
```
107107

0 commit comments

Comments
 (0)