selenium.webdriver.common.bidi.log

Classes

ConsoleLogEntry(level, text, timestamp, ...)

JavaScriptLogEntry(level, text, timestamp, ...)

LogEntryAdded()

LogLevel()

Represents log level.

class selenium.webdriver.common.bidi.log.LogEntryAdded[source]
event_class = 'log.entryAdded'
classmethod from_json(json: dict[str, Any]) ConsoleLogEntry | JavaScriptLogEntry | None[source]
class selenium.webdriver.common.bidi.log.ConsoleLogEntry(level: 'str', text: 'str', timestamp: 'str', method: 'str', args: 'list[dict[str, Any]]', type_: 'str')[source]
level: str
text: str
timestamp: str
method: str
args: list[dict[str, Any]]
type_: str
classmethod from_json(json: dict[str, Any]) ConsoleLogEntry[source]
class selenium.webdriver.common.bidi.log.JavaScriptLogEntry(level: 'str', text: 'str', timestamp: 'str', stacktrace: 'dict[str, Any]', type_: 'str')[source]
level: str
text: str
timestamp: str
stacktrace: dict[str, Any]
type_: str
classmethod from_json(json: dict[str, Any]) JavaScriptLogEntry[source]
class selenium.webdriver.common.bidi.log.LogLevel[source]

Represents log level.

DEBUG = 'debug'
INFO = 'info'
WARN = 'warn'
ERROR = 'error'