Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>lavagueNew to Visual Studio Code? Get it now.
lavague

lavague

La Vague AI

|
141 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
LaVague Logo

Welcome to the LaVague VSCode Extension

🪄 Copilot for automating automation

🌊 What is LaVague?

The LaVague VSCode extension is an open-source project designed to automate automation for devs!

It enables you to leverage AI to turn your natural language instructions into Python code for automation leveraging Selenium.

Behind the scenes, we use advanced AI techniques (RAG, Few-shot learning, Chain of Thought) to enhance performance - check out our documentation to find out more!

🔧 Pre-requisites

To use our VSCode extension you will need:

  • A version of VSCode >= 1.80

  • The Jupyter notebooks VSCode extension Jupyter extension

  • You will also need to install the chrome webdriver & LaVague. You can do this by running our setup.sh LaVague installation script available here

See the LaVague installation instructions for more details!

🏄‍♀️ Getting started

Let's now take a look at how to get started with the LaVague VSCode extension.

Opening a new project

  • Firstly, you'll need to download the LaVague extension from VSCode marketplace.

  • Now, you can open your first LaVague project. You can do this by opening the VSCode Command Palette with Ctrl+Shift+P

  • Type or search and find the 'LaVague: New project' command open new project

This will open a new LaVague Jupyter notebook file in VSCode with some pre-filled cells of code. initial browser

Adding your URL and instruction

You can add the URL you wish to generate automation code for in the first cell block.

modify URL

If we now run this first block of code, we can see a new VSCode window opens displaying our target site.

We're now ready to add an instruction for the action we'd like to automate:

add instruction

Note you will need to have an OpenAI API key set in your notebook environment. If you don't have yours set in this environment, you can add the following code into a cell:

import os
os.environ['OPENAI_API_Key'] = ''

Your automation code will populate the next cell.

generated code

By running this cell, we can now see the result of our automation code in our VSCode browser window:

updated browser

Tips

Note, it is possible to include a sequence of actions in one instruction as follows:

%lavague_exec "click on the files and versions tab, then scroll down to the bottom of the page"

⚠️ Also note the extension always expects the cell following the cell with our %lavague_exec command to be empty so it can populate it with the generated automation code.

If you don't have an empty cell, you will see the following error:

empty cell warning

Therefore, to run a new command now, we can move the previous generated code above our %lavague_exec command:

layout

🙋 Get support

You can report a bug by opening a new issue on our GitHub repo. We regularly track bug reports and try to respond as soon as possible!

You can also chat with us on our Discord server!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft