Class
JavascriptConsoleError

A JavaScript error intercepted from the browser console

Definition

Namespace:ArtOfTest.WebAii.Javascript

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
[DataContract]
public class JavascriptConsoleError

Inheritance: objectJavascriptConsoleError

Constructors

JavascriptConsoleError(string, int)

Creates a new instance of the JavascriptConsoleError class

Declaration

cs-api-definition
public JavascriptConsoleError(string errorContent, int numberOfOccurrences)

Parameters

errorContent

string

The content of the error

numberOfOccurrences

int

The number of times it has occurred

Properties

ErrorContent

The content of the JavaScript console error

Declaration

cs-api-definition
[DataMember]
public string ErrorContent { get; }

Property Value

string

NumberOfOccurences

The number of times the error has occurred

Declaration

cs-api-definition
[DataMember]
public int NumberOfOccurences { get; }

Property Value

int

Methods

ToString()

A string representation of the JavaScript console error

Declaration

cs-api-definition
public override string ToString()

Returns

string

A string containing the number of occurrences and the error content

Overrides object.ToString()