Struct playwright::api::console_message::ConsoleMessage[][src]

pub struct ConsoleMessage { /* fields omitted */ }

ConsoleMessage objects are dispatched by page via the page::Event::Console event.

Implementations

impl ConsoleMessage[src]

pub fn type(&self) -> Result<String, Error>[src]

One of the following values: 'log', 'debug', 'info', 'error', 'warning', 'dir', 'dirxml', 'table', 'trace', 'clear', 'startGroup', 'startGroupCollapsed', 'endGroup', 'assert', 'profile', 'profileEnd', 'count', 'timeEnd'.

pub fn text(&self) -> Result<String, Error>[src]

pub fn location(&self) -> Result<SourceLocation, Error>[src]

URL of the resource followed by 0-based line and column numbers in the resource formatted as URL:line:column.

pub fn args(&self) -> Result<Vec<JsHandle>, Error>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.