Skip to main content
No Result Found
Connect & Get help from fellow developers on our Discord community. Ask the CommunityAsk the Community

Installation guide

This guide will walk you through installing the extension from the VS Code Marketplace, verifying the installation, and signing in to your BrowserStack account.

The setup process has three main steps:

Install from the Marketplace

You can install Test Companion directly from the Visual Studio Code Marketplace. We recommend using the Extensions view, as it is the fastest method.

Use the Extensions view

This is the simplest way to find and install extensions from within VS Code.

  1. Open the Extensions view by clicking the icon in your Activity Bar (the primary sidebar on the left).
    • Use keyboard shortcut: Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS).

    Open the extension view in VS code

  2. In the search bar, type Test Companion.

    Search for test companion in the extension view

  3. Find the extension in the results list, which will be published by BrowserStack.
  4. Click the blue Install button.

Use the Command Palette

If you prefer using the Command Palette:

  1. Open the Command Palette using the following keyboard shortcut:
    • Windows/Linux: Ctrl+Shift+P
    • macOS: Cmd+Shift+P
  2. Type Install Extensions and select the Extensions: Install Extensions command from the list.

    Search for test companion in the command pallete

  3. A search bar will appear. Type Test Companion and press Enter.
  4. Select the extension from the results and click Install.

    Search for test companion in the extension view

Verify the Installation

Once installed, you can verify that Test Companion is active in two ways.

Method 1: Check the activity bar

The fastest way to check is to look for the Test Companion icon in the VS Code Activity Bar (the primary sidebar on the left).

Method 2: Check the Extensions list

You can also confirm the installation in your list of extensions.

  1. Navigate to the Extensions view:
    • Click the Extensions icon in the Activity Bar.
    • Or, use the Command Palette (Ctrl+Shift+P) and type View: Extensions.
  2. In the search bar for your Installed extensions, type Test Companion.
  3. If the installation was successful, it will appear in the list.

To leverage AI Agents for Test Companion, enable BrowserStack AI in your account settings. For further details, refer to our comprehensive documentation on activating AI preferences.

Sign in to BrowserStack

The final step is to connect the extension to your BrowserStack account.

  1. Click the Test Companion icon in the Activity Bar to open the Test Companion panel.

    Select the test companion icon in the activity panel

  2. In the panel, click the Sign in with BrowserStack button.
  3. Your default web browser will open, asking you to authorize the extension.
  4. Follow the prompts to sign in. If you do not have an account, you can create one here.

After you sign in, your browser will redirect you back to VS Code. The Test Companion panel will now show your user information and be ready for use.

You are all set! Congratulations, Test Companion is now installed and configured.

You can start exploring what’s next:

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle