File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
src/tools/sdk-utils/bstack Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,18 @@ Alternative setup for Gradle users:
9999${ GRADLE_SETUP_INSTRUCTIONS } `;
100100}
101101
102+ function getPythonSDKInstructions (
103+ username : string ,
104+ accessKey : string ,
105+ ) : string {
106+ return `---STEP---
107+ Install BrowserStack Python SDK and setup:
108+ \`\`\`bash
109+ pip install browserstack-sdk
110+ browserstack-sdk setup --username "${ username } " --key "${ accessKey } "
111+ \`\`\`` ;
112+ }
113+
102114// Main function to get SDK setup commands based on language and framework
103115export function getSDKPrefixCommand (
104116 language : SDKSupportedLanguage ,
@@ -112,7 +124,8 @@ export function getSDKPrefixCommand(
112124
113125 case "java" :
114126 return getJavaSDKInstructions ( framework , username , accessKey ) ;
115-
127+ case "python" :
128+ return getPythonSDKInstructions ( username , accessKey ) ;
116129 default :
117130 return "" ;
118131 }
You can’t perform that action at this time.
0 commit comments