This extension simplifies integrating the BrowserStack SDK with Python-based frameworks. It helps create a browserstack.yml configuration file and sets up everything needed for seamless BrowserStack integration in your projects.
Follow these steps to clone the repository, set up the extension, and start using it:
Begin by cloning this repository to your local machine using the following command:
git clone <repository-url>
Replace with the actual URL of this repository.
Navigate to the cloned repository's folder and install the required dependencies using npm:
cd <repository-folder>
npm install
This installs all the necessary packages for the extension.
Compile the extension's TypeScript code to JavaScript. Run the following command:
npm run compile
This ensures that all TypeScript files are properly transpiled.
To launch the extension:
Press Fn + F5 (or just F5 on some systems) to start the debugger in VS Code.
In the debugging menu, select any available debugger (e.g., "Extension"). A new VS Code window will open, running your extension in debug mode.
In the newly opened VS Code window:
Click on File > Open Folder.
Select a folder containing your Python code files.
Note: Open the folder such that it directly contains the code files (avoid navigating using the terminal cd command after opening).
Press the following keys to open the Command Palette in VS Code:
On macOS: Cmd + Shift + P
On Windows/Linux: Ctrl + Shift + P
In the Command Palette, search for the following command:
Create BrowserStack Configuration
Select the command to initialize the BrowserStack SDK configuration process. Follow the on-screen prompts to set up the browserstack.yml file and complete the setup.
Automates the creation of browserstack.yml files.
Simplifies SDK installation for Python frameworks.
Helps you quickly integrate with BrowserStack products.
Node.js: Ensure you have Node.js installed on your system.
VS Code: Install Visual Studio Code to use this extension.