• 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 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
  • Home
  • breadcrumb separator bar
  • Multilogin X
  • breadcrumb separator bar
  • 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 April 11th, 2025 )

Updated on April 11th, 2025

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 4 steps!

Run default settings

  1. Open your Multilogin CLI 
  2. Log in via xcli login --username yourname --password yourpass
  3. Collect one or more profile IDs you wish to gather cookies
  4. 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)

Was this article helpful?

Give feedback about this article

In this article

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

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

  • What is CLI automation?
  • How to start working with CLI
  • Learn CLI commands
  • Learn CLI command flags
  • How to use CLI as a team member
  • How to enable 2FA (2-factor authentication) in CLI

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