Class ConsoleMessage
- java.lang.Object
-
- org.openqa.selenium.devtools.v103.console.model.ConsoleMessage
-
public class ConsoleMessage extends java.lang.Object
Console message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConsoleMessage.Level
static class
ConsoleMessage.Source
-
Constructor Summary
Constructors Constructor Description ConsoleMessage(ConsoleMessage.Source source, ConsoleMessage.Level level, java.lang.String text, java.util.Optional<java.lang.String> url, java.util.Optional<java.lang.Integer> line, java.util.Optional<java.lang.Integer> column)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Integer>
getColumn()
Column number in the resource that generated this message (1-based).ConsoleMessage.Level
getLevel()
Message severity.java.util.Optional<java.lang.Integer>
getLine()
Line number in the resource that generated this message (1-based).ConsoleMessage.Source
getSource()
Message source.java.lang.String
getText()
Message text.java.util.Optional<java.lang.String>
getUrl()
URL of the message origin.
-
-
-
Constructor Detail
-
ConsoleMessage
public ConsoleMessage(ConsoleMessage.Source source, ConsoleMessage.Level level, java.lang.String text, java.util.Optional<java.lang.String> url, java.util.Optional<java.lang.Integer> line, java.util.Optional<java.lang.Integer> column)
-
-
Method Detail
-
getSource
public ConsoleMessage.Source getSource()
Message source.
-
getLevel
public ConsoleMessage.Level getLevel()
Message severity.
-
getText
public java.lang.String getText()
Message text.
-
getUrl
public java.util.Optional<java.lang.String> getUrl()
URL of the message origin.
-
getLine
public java.util.Optional<java.lang.Integer> getLine()
Line number in the resource that generated this message (1-based).
-
getColumn
public java.util.Optional<java.lang.Integer> getColumn()
Column number in the resource that generated this message (1-based).
-
-