Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browserless.liveURL doesn't work #4353

Closed
macrochel opened this issue Oct 15, 2024 · 3 comments
Closed

Browserless.liveURL doesn't work #4353

macrochel opened this issue Oct 15, 2024 · 3 comments

Comments

@macrochel
Copy link

Browserless.liveURL doesn't work

Docker compose setup of ghcr.io/browserless/chromium on Linux Ubuntu

I'm using puppeteer

const puppeteer = require('puppeteer-core');

const login = async () => {
  const browser = await puppeteer.connect({browserWSEndpoint: 'ws://xxxxxxxxx:3001/?token=xxxxxxxx&--user-data-dir=~/browserless-cache-123',});
  const page = await browser.newPage();
  const cdp = await page.createCDPSession();
  await page.goto('https://www.gmail.com/');
  await page.screenshot({ path: "goodreads.png", fullPage: true });

  const { liveURL } = await cdp.send('Browserless.liveURL');

  console.log(`Shareable Public URL:`, liveURL);

  await new Promise((r) => cdp.on('Browserless.liveComplete', r));

  browser.close();
};
login().catch((e) => console.log(e));

It returns
ProtocolError: Protocol error (Browserless.liveURL): 'Browserless.liveURL' wasn't found

@tusharmctrl
Copy link

I'm facing the same issue, were you able to find a solution for this @macrochel.

@ianatha
Copy link

ianatha commented Jan 2, 2025

"Hybrid Automations are only available on our Enterprise plans. if you'd like to know more, get in touch! Full developer docs on hybrid automation here"

from https://docs.browserless.io/recipes/hybrid-automation

@joelgriffith
Copy link
Collaborator

As @ianatha mentioned, this is only available in commercial offerings. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants