An NDoc Documented Class Library

DefaultSelenium.SetContext Method 

Writes a message to the status bar and adds a note to the browser-side log.

If logLevelThreshold is specified, set the threshold for logging to that level (debug, info, warn, error).

(Note that the browser-side logs will not be sent back to the server, and are invisible to the Client Driver.)

public void SetContext(
   string context,
   string logLevelThreshold
);

Parameters

context
the message to be sent to the browser
logLevelThreshold
one of "debug", "info", "warn", "error", sets the threshold for browser-side logging

Implements

ISelenium.SetContext

See Also

DefaultSelenium Class | Selenium Namespace