Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: consolemessage

[7:14] (extern: com.lehman.aussom.AConsoleMessage) extends: object

The consolemessage class wraps a browser console message event. Instances are obtained via page.waitForConsoleMessage().

Methods

  • type ()

    Returns the console message type string such as 'log', 'debug', 'info', 'error', or 'warning'.

    • @r A string message type.
  • text ()

    Returns the text of the console message as a string.

    • @r A string with the message text.
  • location ()

    Returns the source URL where the console message originated.

    • @r A string source URL.