Modern web browsers are equipped with a set of valuable tools that help designers and developers with resolving all kinds of issues around web pages and applications. Usually the tools can be accessed via a menu item titled “web developer”, “developer tools”, or the like.
One of the available tools is the browser console, sometimes also called web console or JavaScript console. It lets you view the output that is logged using console.log()
, examine error messages and find their cause, and, last but not least, execute JavaScript code.
With a Scrivito-based app, you can use the JS SDK in the console to view, manipulate or create content, perform bulk operations, test your app, etc. However, there is one condition that needs to be met. Fire up your app, open the console, and try something like this: