In the menu bar, navigate to Safari > Preferences > Click on the Advanced tab, check "Show Develop menu in menu bar".
Press Option+Cmd+I to open the devtools.
Option+Cmd+I