• 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

Basic automation with CLI

Use the command line to automate browser profiles, launch sessions, and execute tasks efficiently.

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 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 (latest)
  • breadcrumb separator bar
  • Efficient task automation with API
  • breadcrumb separator bar
  • Basic automation with CLI
  • breadcrumb separator bar
  • How to run CookieRobot in Multilogin CLI

How to run CookieRobot in Multilogin CLI

Written by Marcelo B ( Updated on January 16th, 2026 )

Updated on January 16th, 2026

Cookies help make your profiles look like real users by building a browsing history. The best time to collect cookies? Right after creating a profile! That way, your profile has a natural cookie trail before visiting important sites.

Our Script runner API offers a cookie-robot command, allowing you to start collecting cookies in no more than 5 steps!

Open Multilogin CLI 

Follow the following article for more info: How to start working with CLI.

Run default settings

  1. Log in via xcli login --username yourname --password yourpass
  2. Collect one or more profile IDs you wish to gather cookies
  3. Enter xcli cookie-robot --profile-id “profileid” → your browser will open in headless mode and start collecting cookies!

If profiles are already started, make sure they are started with appropriate automation flags, otherwise the script will not start.

 

Customize settings

There are several customizable parameters that influence how the crawling process works. They allow users to adjust settings such as the target website, crawling order, and more. By fine-tuning these options, users can optimize the script’s performance to their specific needs.

--profile-id

 An object containing a profile ID number. Multiple entries can be added.

Unable to see CookieRobot working? Headless mode is activated by default! If you want to deactivate it, add :false after the profile ID:

 

--website

An object containing a website that will be crawled by the CookieRobot, such as --website=https://google.com. Multiple entries can be added.

If no --website is specified, the default list is used: AliExpress, Amazon, eBay, Fiverr, Google, Reddit, Twitch, Twitter, Yahoo, YouTube, Wikipedia.

 

We recommend collecting cookies from multiple sources for a more realistic fingerprint. Check out Collecting cookies: our tips article for details.

 

--random-order

  • --random-order=true → mix things up and visit sites randomly
  • --random-order=false → keep everything in order and visit sites as listed

--fraction-mode

Want to run just a portion of the websites, instead of all of them as default? Choose a float number between 0.0 and 1.0 (0% to 100%) as the fraction.

  • --fraction-mode=0.5 will run 50% of the websites in the list

--process-cookie-consent

Many websites display an “Allow Cookies” button due to privacy laws like GDPR (What is GDPR?), which requires user consent before tracking cookies.

  • --process-cookie-consent=true →  CookieRobot will click the consent button automatically (default)
  • --process-cookie-consent=false → CookieRobot will ignore cookie pop-ups. This can be useful if:
    • You're browsing non-EU websites that don’t show cookie banners
    • You’re not concerned about GDPR compliance (e.g., using proxies outside the EU)

--closeBrowser

If you want to close the profile after running the script – you can change that parameter. Or you can do the opposite.

  • Set to “true” → profile will be closed (default)
  • Set to “false” → profile will stay open

Was this article helpful?

Give feedback about this article

In this article

  • Open Multilogin CLI
  • Run default settings
  • Customize settings
  • --profile-id
  • --website
  • --random-order
  • --fraction-mode
  • --process-cookie-consent
  • --closeBrowser

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 run CookieRobot using Script runner in Postman
  • How to run CookieRobot in Multilogin interface
  • Mastering multi-accounting: the right way to use cookies
  • How to use Script runner with Multilogin CLI

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