Device Type
Learn how to set Oxylabs Agent Browser device types for more accurate scraping of responsive layouts and device-specific content.
Instead of manually setting viewports, touch support, and User-Agent headers in your local library config (which can create fingerprint mismatches and trigger connection timeouts), the Agent Browser allows you to emulate specific device classes natively by adding the p_device query parameter to your connection string:
wss://username:password@hb.oxylabs.io?p_device=mobileSupported device profiles
You can configure the p_device parameter using three supported device profiles:
desktop
(default)
Full-size viewport, desktop platform headers, standard mouse/keyboard input schemas, and a desktop User-Agent string.
mobile
Compact mobile viewport, touch event APIs enabled, mobile OS platform headers, and a mobile User-Agent.
Last updated
Was this helpful?