ChatGPT解决这个技术问题 Extra ChatGPT

How to Inspect Element using Safari Browser

I am developing websites and creating applications. I want to know how to inspect an element through web browsers like safari.

In normal Chrome, Firefox, Explorer or any other browsers, we will right click the mouse button or press Function Key F12 to view the Inspect Element. But it is not happening in the case of safari browser.

Share your thoughts!


G
G43beli

In your Safari menu bar click Safari > Preferences & then select the Advanced tab.

Select: "Show Develop menu in menu bar"

Now you can click Develop in your menu bar and choose Show Web Inspector

You can also right-click and press "Inspect element".

EDIT As suggested by @dennis in the comments: If you dont see "Show Develop menu in menu bar" you may need to run DevToolsSecurity -enable in the console before the option is visible


I had to run the following command DevToolsSecurity -enable in the console before the above option was visible on OS X (10.14.6)
M
Marina

Press CMD + , than click in show develop menu in menu bar. After that click Option + CMD + i to open and close the inspector

https://i.stack.imgur.com/DfoKH.png


r
ritesh Kumar

in menu bar click on Edit->preference->advance at bottom click the check box true that is for Show develop menu in menu bar now a develop menu is display at menu bar where you can see all develop option and inspect.


This answer is basically a duplicate of the one posted six months earlier, except with less detailed information and some typos introduced.

关注公众号,不定期副业成功案例分享
Follow WeChat

Success story sharing

Want to stay one step ahead of the latest teleworks?

Subscribe Now