• Website
  • Server status
  • API documentation
  • Blog
Telegram Icon Community
EN
English
Português
Русский
中文 (中国)
Tiếng Việt
Log in Try for €1.99
  • Website
  • Server status
  • API documentation
  • Blog
  • Telegram Icon Community
  • English (US)
    English
    Português
    Русский
    中文 (中国)
    Tiếng Việt
Log in View Plans

Puppeteer, Selenium, and Playwright

Control browser profiles programmatically with Puppeteer, Selenium, and Playwright. Automate web interactions, scraping, and profile management at scale.

search icon

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting started with Multilogin X automation
  • Basic automation with CLI
  • Low-code automation with Postman
  • Script runner & predefined scripts
  • Puppeteer, Selenium, and Playwright
  • Custom Python scripts
  • Quick solutions with Developer Tools
  • External automation tools
  • Home
  • breadcrumb separator bar
  • Multilogin X (latest)
  • breadcrumb separator bar
  • Efficient task automation with API
  • breadcrumb separator bar
  • Puppeteer, Selenium, and Playwright
  • breadcrumb separator bar
  • Getting started with automation scripting

Getting started with automation scripting

Written by Anton L ( Updated on November 20th, 2025 )

Updated on November 20th, 2025

You can write and edit scripts via any text editor, and run them via Terminal/Command prompt. But we recommend making your life simpler and using IDE for that. IDE (integrated development environment) is a software used for writing the scripts from scratch. They have various features to make coding convenient, such as error detection and running the script without leaving the client. 

IDE examples: Visual Studio Code, PyCharm, WebStorm, Xcode

IDE choice completely depends on your preference. You can always switch to the other editor.

If you want to launch the script via terminal (or Command Prompt/Powershell in Windows), you have to refer to the documentation of the programming language your script has been written in. For example, there are official docs related to Python usage and installation:

  • Windows: Using Python on Windows
  • macOS: Using Python on macOS
  • Linux: Using Python on Unix Platforms – On Linux
 

Step 1: download and install IDE client

We need to download a client for editing and running our code. This article uses Visual Studio Code as a reference. 

  1. Go to Visual Studio Code 
  2. Click “Download for <your OS>”
  3. Open the installation file and follow the instructions

Keep in mind, that the steps for each OS are different. VS Code knowledge base has more info about installation for each OS:

  • Windows: Visual Studio Code on Windows
  • macOS: Visual Studio Code on macOS
  • Linux: Visual Studio Code on Linux
 

Step 2: choose the language and the automation tool 

You need to decide which programming tool and automation tool to use. If you are not sure what to pick, read the following article: How to choose the best automation framework.

The instructions will use Python and Selenium as reference.

Step 3: open IDE and create a new file

If you use VS Code, you will see a welcome screen. Click “New File” button. Enter a file name in the search bar (e.g., script.py). The program will also ask to pick a directory.

Welcome 2025-11-17 at 8.46.26 PM

Step 4: install an interpreter for the language

It is completely different for every IDE. If you use VS Code and Python, follow the steps from the knowledge base: Getting Started with Python in VS Code.

Step 5: use a reference script

Now, when you are ready to start, you need to connect the script to the Multilogin API and define functions for connecting and launching the profile. We have reference scripts, which you can use and adjust for your needs. Follow the steps below:

  1. Make sure the agent is connected, as it makes profile launching possible
  2. Copy and edit the reference script, depending on your automation framework of choice:
    1. Selenium automation example
    2. Puppeteer automation example
    3. Playwright automation example

Step 6: install Python and modules

It depends on IDE, but the steps for VS Code are the following:

  1. Click Extension marketplace button on the left panel
  2. Type “Python” in the search bar
  3. Click “Install” button at the “Python” extension
script.py 2025-11-17 at 9.54.02 PM

Step 7: install modules

  1. Click “Terminal” → “New terminal”
    Zight 2025-11-17 at 21.45.29
  2. In case of Python and our Selenium script, you will need to install requests and selenium modules. Type the following commands:
    pip install selenium
    pip install requests
    script.py 2025-11-17 at 10.04.54 PM
  3. Follow the steps mentioned in the terminal (e.g., it may ask for updating pip installer)

    If there will be issues with running the script, consider using pip3 command instead of pip.

     

Step 7: run the script

Click “Run” → “Run without debugging” (or “Start debugging”)

Zight 2025-11-17 at 21.27.25

The profile start if you follow all steps.

Congratulations! Now you've learned how to run scripts in IDE. You can modify Selenium script for your workflow. You can refer to the options of our API in the corresponding documentation: How to navigate Multilogin API documentation with Postman.

