Hardware FixRecommendedDevice not working? Your driver may be the problemCheck updates for common hardware issues.Fix DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk3 min

How to Disable Bluetooth Emulation in Puppeteer

Use Puppeteer’s experimental Bluetooth method or the Chrome DevTools Protocol command to disable emulated Bluetooth; neither turns off physical Bluetooth.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To disable Puppeteer’s emulated Bluetooth adapter, call await page.bluetooth.disableEmulation(). This affects Bluetooth emulation, not the computer’s physical Bluetooth radio. The Puppeteer method is marked experimental, so check that it exists in the Puppeteer version installed in your project.

Disable Bluetooth emulation with Puppeteer

Use the Bluetooth interface on the page whose emulated adapter you want to disable:

As an Amazon Associate I earn from qualifying purchases.

await page.bluetooth.disableEmulation();

Puppeteer documents this as the method for disabling the emulated Bluetooth adapter. See the Puppeteer BluetoothEmulation API for the version-specific API reference.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Complete example

const browser = await puppeteer.launch();
try {
  const page = await browser.newPage();

  // Disable Bluetooth emulation for this browser context.
  await page.bluetooth.disableEmulation();

  // Continue with the page work that requires emulation to be disabled.
} finally {
  await browser.close();
}

This example assumes puppeteer is already imported or required by your project. If your installed version does not expose page.bluetooth.disableEmulation(), use the CDP method below or check compatibility before upgrading.

Disable it through the Chrome DevTools Protocol

If your code already controls Chrome through a CDP session, send the protocol command BluetoothEmulation.disable through a session attached to the page:

const session = await page.createCDPSession();
await session.send('BluetoothEmulation.disable');

Puppeteer documents page.createCDPSession() for attaching a session to a page; the Chrome DevTools Protocol BluetoothEmulation reference describes the command as disabling the BluetoothEmulation domain. This is the lower-level option when using CDP directly. The protocol URL is the rolling “tot” reference, so check the Chrome version you connect to.

Which method should you use?

Method Use it when Compatibility note
page.bluetooth.disableEmulation() You want Puppeteer’s Bluetooth-specific wrapper. The Puppeteer API marks it experimental; availability can depend on the installed version.
session.send('BluetoothEmulation.disable') You already use a page-attached CDP session or want to send the protocol command directly. Compatibility depends on the connected Chrome and its supported protocol commands.

For Puppeteer’s CDP session method, see the Puppeteer Page API documentation.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Scope and common points of confusion

This does not switch off physical Bluetooth

Both commands control emulated Bluetooth state. They are not documented as controls for the host computer’s Bluetooth radio. To turn off physical Bluetooth, use the operating system or device’s Bluetooth controls.

page.emulate() is a different feature

Puppeteer’s page.emulate(device) shortcut applies a device user agent and viewport; its documentation says it calls Page.setUserAgent() and Page.setViewport(). It is not the Bluetooth emulation control. See the Puppeteer page.emulate() documentation.

Pages in one browser context can share emulation state

The Web Bluetooth specification expects emulated adapters to be isolated per top-level navigable, but Chromium’s current implementation ties the state to the browser context. As a result, pages in the same context may affect one another’s Bluetooth emulation state. If tests need independent state, account for that context scope rather than assuming each page is isolated.

Troubleshooting

  • page.bluetooth or the method is unavailable: The Puppeteer API is experimental. Verify your installed Puppeteer version and its API reference; use a page-attached CDP session if appropriate.
  • The CDP command fails: Confirm that the session is attached to the intended page and that the Chrome version you are controlling supports the command. The protocol reference is a rolling version, not a guarantee for every Chrome build.
  • Another page’s emulation state changes: Pages sharing a browser context may share Bluetooth emulation state in Chromium. Review how your test creates and reuses browser contexts.
  • The computer’s Bluetooth remains on: That is expected; these Puppeteer and CDP methods disable emulation, not the physical radio.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

If your goal is a website screenshot rather than browser automation, ScreenshotNeo can return a screenshot or PDF with one GET request. Its capture process accepts cookie and consent banners like a visitor and removes more than 60 known consent platforms, newsletter popups, and chat widgets; each step can be turned off. Bot checks, blank pages, failed loads, timeouts, and cache hits are not billed, and responses identify the page verdict and billing status. ScreenshotNeo also has an MCP server with screenshot, page-info, and PDF tools for AI agents.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Example using cURL (replace the URL with the page you need):

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo API documentation for request options. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Sign up for free.

Frequently Asked Questions

Does disabling Bluetooth emulation turn off Bluetooth on my computer?

No. It disables the emulated adapter in Puppeteer or Chrome, not the physical Bluetooth radio.

Is the Puppeteer Bluetooth disable method experimental?

Yes. Puppeteer marks page.bluetooth.disableEmulation() experimental, so check it against your installed version.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.