agentchrome 1.62.0

A CLI tool for browser automation via the Chrome DevTools Protocol
Documentation
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH emulate 1  "emulate "
.SH NAME
emulate \- Device and network emulation
.SH SYNOPSIS
\fBemulate\fR [\fB\-h\fR|\fB\-\-help\fR] <\fIsubcommands\fR>
.SH DESCRIPTION
Emulate different devices, screen sizes, and network conditions. Set custom user agents, viewport dimensions, device scale factor, and network throttling profiles.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help (see a summary with \*(Aq\-h\*(Aq)
.SH SUBCOMMANDS
.TP
emulate\-set(1)
Apply one or more emulation overrides
.TP
emulate\-reset(1)
Clear all emulation overrides
.TP
emulate\-status(1)
Show current emulation settings
.TP
emulate\-help(1)
Print this message or the help of the given subcommand(s)
.SH EXTRA
EXAMPLES:
  # Emulate a mobile device
  agentchrome emulate set \-\-viewport 375x667 \-\-device\-scale 2 \-\-mobile

  # Simulate slow 3G network
  agentchrome emulate set \-\-network 3g

  # Force dark mode
  agentchrome emulate set \-\-color\-scheme dark

  # Check current emulation settings
  agentchrome emulate status

  # Clear all emulation overrides
  agentchrome emulate reset
.SH CAPABILITIES
.PP
Device and network emulation
.TP
.B emulate set
Apply one or more emulation overrides
.TP
.B --network
Network condition profile: offline, slow-4g, 4g, 3g, none
.TP
.B --cpu
CPU throttling rate (1 = no throttling, 2-20 = slowdown factor)
.TP
.B --geolocation
Set geolocation override as LAT,LONG (e.g. 37.7749,-122.4194; conflicts with --no-geolocation)
.TP
.B --no-geolocation
Clear geolocation override (conflicts with --geolocation)
.TP
.B --user-agent
Set custom user agent string (conflicts with --no-user-agent)
.TP
.B --no-user-agent
Reset user agent to browser default (conflicts with --user-agent)
.TP
.B --color-scheme
Force color scheme: dark, light, auto
.TP
.B --viewport
Set viewport dimensions as WIDTHxHEIGHT (e.g. 375x667)
.TP
.B --device-scale
Set device pixel ratio (e.g. 2.0)
.TP
.B --mobile
Emulate mobile device (touch events, mobile viewport)
.TP
.B emulate reset
Clear all emulation overrides
.TP
.B emulate status
Show current emulation settings
.SH EXAMPLES
.PP
Examples:
.TP
.B \`agentchrome emulate set --viewport 375x667 --device-scale 2 --mobile\`
Emulate a mobile device
.TP
.B \`agentchrome emulate set --network 3g\`
Simulate slow 3G network
.TP
.B \`agentchrome emulate set --color-scheme dark\`
Force dark mode
.TP
.B \`agentchrome emulate status\`
Check current emulation settings
.TP
.B \`agentchrome emulate reset\`
Clear all emulation overrides