Skip to content

Lightpanda fails to work on x.com #801

@ilyasaftr

Description

@ilyasaftr

Summary

When using the nightly build of Lightpanda, x.com does not display properly and instead shows a message :

“Please switch to a supported browser to continue using x.com. You can see a list of supported browsers in our Help Center."

Steps to Reproduce

  1. Download the nightly version of Lightpanda.
  2. Start the server:
    ./lightpanda serve --host 127.0.0.1 --port 9222
  3. Using Playwright, navigate to https://x.com/X/status/1932065354290786718.
  4. Attempt to view any tweet’s text.
  5. Observe the result.

Expected Behavior

Lightpanda should load the page and render the tweet content (text, author, timestamp, etc.).

Actual Behavior

Lightpanda returns:

Please switch to a supported browser to continue using x.com. You can see a list of supported browsers in our Help Center.

Environment

  • OS: macOS 15.5
  • Lightpanda Build: nightly build
  • Playwright Version: 1.53
  • Command Used:
    ./lightpanda serve --host 127.0.0.1 --port 9222

Additional Information

Lighpanda Logs

Image

Response Screenshot

Image

Code Example

    browser = await chromium.connectOverCDP("ws://127.0.0.1:9222");

    const context = await browser.newContext();
    const page = await context.newPage();

    await page.goto('https://x.com/X/status/1932065354290786718', {
      waitUntil: 'networkidle',
      timeout: 30000
    });

    await page.waitForTimeout(3000);

    const textResponse = await page.evaluate(() => {
      return document.documentElement.innerText;
    });
    console.log('Page Text Content:', textResponse)

    await page.close();
    await context.close();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions