Tungsten v0.1.0 Tungsten.CDP.Console View Source
This domain is deprecated - use Runtime or Log instead.
Link to this section Summary
Link to this section Types
Link to this type
cdp_console_message_type()
View Source
cdp_console_message_type()
View Source
cdp_console_message_type() :: %{
:source =>
:worker
| :deprecation
| :other
| :security
| :rendering
| :appcache
| :storage
| :"console-api"
| :network
| :javascript
| :xml,
:level => :info | :debug | :error | :warning | :log,
:text => String.t(),
optional(:url) => String.t(),
optional(:line) => integer(),
optional(:column) => integer()
}
cdp_console_message_type() :: %{
:source =>
:worker
| :deprecation
| :other
| :security
| :rendering
| :appcache
| :storage
| :"console-api"
| :network
| :javascript
| :xml,
:level => :info | :debug | :error | :warning | :log,
:text => String.t(),
optional(:url) => String.t(),
optional(:line) => integer(),
optional(:column) => integer()
}
Console message.
Link to this section Functions
Link to this function
clear_messages(session, parameters \\ %{}, options \\ [])
View Source
clear_messages(session, parameters \\ %{}, options \\ [])
View Source
clear_messages(GenServer.server(), map(), Tungsten.Connection.exec_options()) ::
{:ok, map()} | {:error, term()}
clear_messages(GenServer.server(), map(), Tungsten.Connection.exec_options()) :: {:ok, map()} | {:error, term()}
Does nothing.
Link to this function
disable(session, parameters \\ %{}, options \\ [])
View Source
disable(session, parameters \\ %{}, options \\ [])
View Source
disable(GenServer.server(), map(), Tungsten.Connection.exec_options()) ::
{:ok, map()} | {:error, term()}
disable(GenServer.server(), map(), Tungsten.Connection.exec_options()) :: {:ok, map()} | {:error, term()}
Disables console domain, prevents further console messages from being reported to the client.
Link to this function
enable(session, parameters \\ %{}, options \\ [])
View Source
enable(session, parameters \\ %{}, options \\ [])
View Source
enable(GenServer.server(), map(), Tungsten.Connection.exec_options()) ::
{:ok, map()} | {:error, term()}
enable(GenServer.server(), map(), Tungsten.Connection.exec_options()) :: {:ok, map()} | {:error, term()}
Enables console domain, sends the messages collected so far to the client by means of the
messageAdded notification.