Question

I'm using iOS 6's new remote web inspector feature, which is pretty nice.

Is there a way of forcing a page refresh on the remote iOS device from the desktop - it's just a bit easier then reaching over and refreshing the page on the device itself.

Was it helpful?

Solution

OK, figured it out, it's a bit kludgy, but works.

In the javascript console (the single line at the bottom of the web inspector) - type this:

document.location.reload();

This forces a page reload on the remote device.

OTHER TIPS

While having the Safari Web Inspector focussed, press Command + R on your keyboard.

It's faster than typing document.location.reload();. Further, it doens't matter in which tab you are (Console, Elements, Debugger, or any other tab), so that also also makes it faster than going to the Console Tab, pressing Arrow up follewed by Enter.

Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange
scroll top