-
Notifications
You must be signed in to change notification settings - Fork 16
enable local management using Java SDK #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
enable local management using Java SDK #9
Conversation
| b. To run local test session. | ||
| - Ensure that you have set `browserstackLocal: true` in your `browserstack.yml` config. | ||
| ``` | ||
| mvn exec:exec -Dexec.executable="java" -Dexec.classpathScope=test -Dexec.args="-cp %classpath -javaagent:/path/to/.m2/repository/browserstack-java-sdk/jar com.browserstack.app.JavaLocalSample" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a sample command, for windows and osx as mentioned in docs.
Both for single test and local test session or let's document exec plugin command
| <artifactId>json-simple</artifactId> | ||
| <version>1.1.1</version> | ||
| <artifactId>browserstack-java-sdk</artifactId> | ||
| <version>LATEST</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 1.0.8 version as we are using it below in exec plugin.
No description provided.