Skip to content

TEST.log.info()

Logs informational messages to the test report.

Messages logged using TEST.log.info() do not affect the test result.

You can pass one or more arguments, and each argument will be automatically converted to a string and logged to the test report.

Usage

js
TEST.log.info(message: string, ...args: any[])

Parameters

ParameterTypeDescription
messagestringThe message to log
argsany[]Additional values to log

Examples

js
// log a simple message
TEST.log.info("Starting login flow")

I.fill("Email", "bruce")
I.fill("Password", "secretpassword")
I.click("Login")