59

I'm currently remote-debugging a website on my iPhone using Safari v8 and need to simulate different network speeds.

The Chrome Developer Tools have the functionality to throttle the network connection (simulate 3G, wifi etc.) or even to completely switch it off.

Does the Safari Web Inspector have similar functionality?

At the moment I'm getting around it by just switching off my wifi as I just need to test no network for now, but might need the functionality in the future.

1

4 Answers 4

36

As of safari Version 16.6 In dev tools settings under the Experimental tab there is a checkbox "Allow throttling" in the Network section. enter image description here Once you've reloaded the dev tools there will be a dropdown to the right of "Disable Caches" where you can select the network throttle. enter image description here

5
  • 2
    This should be the accepted answer, it is 100% correct.
    – aubreypwd
    Commented Sep 12, 2023 at 19:55
  • 6
    Weirdly there's no option to 100% throttle, which is the one I need most for dev purposes.
    – TomW
    Commented Sep 15, 2023 at 11:55
  • anyone know how to make this behave like chrome, where every single request is throttled? it seems do some caching or something that doesn't make it a genuine throttle
    – jdion84
    Commented Jan 20 at 2:16
  • Remember to scroll down and hit the "Reload Web Inspector" button after enabling the feature. The button is only visible after you've toggled an experimental setting. Commented Apr 26 at 3:32
  • 8
    Looks like Safari 18.0 does not have this feature anymore. :( Commented Sep 30 at 16:36
25

There is currently not a way to do that natively in Safari but you might try using something like Charles Proxy that can throttle your browser or system connection (win, mac, linux).

Mac version of Charles proxy throttle settings

12

Update for 2023 and later

Other answers are no longer up to date and don't work anymore. Today you need to use an add-on from Apple called Network Link Conditioner.

You can download it with additional tools for xCode.

Network Link Conditioner by

7

Just found a way to do it without having to use a proxy like Charles:

  1. Install XCode
  2. Connect iPhone to mac via USB
  3. Launch XCode
  4. Access developer settings on iPhone
  5. Use "Network Link Conditioner"

Longer blog post I wrote: Enable network throttling on iPhone in 5 steps

Hope this helps!

1
  • There is no Network setting to be found anymore on the latest xCode :(
    – SaroGFX
    Commented Oct 5, 2022 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.