• Website
  • Server status
  • API documentation
  • Blog
Telegram Icon Community
EN
Русский
Português
English
中文 (中国)
Tiếng Việt
Sign in Start free
  • Website
  • Server status
  • API documentation
  • Blog
  • Community
  • English (US) Русский Português English 中文 (中国) 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

Try a different keyword or check for typos. If you still need help, contact support.

  • Getting started with Multilogin 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
  • Explore features
  • 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 October 18th, 2026 )

Updated on October 18th, 2026

Use this guide to prepare your computer for Multilogin automation scripts. First choose whether you need to automate browser profiles or Android cloud phones, then install an IDE and the required language/runtime, use the matching Multilogin reference example, and run the script.

➡️ For browser automation, use Selenium, Puppeteer, or Playwright. For native Android app automation on cloud phones, use ADB or Appium.

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
 

Before you start

For the Python + Selenium example in this guide, make sure you have:

  • A Multilogin browser profile
  • Access to automation on your plan
  • Python installed
  • An IDE such as Visual Studio Code
  • A valid Multilogin automation token
  • The Multilogin desktop app running for the example workflow

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 what you want to automate

Pick the tool based on the task:

  • Browser interactions: Selenium, Puppeteer, or Playwright
  • Android app actions on cloud phones: ADB or Appium
  • Create, start, stop, or manage profiles: Multilogin API or CLI
  • AI-agent workflows: use a supported Multilogin agent tool

This guide uses Python and Selenium as the example setup for browser automation.

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 app is launched, 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

Install Python from the official Python source for your operating system, then confirm it works:

python --version

Or, depending on your system:

python3 --version

Then install the Python extension in VS Code.

  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 8: run the script

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

Zight 2025-11-17 at 21.27.25

Expected result: the script runs from your IDE and starts the selected Multilogin browser profile. If the reference script includes browser actions, those actions run inside that profile.

Once the example works, adjust the script for your workflow or switch to the framework that fits your browser automation setup. You can refer to the options of our API in the corresponding documentation: How to navigate Multilogin API documentation with Postman. For cloud-phone workflows, continue with the ADB or Appium guides instead.

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

 

Was this article helpful?

Give feedback about this article

In this article

  • Before you start
  • Step 1: download and install IDE client
  • Step 2: choose what you want to automate
  • 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 8: 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

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 choose the best automation framework
  • Web scraping with Selenium 101
  • How to automate a login on a website
  • How to retrieve API tokens with Python

Mobile

  • Cloud phone
  • Virtual phone
  • Remote phone
  • Phone farming
  • Cloud cell phone
  • Cloud Android emulation
  • AI Quick Action Automation

Multi-accounting

  • Multiple Instagram accounts
  • Multiple Tiktok accounts
  • Multiple Reddit accounts
  • Multiple Telegram accounts
  • Multiple Facebook accounts
  • Multiple Youtube accounts
  • Multiple LinkedIn accounts

COMPARISON

  • Multilogin vs. MoreLogin
  • Multilogin vs. FlashID
  • Multilogin vs. DuoPlus
  • Multilogin vs. VMOS cloud
  • Multilogin vs. Octo Browser
  • Multilogin vs. AdsPower
  • Multilogin vs. GoLogin

Platform proxies

  • Mobile proxy
  • Reddit proxy
  • Instagram proxy
  • TikTok proxy
  • Facebook proxy
  • Youtube proxy
  • LinkedIn proxy

USECASES

  • Cloud phones for Tiktok
  • Cloud phones for Instagram
  • Cloud phones for Reddit
  • Cloud phones for Facebook
  • Cloud phones for Youtube

RESOURCES

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

FREE TOOLS

  • YouTube views to money calculator
  • Instagram money calculator
  • Online URL to text converter
  • Google local SERP checker
  • Random address generator

GET IN TOUCH

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

© 2026 Multilogin. All rights reserved.

  • Privacy policy
  • Terms of service
  • Cookie policy
Multilogin watermark
  • MOBILE

    • Cloud phone
    • Virtual phone
    • Remote phone
    • Phone farming
    • Cloud cell phone
    • Cloud Android emulation
    • AI Quick Action Automation
  • MULTI-ACCOUNTING

    • Multiple Instagram accounts
    • Multiple Tiktok accounts
    • Multiple Reddit accounts
    • Multiple Telegram accounts
    • Multiple Facebook accounts
    • Multiple Youtube accounts
    • Multiple LinkedIn accounts
  • COMPARISON

    • Multilogin vs. MoreLogin
    • Multilogin vs. FlashID
    • Multilogin vs. DuoPlus
    • Multilogin vs. VMOS cloud
    • Multilogin vs. Octo Browser
    • Multilogin vs. AdsPower
    • Multilogin vs. GoLogin
  • PLATFORM PROXIES

    • Mobile proxy
    • Reddit proxy
    • Instagram proxy
    • TikTok proxy
    • Facebook proxy
    • Youtube proxy
    • LinkedIn proxy
  • USECASES

    • Cloud phones for Tiktok
    • Cloud phones for Instagram
    • Cloud phones for Reddit
    • Cloud phones for Facebook
    • Cloud phones for Youtube
  • RESOURCES

    • Knowledge base
    • API documentation
    • Glossary
    • Academy
    • Blog
    • Server status
    • Release notes
  • FREE TOOLS

    • YouTube views to money calculator
    • Instagram money calculator
    • Online URL to text converter
    • Google local SERP checker
    • Random address generator
  • GET IN TOUCH

    • Contact 24/7 support
      [email protected]
    • Referral program
    • Affiliate program
    • Pricing page
    • Careers
GDPR Compliant
  • Privacy policy
  • Terms of service
  • Cookie policy

© 2026 Multilogin. All rights reserved.

Expand