Live API Demo

Demo Video

We've created a demo video that shows how the Live API works.

Invite

The Live API demo is available by invite only. If you've the invite key, enter it here:

Once you validate the invite key, you'll be able to run the code below, which will embed a live browser on this page and perform some automated tasks.

Email or use the contact form to get an invite. For more information see the main Live API page and Live API's full documentation.

Demo Code


// Setup a new BrowserlingIframe with desired options
var browserling = new BrowserlingIframe({
    session: "YOUR_SESSION_TOKEN",
    platform: "win/10",
    browser: "chrome/127",
    url: "https://example.org"
});

// Embed the browser on the page
var iframe = browserling.iframe();
var div = document.querySelector('#browserling');
div.appendChild(iframe);

// When browser is available
browserling.onload = function() {

    // Wait 5 seconds
    browserling.delay(5000)

    // Move mouse to 200,60 and perform a triple-click
    browserling
      .mouseMove(200, 60)
      .leftClick().delay(50)
      .leftClick().delay(50)
      .leftClick().delay(50)
    
    // Type "random.org", then press Enter
    browserling.typeText("random.org")
    browserling.delay(500)
    browserling.keyPress(browserling.KEY_ENTER)
};
(Please enter the invite key)

Your Browser