---
title: "network-throttling"
description: "Claude Code plugin for persona-based user testing. Simulates Boomers, Millennials, Gen Z, and Gen Alpha users to find UX issues before real users do."
canonical_url: "https://skilld.dev/gh/ncklrs/claude-chrome-user-testing/network-throttling"
last_updated: "2026-09-30T03:19:26.000Z"
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install ncklrs/claude-chrome-user-testing/network-throttling`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/network-throttling`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/ncklrs/claude-chrome-user-testing/network-throttling) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/network-throttling`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/network-throttling --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/network-throttling --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Network Throttling Skill

Simulate slow or offline network conditions during user testing. Tests how well sites handle poor connectivity.

## When to Use

- Testing loading states and spinners
- Validating offline/PWA functionality
- Simulating real-world mobile conditions
- Testing error handling for slow requests
- Pairing with `bad-connection-user` persona

## Network Presets

### slow-3g

Simulates a poor mobile connection:

| Metric | Value |
|--------|-------|
| Download | 400 Kbps |
| Upload | 400 Kbps |
| Latency | 400ms |

**Use for**: Testing patience thresholds, loading indicators, progressive loading

### fast-3g

Simulates a decent mobile connection:

| Metric | Value |
|--------|-------|
| Download | 1.6 Mbps |
| Upload | 750 Kbps |
| Latency | 100ms |

**Use for**: Typical mobile user experience, image loading, API response times

### offline

Simulates no network access:

| Metric | Value |
|--------|-------|
| Download | 0 |
| Upload | 0 |
| Status | Offline |

**Use for**: Service worker testing, offline fallbacks, cached content

## Implementation via CDP

Network throttling uses Chrome DevTools Protocol:

```javascript
async (page) => {
  const client = await page.context().newCDPSession(page);

  await client.send('Network.emulateNetworkConditions', {
    offline: false,
    downloadThroughput: 50000,   // bytes/sec (400 Kbps)
    uploadThroughput: 50000,
    latency: 400                 // ms
  });

  return 'Network throttling applied';
}
```

### Throughput Conversion

| Speed | Bytes/sec |
|-------|-----------|
| 400 Kbps | 50,000 |
| 750 Kbps | 93,750 |
| 1.6 Mbps | 200,000 |
| 10 Mbps | 1,250,000 |

## Persona Patience Adjustment

When throttling is active, automatically adjust persona timing:

| Network | Patience Multiplier |
|---------|---------------------|
| normal | 1x |
| fast-3g | 1.5x |
| slow-3g | 3x |
| offline | N/A (expect failures) |

## Testing Patterns

### Loading States

```
1. Apply slow-3g throttling
2. Navigate to page
3. Observe: Does spinner appear? How long until content?
4. Narrate: "This is taking a while... at least there's a loading indicator."
```

### Offline Mode

```
1. Apply offline throttling
2. Try to navigate
3. Observe: Does site handle gracefully? Cached content?
4. Narrate: "Nothing's loading. Let me check if there's an offline mode..."
```

### Progressive Loading

```
1. Apply fast-3g throttling
2. Navigate to image-heavy page
3. Observe: Do images load progressively? Placeholders?
4. Narrate: "The text loaded first, images are still coming in..."
```

## Report Section

When network throttling is used, include in report:

```markdown
## Session Overview
- **Network**: slow-3g (400 Kbps, 400ms latency)

## Network Experience

### Loading Performance
- Page load time: ~8 seconds
- First meaningful paint: ~3 seconds
- Loading indicator: Yes/No

### Issues Under Throttling
- [List issues exacerbated by slow network]

### Positive Behaviors
- [What the site did well under poor conditions]
```

## Combination Testing

### Mobile + Slow Network

Most realistic mobile testing:

```
/user-test --url https://example.com --persona genz-digital-native --viewport mobile --network slow-3g
```

Tests: Real-world mobile conditions where users are impatient AND on poor connections.

### Bad Connection Persona + Throttling

Full experience simulation:

```
/user-test --url https://example.com --persona bad-connection-user --network slow-3g
```

The `bad-connection-user` persona already has higher patience for slow loads. Adding actual throttling makes the simulation realistic.

## Best Practices

1. **Start with fast-3g**: Most common real-world scenario
2. **Use slow-3g for stress testing**: Catches edge cases
3. **Test offline intentionally**: PWA and service worker validation
4. **Combine with mobile viewport**: Most realistic testing
5. **Match persona expectations**: Don't use slow-3g with impatient personas unless testing abandonment
6. **Note loading indicators**: Key UX element under slow conditions
