Next-Gen App & Browser
Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud

How to view source code in Safari?

Viewing the source code of a page lets web designers and developers achieve their preferred layout. It helps them debug websites quickly by just viewing the source of web pages. Advanced Mac users can benefit greatly from viewing the page sources on a webpage. You can troubleshoot and fix webpage-related issues, adjust styling in the code, and learn different optimization techniques.

Following are steps to view source code in Safari browser.

  • Open your Safari browser and navigate to the web page you wish to view.
  • From the top menu bar, select Develop > Show Page Source. You can also press Option+Command+U on your keyboard.
How to view source code in Safari

If the Develop menu is not visible, go to Preferences > Advanced, and choose the Show Develop menu in menu bar.

Test your website on 3000+ browsers

Get 100 minutes of automation test minutes FREE!!

Test Now...

KaneAI - Testing Assistant

World’s first AI-Native E2E testing agent.

...
ShadowLT Logo

Start your journey with LambdaTest

Get 100 minutes of automation test minutes FREE!!

Signup for free