Device Type

You can customize how the browser emulates different device types by using the ?p_device parameter. This allows you to emulate fingerprints of the selected device types (desktop, mobile, tablet), which is particularly useful for scraping responsive layouts, mobile-specific content, or device-dependent behavior such as CAPTCHAs or UI elements.

Available ?p_device parameter values

  • desktop (default) – Emulates a standard desktop browser with a full-size viewport and desktop user-agent string.

  • mobile – Simulates a smartphone experience with a smaller screen resolution, touch capabilities, and a mobile user-agent.

  • tablet – Emulates a tablet device, ideal for scraping medium-sized layouts and hybrid mobile/tablet interfaces.

For example:

`wss://username:password@ubc.oxylabs.io?p_device=mobile`

Last updated

Was this helpful?