This article includes third-party links that we don’t officially endorse.

 

Was this article helpful?

Give feedback about this article

In this article

  • Step 1: download and install IDE client
  • Step 2: choose the language and the automation tool
  • Step 3: open IDE and create a new file
  • Step 4: install an interpreter for the language
  • Step 5: use a reference script
  • Step 6: install Python and modules
  • Step 7: install modules
  • Step 7: run the script

Multilogin community

Stay informed, share your thoughts, and engage with others!

Telegram Icon Join us on Telegram

Read more on the topic

Blog Post Img

10 Best Datacenter Proxies for Web Scraping (2025 Edition)

Apr 2, 2025 5 min read
Google SERP Img

What is a Google SERP Proxy and Why Should You Care?

Apr 1, 2025 6 min read
UK Proxy Img

What Are Dedicated UK Proxies? Everything You Need to Know

Apr 1, 2025 6 min read
Related Article Title Icon

Related articles

  • How to generate Multilogin automation tokens with Postman
  • How to use Multilogin API as a team member with Postman
  • How to update a Multilogin profile with Postman

ANTIDETECT PLATFORM

  • Antidetect browser
  • Residential proxies
  • Mobile antidetect browser
  • Multi-account management
  • Headless browser
  • Web automation
  • AI Quick Action Automation

MULTI-ACCOUNTING

  • Create multiple Facebook accounts
  • Create multiple Gmail accounts
  • Create multiple LinkedIn accounts
  • Create multiple Amazon accounts
  • Create multiple Onlyfans accounts
  • Create multiple Twitter accounts
  • Create multiple TikTok accounts

GEO PROXIES

  • UK proxy
  • USA proxy
  • Japan proxy
  • India proxy
  • Pakistan proxy
  • China proxy
  • New Zealand proxy

RESOURCES

  • Knowledge base
  • API documentation
  • Glossary
  • Blog
  • Server status
  • Release notes

COMPARISON

  • Multilogin vs. Gologin
  • Multilogin vs. Adspower
  • Multilogin vs. Dolphin Anty
  • Multilogin vs. Incognition
  • Multilogin vs. Octo Browser
  • Multilogin vs. Undetectable
  • Multilogin vs. MoreLogin

PLATFORM PROXIES

  • Mobile proxy
  • Reddit proxy
  • Facebook proxy
  • SOCKS5 proxy
  • Instagram proxy
  • Onlyfans proxy
  • LinkedIn proxy

FREE TOOLS

  • Online URL to text converter

GET IN TOUCH

  • Contact 24/7 support
    [email protected]
  • Contact sales
  • Referral program
  • Affiliate program
  • Pricing page
  • Careers

© 2025 Multilogin. All rights reserved.

  • Privacy policy
  • Terms of service
  • Cookie policy
Multilogin abstract watermark
  • ANTIDETECT PLATFORM

    • Antidetect browser
    • Residential proxies
    • Mobile antidetect browser
    • Multi-account management
    • Headless browser
    • Web automation
    • AI Quick Action Automation
  • MULTI-ACCOUNTING

    • Create multiple Facebook accounts
    • Create multiple Gmail accounts
    • Create multiple LinkedIn accounts
    • Create multiple Amazon accounts
    • Create multiple Onlyfans accounts
    • Create multiple Twitter accounts
    • Create multiple TikTok accounts
  • GEO PROXIES

    • UK proxy
    • USA proxy
    • Japan proxy
    • India proxy
    • Pakistan proxy
    • China proxy
    • New Zealand proxy
  • RESOURCES

    • Knowledge base
    • API documentation
    • Glossary
    • Blog
    • Server status
    • Release notes
  • COMPARISON

    • Multilogin vs. Gologin
    • Multilogin vs. Adspower
    • Multilogin vs. Dolphin Anty
    • Multilogin vs. Incognition
    • Multilogin vs. Octo Browser
    • Multilogin vs. Undetectable
    • Multilogin vs. MoreLogin
  • PLATFORM PROXIES

    • Mobile proxy
    • Reddit proxy
    • Facebook proxy
    • SOCKS5 proxy
    • Instagram proxy
    • Onlyfans proxy
    • LinkedIn proxy
  • FREE TOOLS

    • Online URL to text converter
  • GET IN TOUCH

    • Contact 24/7 support
      [email protected]
    • Contact sales
    • Referral program
    • Affiliate program
    • Pricing page
    • Careers
Multilogin abstract watermark
  • Privacy policy
  • Terms of service
  • Cookie policy

© 2025 Multilogin. All rights reserved.

Expand