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
#starts the Local instance with the required arguments
37
+
$bs_local->start(bs_local_args);
38
+
39
+
#check if BrowserStack local instance is running
40
+
echo $bs_local->isRunning();
41
+
42
+
#stop the Local instance
43
+
$bs_local->stop();
44
+
45
+
```
46
+
47
+
## Arguments
48
+
49
+
Apart from the key, all other BrowserStack Local modifiers are optional. For the full list of modifiers, refer [BrowserStack Local modifiers](https://www.browserstack.com/local-testing#modifiers). For examples, refer below -
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.
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.
111
+
To specify the path to file where the logs will be saved -
Testing is possible using [PHPUnit](https://phpunit.de/).
55
119
56
-
To run the tests, run the command:
57
-
`phpunit`
120
+
To run the tests, run the command: `phpunit`
121
+
122
+
### Reporting bugs
123
+
124
+
You can submit bug reports either in the Github issue tracker.
125
+
126
+
Before submitting an issue please check if there is already an existing issue. If there is, please add any additional information give it a "+1" in the comments.
127
+
128
+
When submitting an issue please describe the issue clearly, including how to reproduce the bug, which situations it appears in, what you expect to happen, what actually happens, and what platform (operating system and version) you are using.
129
+
130
+
### Pull Requests
58
131
132
+
We love pull requests! We are very happy to work with you to get your changes merged in, however, please keep the following in mind.
59
133
134
+
* Adhere to the coding conventions you see in the surrounding code.
135
+
* Include tests, and make sure all tests pass.
136
+
* Before submitting a pull-request, clean up the git history by going over your commits and squashing together minor changes and fixes into the corresponding commits. You can do this using the interactive rebase command.
0 commit comments