Anyone has a sample automation app with Multilogin

invonker

Newbie
Joined
Sep 2, 2013
Messages
49
Reaction score
15
Hello guys,

I'm trying to write an automation app with Multilogin. But their document can't work with me, maybe I'm missing some configuration things.
They just have a piece of code not a completed example. Is there anyone has an example how to work with Multilogin?
 
Why do you need ML for that? ML it's not a better way for an automation app, IMHO. You should use something like a BAS and etc. if you need different profiles / fingerprints. ML more fore manual work.
 
Why do you need ML for that? ML it's not a better way for an automation app, IMHO. You should use something like a BAS and etc. if you need different profiles / fingerprints. ML more fore manual work.

Why do you need ML for that?
=> I would like to manage virtual browser profiles so that Google can not detect that I'm using virtual browser

You should use something like a BAS
=> Sorry, but what is BAS stand for?
 
Why do you need ML for that?
=> I would like to manage virtual browser profiles so that Google can not detect that I'm using virtual browser

You should use something like a BAS
=> Sorry, but what is BAS stand for?
Browser Automation Studio, it could be better for your business. If I understood right.
 
Code:
const body = {
    browser: 'mimic',
    name: 'x',
    network: {
      proxy: {
        host: '123.123.123.123',
        password: 'pass',
        port: 5000,
        type: 'HTTP',
        username: 'user',
      },
    },
    os: 'mac',
  };

  const createFetchOptions = {
    body: JSON.stringify(body),
    method: 'POST',
  };

  const { uuid: profileId } = await fetch(`${process.env.MULTILOGIN_URL}/api/v2/profile?token=${process.env.MULTILOGIN_TOKEN}`, createFetchOptions);

  const startFetchOptions = { method: 'GET' };

  const { value: browserWSEndpoint } = await fetch(`${process.env.MULTILOGIN_URL}/api/v1/profile/start?automation=true&profileId=${process.env.MULTILOGIN_PROFILE_ID}&puppeteer=true`, startFetchOptions);

  const browser = await puppeteer.connect({ browserWSEndpoint });

  const [page] = await browser.pages();

Then you would use Puppeteer as normal. If there are parts of this you don't understand or you need help getting Multilogin and/or Puppeteer set up to work correctly, feel free to ask.
 
Last edited:
I vote for BAS as well. I've been using their product for years with great success.
 
Get browser23.com from bhw marketplace. 12 bucks everything unlimited finger print protection.
 
Back
Top