X
This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 10,956 times.
Learn more...
This wikiHow teaches you how to use Apple's desktop Safari app to check the performance of mobile web pages in Safari for iPhone.
Steps
Part 1
Part 1 of 3:Enabling Web Inspector on Your iPhone
Part 1
-
1Open your iPhone's Settings. It's a gray icon containing gears on your home screen.
-
2Scroll down and tap Safari. It's in the fourth or fifth group of settings, along with other Apple iPhone apps, like Mail and Contacts.Advertisement
-
3Scroll down and tap Advanced. It's at the bottom of the menu.
-
4Slide the button next to "Web Inspector" to the "On" position. It's the last option and will turn green when enabled.Advertisement
Part 2
Part 2 of 3:Enabling Web Inspector on Your Mac
Part 2
-
1Open Safari on your Mac. It's the app that looks like a blue compass.
-
2Click on Safari. It's in the menu bar in the upper-left corner of the screen.
-
3Click on Preferences.
-
4Click on ⚙️Advanced. It's the rightmost tab along the top of the window.
-
5Check "Show Develop menu in menu bar." It's at the bottom of the window.
-
6Connect your iPhone. Use the USB cable that came with your device to connect your iPhone to your Mac.Advertisement
Part 3
Part 3 of 3:Using Web Inspector on Safari for iPhone
Part 3
-
1Open a web site. On Safari for iPhone, open the mobile web page you'd like to debug.
-
2Click on Develop. It's the third drop-down menu from the right on Safari for Mac.
-
3Click on your iPhone. It will be listed near the top of the menu.
-
4Click on the web site. It appears in a pop-up to the right of your iPhone.
- If you didn't open a web site on your iPhone's Safari app, you'll see a "No inspect able applications" message.
-
5Inspect the page. Using Safari on your Mac, you can enhance and measure the performance of mobile pages on your iPhone.
- Web Inspector lets you run commands in JavaScript to create a more dynamic, interactive experience for the user, such as animation and real-time messages.
- Inspect DOM (Document Object Model) elements for errors in the HTML, XML, or JavaScript commands.
- Use CSS to update or edit the layout, colors, and fonts on mobile pages.
Advertisement
About This Article
Advertisement



























































