• 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

Automating tasks with API

Connect Multilogin 6 with APIs to automate routine operations. Save time and scale your activities without manual intervention.

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.

  • Introduction to Multilogin 6
  • How to use Multilogin 6
    IP masking & proxy solutions
  • Team management & setup
  • Automating tasks with API
  • Migrating to Multilogin X
  • Troubleshooting common issues
  • Home
  • breadcrumb separator bar
  • Multilogin 6
  • breadcrumb separator bar
  • Automating tasks with API
  • breadcrumb separator bar
  • How to use Selenium browser automation in Multilogin 6

How to use Selenium browser automation in Multilogin 6

Written by Marcelo B ( Updated on April 8th, 2025 )

Updated on April 8th, 2025

Want to automate tasks in Multilogin 6? Whether you're crafting scripts or building advanced web crawlers, browser automation has never been easier!

Normally, with Selenium, you’d have to manually connect to a browser driver (like Firefox or Chrome). But with Multilogin 6, you can skip that hassle:

  • Connect directly to a Multilogin browser profile using Remote WebDriver
  • Set your desired capabilities with ease
  • Run Selenium commands effortlessly

Multilogin 6 leverages Selenium WebDriver, so you can execute automation scripts smoothly without any extra setup.

Step 1: use a supported language

Since the Selenium framework supports a variety of programming languages, you can run Multilogin 6 automation in whichever language you prefer.

While Selenium works with multiple programming languages, official technical support is currently available only for Python.

 

Step 2: define the app listening port

Define ports MLA

Here's how to predefine your default listening port in the app.properties file:

  1. Open Multilogin
  2. Go to “My account”
  3. Click “Open logs directory” – this will open the folder /.multiloginapp.com/logs
  4. Navigate one folder up to /.multiloginapp.com
  5. Use any text editor to open app.properties
  6. Add a new line to specify the port number: multiloginapp.port=35000
  7. Save the changes

Make sure the port number is between 10000 and 49151.

 

You can also find the app.properties file in the .multiloginapp.com folder:

  • Windows: C:\Users\%username%\.multiloginapp.com
  • Linux: /home/%username%/.multiloginapp.com
  • macOS: /Users/%username%/.multiloginapp.com

The folder may be hidden, depending on your OS settings. To display this folder on Mac devices, you can use the following keyboard shortcuts:

  • Cmd + Shift + H – to display the current user's folder
  • Cmd + Shift + . (period) – to display hidden folders and files
 

Step 3: review the code example

Here's a Python code example for your reference:

from selenium import webdriver 
from selenium.webdriver.chromium.options import ChromiumOptions 
from selenium.webdriver.firefox.options import Options 
import requests 

# TO-DO: replace with existing profile ID. Define the ID of the browser profile, where the code will be executed. 
mla_profile_id = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' 

mla_url = 'http://127.0.0.1:35000/api/v1/profile/start?automation=true&profileId='+mla_profile_id 

""" Send GET request to start the browser profile by profileId. 
Returns response in the following format:'{"status":"OK","value":"http://127.0.0.1:XXXXX"}', 
where XXXXX is the localhost port on which browser profile is launched. 
Please make sure that you have Multilogin listening port set to 35000. 
Otherwise please change the port value in the url string 
""" 
resp = requests.get(mla_url) 

json = resp.json() 
print(json) 

# Instantiate the Remote Web Driver to connect to the browser profile launched by previous GET request 
# In case of using Mimic browser 
driver = webdriver.Remote(command_executor=json['value'], options=ChromiumOptions()) 

# In case you are using Stealthfox browser 
#driver = webdriver.Remote(command_executor=json['value'], options=Options()) 

#Perform automation 
driver.get('https://multilogin.com/') 
print(driver.title) 
driver.quit()

Step 4: check out our video guides

automation selenium selenium code

Was this article helpful?

Give feedback about this article

In this article

  • Step 1: use a supported language
  • Step 2: define the app listening port
  • Step 3: review the code example
  • Step 4: check out our video guides

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 perform browser automation in Multilogin 6

ANTIDETECT PLATFORM

  • Antidetect browser
  • Mobile antidetect browser
  • Headless browser
  • Multilogin residential proxies
  • Multi-account management
  • Web automation

RESOURCES

  • Knowledge base
  • API documentation
  • Glossary
  • Blog
  • Multilogin 6 download
  • Server status
  • Release notes

PLATFORM PROXIES

  • Google proxy
  • Facebook proxy
  • Reddit proxy
  • Twitter proxy
  • Amazon proxy
  • LinkedIn proxy

GEO PROXIES

  • Japan proxy
  • UK proxy
  • USA proxy
  • China proxy
  • Canada proxy
  • India proxy

MULTI-ACCOUNT MANAGEMENT

  • Create multiple Facebook accounts
  • Create multiple LinkedIn accounts
  • Create multiple Amazon accounts
  • Create multiple eBay accounts
  • Create multiple Gmail accounts
  • Create multiple Discord accounts

COMPARISON

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

GET IN TOUCH

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

© 2025 Multilogin. All rights reserved.

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

    • Antidetect browser
    • Mobile antidetect browser
    • Headless browser
    • Multilogin residential proxies
    • Multi-account management
    • Web automation
  • RESOURCES

    • Knowledge base
    • API documentation
    • Glossary
    • Blog
    • Multilogin 6 download
    • Server status
    • Release notes
  • MULTI-ACCOUNT MANAGEMENT

    • Create multiple Facebook accounts
    • Create multiple LinkedIn accounts
    • Create multiple Amazon accounts
    • Create multiple eBay accounts
    • Create multiple Gmail accounts
    • Create multiple Discord accounts
  • COMPARISON

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

    • Google proxy
    • Facebook proxy
    • Reddit proxy
    • Twitter proxy
    • Amazon proxy
    • LinkedIn proxy
  • GEO PROXIES

    • Japan proxy
    • UK proxy
    • USA proxy
    • China proxy
    • Canada proxy
    • India proxy
  • GET IN TOUCH

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

© 2025 Multilogin. All rights reserved.

Expand