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-requisitesTo use our VSCode extension you will need:
See the LaVague installation instructions for more details! 🏄♀️ Getting startedLet's now take a look at how to get started with the LaVague VSCode extension. Opening a new project
This will open a new LaVague Jupyter notebook file in VSCode with some pre-filled cells of code. Adding your URL and instructionYou can add the URL you wish to generate automation code for in the first cell block. 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:
Your automation code will populate the next cell. By running this cell, we can now see the result of our automation code in our VSCode browser window: TipsNote, it is possible to include a sequence of actions in one instruction as follows:
⚠️ Also note the extension always expects the cell following the cell with our If you don't have an empty cell, you will see the following error: Therefore, to run a new command now, we can move the previous generated code above our 🙋 Get supportYou 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! |