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