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

[BUG] hasInconsistentGPUFeatures detection with Intel Arc A380 on Ubuntu 24.04 #33

Open
zukasmal opened this issue Jan 13, 2025 · 0 comments
Assignees

Comments

@zukasmal
Copy link

System info

  • Playwright Version: 1.49.2
  • Operating System: Ubuntu 24.04.1 LTS (noble)
  • Browser: Google Chrome 131.0.6778.264
  • GPU: Intel Corporation DG2 [Arc A380]
  • Node Version: v22.1.0

Description

When using the recommended "best practices" configuration from the README, the bot detection still flags hasInconsistentGPUFeatures as true on Ubuntu with Intel Arc A380 graphics. This occurs despite following the installation and configuration instructions precisely.

Source code

const { chromium } = require('patchright');

(async () => {
  const browser = await chromium.launchPersistentContext("", {
    channel: "chrome",
    headless: false,
    viewport: null,
  });
  const page = await browser.newPage();
  await page.goto('https://deviceandbrowserinfo.com/are_you_a_bot');
  await page.waitForTimeout(10 * 1000);
  await browser.close();
})();

Steps

  • Install Chrome: sudo apt install google-chrome-stable
  • Install Chromium for Patchright: npx patchright install chromium
  • Run the above code
  • Notice that the detection page flags for hasInconsistentGPUFeatures

Expected

According to the README, Patchright should pass Datadome and other bot detection tests without being flagged for GPU inconsistencies. The documentation specifically mentions passing these tests with proper configuration.

Actual

image

@Vinyzu Vinyzu self-assigned this Jan 17, 2025
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

2 participants