File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -33,27 +33,34 @@ browserstack-sdk python <path-to-test-file>
3333\`\`\`
3434` ;
3535
36+ const ins =
37+ '<argLine>-javaagent:"${com.browserstack:browserstack-java-sdk:jar}"</argLine>' ;
3638
3739const javaInstructions = `
38- Add the following dependency to your pom.xml:
40+ Add the following dependency to your \` pom.xml\` :
3941\`\`\`xml
4042<dependency>
4143 <groupId>com.browserstack</groupId>
4244 <artifactId>browserstack-java-sdk</artifactId>
4345 <version>LATEST</version>
4446 <scope>compile</scope>
4547</dependency>
48+
49+ ${ ins }
4650\`\`\`
4751
48- For Gradle projects, add to build.gradle:
52+ For Gradle projects, add to \` build.gradle\` :
4953\`\`\`groovy
5054dependencies {
5155 implementation 'com.browserstack:browserstack-java-sdk:LATEST'
5256}
5357\`\`\`
5458
55- Inform user to export BROWSERSTACK_USERNAME=${ config . browserstackUsername } and
56- BROWSERSTACK_ACCESS_KEY=${ config . browserstackAccessKey } as environment variables.
59+ Inform user to export:
60+ \`\`\`bash
61+ export BROWSERSTACK_USERNAME=${ config . browserstackUsername }
62+ export BROWSERSTACK_ACCESS_KEY=${ config . browserstackAccessKey }
63+ \`\`\`
5764
5865Run tests using:
5966\`\`\`bash
You can’t perform that action at this time.
0 commit comments