An NDoc Documented Class Library |

# ISelenium.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.)

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

#### See Also

ISelenium Interface | Selenium Namespace