The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Use a named Playwright device profile when it matches your target. For example, devices['Galaxy S24'] configures a 360 × 780 viewport, device scale factor 3, mobile emulation and touch; the profile’s default browser type is Chromium. These are Playwright’s emulation settings, not a guarantee of identical behavior on every Samsung phone or in Samsung Internet.
Use a built-in Samsung device profile
Playwright device descriptors package settings such as viewport, screen, user agent, device scale factor, mobile behavior and touch support. Import devices and spread the selected descriptor into your test or browser context. The official Playwright emulation guide explains the emulation categories.
With the Playwright Test runner
In a test file using @playwright/test, set the profile for the test context:
import { test, devices } from '@playwright/test';
test.use({ ...devices['Galaxy S24'] });
test('page works at a Galaxy S24 viewport', async ({ page }) => {
await page.goto('https://example.com');
// Add assertions for your responsive layout or interaction.
});
Replace the example URL and add assertions for the behavior you need to verify. The test runner creates the page using the configured context.
Free tools Windows power users keep installed
One-click scans. No signup required.
#1 Best Overall
- PRIVACY DISPLAY: Automatically hide your screen from those beside you. The built-in privacy display can be preset¹ to turn on when receiving notifications, typing passwords, or using specific apps
- TYPE IT IN. TRANSFORM IT FAST: Enhance any shot in seconds on your smartphone by using Photo Assist² with Galaxy AI.³ Add objects, restore details, or apply new styles by simply typing or tapping
- NIGHTS, CAPTURED CLEARLY: From gigs to city lights, record and capture moments after dark with clarity using Nightography so your photos and videos stay crisp and clear on your Samsung Galaxy
- MAKE IT. EDIT IT. SHARE IT: Turn everyday moments into something personal with creative tools built right into your mobile phone, whether it’s a special contact photo, custom wallpaper, an invitation or more⁴
- HELP THAT KEEPS UP: Stay in the moment while Now Nudge with Galaxy AI helps you respond faster and stay organized with smart suggestions⁵ that appear exactly when you need them on your phone
With a browser context directly
If you manage the browser lifecycle yourself, spread the same descriptor into browser.newContext:
import { chromium, devices } from 'playwright';
const browser = await chromium.launch();
try {
const context = await browser.newContext({ ...devices['Galaxy S24'] });
const page = await context.newPage();
await page.goto('https://example.com');
// Add assertions or capture diagnostics here.
await context.close();
} finally {
await browser.close();
}
These examples use Chromium, which is the default browser type for the listed Samsung descriptors. Keep the profile’s browser-engine assumption in mind when interpreting results.
Choose the Samsung profile that matches the test
The descriptor values below are from Playwright’s device registry; values can change with Playwright releases. The dimensions are CSS viewport width × height, not a universal specification for every owner’s device or settings.
| Playwright profile | Viewport | Device scale factor | Other profile details |
|---|---|---|---|
| Galaxy S24 | 360 × 780 | 3 | Mobile and touch enabled; default browser type Chromium |
| Galaxy A55 | 480 × 1040 | 2.25 | Mobile and touch enabled; default browser type Chromium |
| Galaxy Z Fold 7 inner screen | 984 × 1016 | 2 | Separate fold-open profile |
| Galaxy Z Fold 7 cover screen | 360 × 764 | 3 | Separate cover-screen profile |
Use the inner and cover-screen descriptors as distinct Fold targets; a single narrow-phone profile cannot represent both layouts. Viewport dimensions are the direct inputs for responsive CSS breakpoint behavior. Device scale factor affects the relationship between CSS pixels and device pixels, while mobile and touch flags affect browser behavior beyond size alone.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Rank #2
- Please note, this device does not support E-SIM; This 4G model is compatible with all GSM networks worldwide outside of the U.S. In the US, ONLY compatible with T-Mobile and their MVNO's (Metro and Standup). It will NOT work with other CDMA carriers, and it is also not compatible with their MVNO (Visible, Xfinity Mobile, US Mobile, Cricket Wireless, etc).
- Compatibility with certain third-party devices and accessibility accessories, including some hearing aids, may vary depending on manufacturer support, Bluetooth protocols, software compatibility, and regional firmware limitations. For additional hearing aid compatibility information, please refer to Samsung’s official support documentation.
- Camera: 50 MP, f/1.8, (wide), 1/2.76", 0.64µm, AF | 50 MP, f/1.8, (wide), 1/2.76", 0.64µm, AF | 2 MP, f/2.4, (macro). Battery: 5000 mAh, non-removable | A power adapter is NOT included.
To see the current descriptor values, consult the Playwright device descriptor source. Check it again when updating tests after a Playwright release.
Set a custom Samsung-like viewport when no profile fits
For a specific layout size that is not represented in the registry, set the context properties relevant to the test. Keep them coherent: viewport and screen dimensions alone do not reproduce a device profile’s user agent, mobile behavior or touch support.
const context = await browser.newContext({
viewport: { width: 360, height: 780 },
screen: { width: 360, height: 780 },
deviceScaleFactor: 3,
isMobile: true,
hasTouch: true,
userAgent: 'your chosen user agent',
});
Use a real user-agent string only when the test requires one; the placeholder above is not a valid device identity. For unusual combinations, check the current API documentation for your Playwright language and version. Prefer a named descriptor whenever it matches the target because its related settings are supplied together.
Know what Playwright device emulation can verify
A Samsung profile is useful for responsive layout checks, mobile user-agent handling and touch-oriented interactions. It does not establish that a page behaves exactly as it does on Samsung hardware, a particular Android build, or Samsung Internet.
Rank #3
- YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
- LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
- MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
- NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
- BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.
Samsung documents a Samsung Internet user-agent format that uses SamsungBrowser/version for Samsung device browsers. For Samsung Internet v24.0 and later, its documentation describes a unified platform token as part of user-agent reduction. See Samsung’s user-agent string format documentation for the details.
If the issue depends on Samsung Internet rendering, device hardware, sensors, keyboard behavior, browser chrome, or a particular OS and browser build, verify it on a real device or an Android environment running the target browser. Desktop Chromium with a Samsung descriptor is not a substitute for that test.
Troubleshoot common emulation problems
The device profile name is undefined
Check the spelling and capitalization against the installed Playwright registry, and confirm that devices is imported from the same Playwright package used by your project. Descriptor names are exact keys, such as Galaxy S24.
The layout does not match the phone
Confirm that the test applied the descriptor to the browser context before creating its page, and inspect the actual viewport dimensions. Check whether the defect concerns CSS breakpoints, device-scale rendering, touch behavior or the browser engine. A profile only emulates the properties it configures; hardware and Samsung Internet differences require testing in the target environment.
Recommended Free Tools
Rank #4
- YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
- LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
- MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
- NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
- BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.
A Galaxy Z Fold layout looks wrong
Select the profile for the state you are testing: the inner screen or the cover screen. Their viewport dimensions differ substantially, so a test using one should not be treated as coverage of the other.
Touch or mobile-specific behavior is absent
Make sure you applied the whole descriptor rather than copying only its viewport dimensions. If you configure a custom context, set the relevant mobile and touch options explicitly and consult the API documentation for your installed version.
Playwright rejects a context option
Check the option name and availability against the API documentation for your language and installed Playwright version. Avoid assuming that viewport dimensions and mobile-related context options are interchangeable.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Or skip the browser setup
If your goal is a screenshot rather than an interactive Playwright test, ScreenshotNeo is a website screenshot API and MCP server. Its one-call API accepts a URL and returns an image or PDF. See the ScreenshotNeo API documentation for options and response details.
Best Value
- TYPE IT IN. TRANSFORM IT FAST: Enhance any shot in seconds on your smartphone by using Photo Assist¹ with Galaxy AI.² Add objects, restore details, or apply new styles by simply typing or tapping
- MAKE IT. EDIT IT. SHARE IT: Turn everyday moments into something personal with creative tools built right into your mobile whether it’s a special contact photo, custom wallpaper, an invitation or more³
- FAST. POWERFUL. AI-READY: Power through your day with AI-accelerated performance from our fastest, smoothest and most powerful Galaxy processor yet, built to keep up with everything you do
- IMMENSELY IMMERSIVE: No matter where you are or what you’re watching, your favorite videos and more come to life with the vibrant display on Galaxy S26
- FIT EVERYONE IN THE SHOT: Group selfies are easier on your Samsung phone with a wider front camera⁴ that captures more of the scene, so no one gets left out of the moment
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp
ScreenshotNeo removes cookie/consent banners, newsletter popups and chat widgets before capture; each step can be turned off. Bot checks, blank pages, timeouts, failed loads and cache hits cost nothing, and response headers identify the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info and capture_pdf for AI agents and MCP clients. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000.
Sign up for 1,000 free screenshots a month, with no card required.
Frequently Asked Questions
Does a Galaxy profile run Samsung Internet?
No. The listed Samsung device descriptors default to Chromium; use a real device or Android environment running Samsung Internet when that browser is the subject of the test.
Can I test both Galaxy Z Fold screens with one profile?
No. Use the separate inner-screen and cover-screen descriptors for those distinct viewport targets.
Quick Recap
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.

