The Sarari Web Inspector Guide says:
Use the console as a tool to modify your web content via interactive commands
It then goes on to list some example commands including console.log(object)
.
However, when I try any command at all and hit enter, nothing happens.
What am I missing? Why can't I send my console commands via the enter key?
Apple Safari To do that, go into Safari's preferences (Safari Menu > Preferences) and select the Advanced Tab. Once that menu is enabled, you will find the developer console by clicking on Develop > Show Javascript Console. You can also use the shortcut Option + ⌘ + C .
TLDR: Install Safari Technology Preview https://developer.apple.com/safari/download/
My console stopped working after upgrading to:
macOS: Big Sur 11.4 (20F71) Safari: 14.1.1 (16611.2.7.1.4) iPhone iOS: 14.5
Spent a few hours trying to fix this, resetting, rebooting, reinstalling, etc. until I found this comment suggesting to try Safari Technology Preview. My regular Safari still doesn't work, but Safari Technology Preview (Release 125 (Safari 14.2, WebKit 16612.1.15.1.12)) works like a charm.
Safari web inspector is only showing Sources, Console and Audit
Safari Technology Preview installs in parallel to the regular Safari, you can use it just for development. Find it here https://developer.apple.com/safari/download/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With