• 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
  • breadcrumb separator bar
  • Efficient task automation with API
  • breadcrumb separator bar
  • Puppeteer, Selenium, and Playwright
  • breadcrumb separator bar
  • Troubleshooting WebDriver connection issues

Troubleshooting WebDriver connection issues

Written by Marcelo B ( Updated on June 17th, 2025 )

Updated on June 17th, 2025

Using Selenium to automate Multilogin browsers but hitting connection issues? Here's how to fix WebDriver errors when automating with our API.

WebDriver is your automation buddy – it sends commands (via Selenium or Puppeteer) to your Multilogin browser profile. When the connection fails, your script can’t control the browser. If your browser profile doesn’t launch or WebDriver hangs, it’s likely a mismatch or config issue. Let's check them!

Step 1: double-check your API calls

  • Make sure you are using the /v2/profile/start endpoint
  • The request need to include the automation_type: choose between selenium, puppeteer or playwright

Ex.: https://launcher.mlx.yt:45001/api/v2/profile/f/:folder_id/p/:profile_id/start?automation_type=selenium&headless_mode=false

If this is not active, the WebDriver won't correct and the browser will launch in manual mode. 

Step 2: wait for the WebSocket

  • After starting the profile, it will automatically be connected to a port
  • Your Selenium or Puppeteer script should remain connected to this port
  • Always dynamically fetch the port from the Multilogin API – avoid hardcoding ports!

Step 3: check if the browser and WebDriver versions are matching

  • Your browser and WebDriver versions must match. Example: If Multilogin is using Chromium 114, use ChromeDriver 114
  • You can find the browser version in the profile response under browser.version

Step 4: use the right WebDriver

Chrome-based and Firefox-based browsers uses distinct WebDrivers. If you are automating with Python, that must reflect on your request.

  1. Add the import lines at the beginning of the script:
    • from selenium import webdriver
    • from selenium.webdriver.chromium.options import ChromiumOptions
    • from selenium.webdriver.firefox.options import Options
  2. Check for the correct configurations and libraries when using distinct browsers:
    1. Mimic:
      • Use the example script located in Selenium automation example (Puppeteer version|Playwright version)
    2. StealthFox WebDriver:
      1. Open the example script from the previous step
      2. Locate the line driver = webdriver.Remote(command_executor=f'{LOCALHOST}:{selenium_port}', options=ChromiumOptions()) 
      3. Replace options=ChromiumOptions() with options=Options()

Step 5: check for network or security blockages

Firewalls or antivirus apps might block local ports, try: 

  • Disabling them briefly to test 
  • Whitelist the WebDriver connection and Multilogin, if needed.
  • Test if the solution works
  • Re-enable your security tools with Multilogin and WebDriver both whitelisted

Nothing helps?

  • Double-check you are not trying to reuse a closed port
  • Make sure the profile is not closed before your automation starts
  • Check Multilogin logs for more clues

Want to explore more? Check our Multilogin API docs.

 

 

 

Was this article helpful?

Give feedback about this article

In this article

  • Step 1: double-check your API calls
  • Step 2: wait for the WebSocket
  • Step 3: check if the browser and WebDriver versions are matching
  • Step 4: use the right WebDriver
  • Step 5: check for network or security blockages
  • Nothing helps?

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 fix error “Wrong proxy data”
  • How to fix IP leaks when using a proxy

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
  • Multilogin 6 download
  • 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
    • Multilogin 6 download
    • 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