The MailStack Api (Email Testing) is now available!

Check console logs page for Automation Testing Practice

This page is designed to demonstrate how to output messages to the browser console using JavaScript, including logging, tables, warnings, and errors. It serves as a helpful resource for showcasing how to capture console messages in automated testing tools like Cypress

console.log()

The function console.log is used to log a message to the console.

console.warn()

The function console.warn is used to log a warning message to the console.

console.error()

The function console.error is used to log a error message to the console.

console.info()

The function console.info is used to log a informational message to the console.

console.debug()

The function console.debug is used to log a debugging message to the console.

console.table()

The function console.table is used to log data in tabular format message to the console.