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

Import KnownDevices from Puppeteer, select a profile by its exact key, and call await page.emulate(profile) before navigating. For example, KnownDevices['iPhone 17 Pro'] applies that profile’s user agent and viewport to the page. This is browser-side profile emulation—not a promise of complete physical-device or operating-system simulation.

Use a KnownDevices profile before navigation

Puppeteer’s documented sequence is to choose a profile, create a page, emulate the profile, and then visit the target. This runnable ES module example checks the page title and closes the browser even if navigation or the check fails:

import puppeteer, {KnownDevices} from 'puppeteer';

const device = KnownDevices['iPhone 17 Pro'];
if (!device) {
  throw new Error('This Puppeteer version does not include the iPhone 17 Pro profile.');
}

const browser = await puppeteer.launch();
try {
  const page = await browser.newPage();
  await page.emulate(device);
  await page.goto('https://example.com', {waitUntil: 'domcontentloaded'});

  console.log('Title:', await page.title());
  console.log('Viewport:', page.viewport());
} finally {
  await browser.close();
}
  1. Install Puppeteer in the project if it is not already installed: npm install puppeteer.
  2. Import KnownDevices alongside Puppeteer.
  3. Look up a profile using its documented string key.
  4. Create the browser and page, then await page.emulate(device).
  5. Navigate with page.goto() and perform your responsive-page checks.

The guard makes an unavailable profile fail with a clear message instead of passing an undefined value to the emulation method. Use the exact key spelling and capitalization.

What page.emulate() configures

Puppeteer defines page.emulate(device) as a shortcut for calling Page.setUserAgent() and Page.setViewport(). A Device profile contains userAgent and viewport properties. The method resizes the page, so Puppeteer recommends applying it before navigation; some sites may react unexpectedly if the size changes after they load. See the Page.emulate() reference and the Device interface.

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.
#1 Best Overall
Detectors Inductance Tester Motherboards Coils Tester for Quick Fault Detection, High Sensitivity Electromagnetic Induction Quick Fault Check Tool for Detection
  • Rapid Fault Detection Instantly identifies malfunctioning circuits with clear LED indicators, ensuring quick diagnosis and saving valuable troubleshooting time for technicians
  • Universal Smartphone Compatibility Works seamlessly with various smartphone models without needing adapters, streamlining workflow for multibrand repair professionals and enhancing convenience
  • Portable And Lightweight Design Its compact and lightweight body ensures effortless portability during on site repairs or workshop maintenance, ideal for electronics technicians and field service engineers
  • Optimized For Time Critical Troubleshooting Combines electromagnetic precision with rapid chip powered response for instant component analysis, perfect for mobile repair stations and urgent diagnostic tasks
  • Complete Package Includes 1pc Circuit Tester ready for immediate use, providing a reliable and efficient tool for all your electrical testing needs

This configures browser-side metrics and user-agent behavior. The reference does not claim that it reproduces every feature of a physical phone or tablet, the device’s operating system, or all hardware-dependent behavior. For issues that depend on a real device or OS, verify separately in that environment.

Choose and verify the profile key

KnownDevices is a readonly record of named device profiles. Examples in the reference include iPhone 17 Pro, iPhone 17 Pro landscape, iPad, iPad landscape, Galaxy S9+, and Pixel 5. The available set can vary by installed Puppeteer release; consult the KnownDevices API reference and the types in your installed package for the keys in use.

Rank #2
BACtrack C6 Keychain Breathalyzer | BAC Alcohol Tester | Optional App
  • ESTIMATE YOUR ALCOHOL LEVEL WITH PRO-GRADE ACCURACY - Powered by BACtrack's patented BluFire Fuel Cell Sensor, the C6 utilizes the same professional-grade technology trusted by hospitals, clinics, and even law enforcement.
  • KNOW WHEN YOUR BAC WILL RETURN TO 0.00% - BACtrack's innovative ZeroLine technology estimates the time until your blood alcohol content is 0.00%, allowing you to quickly and easily know where you stand.
  • SMALL & PORTABLE DESIGN - This mini handheld breathalyzer measures fits easily in a purse, pocket, or on your keychain, so you can always have it when you need it.
  • OPTIONAL WIRELESS CONNECTIVITY - Use the BACtrack C6 with or without your smartphone. "Standalone Mode" delivers your BAC results directly to your C6. "App Mode" wirelessly delivers your BAC results to the BACtrack App on your smartphone. Easily switch between modes.
  • ONE-YEAR WARRANTY - If your BACtrack ceases to function properly during the first year of operation, we will repair or replace the defective device.

Portrait and landscape entries are distinct keys. Select the orientation that matches the condition you intend to test, then inspect the chosen profile’s user-agent and viewport values if those details matter to the test. The documentation labels the KnownDevices reference as Puppeteer 25.11.0 and the Page.emulate() reference as 25.12.0; these are displayed version labels, not publication dates. Check the reference corresponding to your installed release.

Troubleshooting

  • Profile lookup returns undefined: The name may be misspelled or absent in that installed version. Compare the exact key with the API reference and package types; do not silently substitute a different device.
  • The page looks like desktop after navigation: Ensure the awaited page.emulate(device) call occurs before page.goto(), and confirm the profile lookup succeeded.
  • The page changes size unexpectedly: Emulation sets the profile viewport and resizes the page. If the application assumes a stable size, establish emulation before loading it.
  • A device-specific issue still occurs or disappears: The profile sets user-agent and viewport values; it does not establish complete physical-device fidelity. Reproduce the issue on the actual target hardware and operating system when required.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or skip the browser setup

For a screenshot rather than a Puppeteer-driven responsive test, ScreenshotNeo can return a page capture with one GET request. Its request supports screenshot output such as PNG, JPEG, or WebP, or a PDF. This does not replace testing your own browser interaction code.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
BACtrack C8 Breathalyzer | BAC Alcohol Tester | Optional App
  • ESTIMATE YOUR ALCOHOL LEVEL WITH PRO-GRADE ACCURACY - Powered by BACtrack's patented BluFire Fuel Cell Sensor, the C8 utilizes the same professional-grade technology trusted by hospitals, clinics, and even law enforcement
  • KNOW WHEN YOUR BAC WILL RETURN TO 0.00% - BACtrack's innovative ZeroLine technology estimates the time until your blood alcohol content is 0.00%, allowing you to quickly and easily know where you stand
  • SMALL & PORTABLE DESIGN - This mini handheld breathalyzer fits easily in a purse, pocket, or car, so you can always have it when you need it
  • OPTIONAL WIRELESS CONNECTIVITY - Use the BACtrack C8 with or without your smartphone. "Standalone Mode" delivers your BAC results directly to your C8. "App Mode" wirelessly delivers your BAC results to the BACtrack App on your smartphone. Easily switch between modes
  • ONE-YEAR WARRANTY - If your BACtrack ceases to function properly during the first year of operation, we will repair or replace the defective device
Rank #4
Accu-Chek Guide Me Glucose Monitor Kit for Diabetic Blood Sugar Testing
  • This blood sugar monitoring kit is designed to help you easily manage your diabetes and have better control of your health; Includes: Guide Me meter (batteries included), Softclix lancing device, and 10 lancets
  • The Guide Me meter is Bluetooth enabled to sync with a smartphone and automatically log test results using the mySugr app; Features a large, easy-to-read LCD display and stores 720 test results plus 30 control records
  • Child-resistant battery door helps prevent a child from accessing the batteries; To open the door, insert a narrow object, such as a pen, into the door slot pushing the tab inward while lifting up the door
  • With 11 customizable depth settings, the Softclix lancing device makes it easier to get the right amount of blood the first time
  • Easy-to-use, sterile Accu-Chek lancets are thin-gauge and bevel-cut to help ensure smoother entry; Engineered to reduce pain
Rank #3
TelPal Landline Test Phone Line Set Telecom Check Telephone Line Dedicated Check Line Survey Line Machine Tester to Alligator Clip Set Equipment
  • It is smart and lightweight,computer lab preferred.
  • FSK/DTMF caller id identification automatically.
  • Real time, date and week display.
  • Flash and Redial function.
  • In use led indicator function.

ScreenshotNeo API documentation

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

ScreenshotNeo accepts cookie or consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; those steps can be disabled. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and the response identifies the page verdict and billing status in headers. Its MCP server offers screenshot and PDF tools to AI agents. The free plan includes 1,000 shots per month without a card; paid plans start at $5 for 3,000 shots.

Sign up for ScreenshotNeo’s free plan.

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.