Console is a Command Line API that allows you to debug Safari on iPhone using Developer Tools.Select “Console” from the iPhone Safari Web Inspector Menu.How to debug errors on iPad or iPhone using the Safari Console menu? Just click on the Resources section, and then all interactions with the web elements will be highlighted in real-time on that iPhone. By Clicking on that URL, a new inspector window will open that allows the developer to inspect, preview, or debug the page on a mobile browser from their Mac. ![]() Click on it and it will show the connected iPhone or iPad along with the URL that is active on Safari. Now, you’ll be able to view the Develop menu in the top bar.Mark the checkbox – Show Develop menu in the menu bar to enable it.Click on Safari at the top > Open Preferences > Advanced.To enable the Develop menu, follow the steps below: Once done, enable the Develop menu on the Mac device. Open the desired web page to debug or preview on your mobile Safari browser.To do so: Go to Settings > Safari > Scroll down to the bottom > Open Advanced Menu> Turn on Web Inspector However, starting from iOS 6, Apple provides a Web Inspector, which makes debugging web pages much easier on iPhones or iPads. Method 1: Debug using the Web Inspector feature on iPhones or iPadsĭebugging issues for mobile web pages can be difficult at times. Let’s understand how to debug safari on iPhones and iPads using two different methods. This makes debugging websites on iPhone important. With the rising iPhone Sales from 40 million units in 2010 to more than 206 million units in 2020, which is ever-increasing, the prominence of iPhone and its user base is also growing. IPhone holds a significant share of Apple’s revenue and has been one of its pioneer products. Note: For developers or QA engineers seeking to debug errors on specific iOS devices (For example iPhone X, iPhone 11Pro) the second method will be more effective.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |