Console - puppeteerApp
应用控制台,悬浮窗显示输出信息。类似于浏览器控制台console。首字母大写。
Console.log
输出信息到应用控制台 log Output information to the application console log
Kind: static property of Console
Param | Type | Description |
---|---|---|
...values | any | 输出的值 (Values to output) |
Console.warn
输出警告信息到应用控制台 warn Output warning information to the application console warn
Kind: static property of Console
Param | Type | Description |
---|---|---|
...values | any | 输出的值 (Values to output) |
Console.error
输出错误信息到应用控制台 error Output error information to the application console error
Kind: static property of Console
Param | Type | Description |
---|---|---|
...values | any | 输出的值 (Values to output) |
Console.clear
清空应用控制台 Clear the application console
Kind: static property of Console
Console.open
打开应用控制台 Open the application console
Kind: static property of Console
Console.show
显示应用控制台 Show the application console
Kind: static property of Console
Console.hide
隐藏应用控制台 Hide the application console
Kind: static property of Console
Param | Type | Description |
---|---|---|
delay | number | 延迟时间 (Delay time) |
Console.showLine
显示应用控制台行数 Show the line number in the application console
Kind: static property of Console
Console.hideLine
隐藏应用控制台行数 Hide the line number in the application console
Kind: static property of Console
Console.showTime
显示应用控制台时间戳 Show timestamps in the application console
Kind: static property of Console
Console.hideTime
隐藏应用控制台时间戳 Hide timestamps in the application console