MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / Reset

Method Reset

dotnet/src/webdriver/JavaScriptEngine.cs:329–333  ·  view source on GitHub ↗

Asynchronously removes all bindings to JavaScript callbacks, all initialization scripts from being loaded for each document, all pinned scripts, and stops listening for events. A task that represents the asynchronous operation.

()

Source from the content-addressed store, hash-verified

327 /// </summary>
328 /// <returns>A task that represents the asynchronous operation.</returns>
329 public async Task Reset()
330 {
331 this.StopEventMonitoring();
332 await ClearAll().ConfigureAwait(false);
333 }
334
335 /// <summary>
336 /// Releases all resources associated with this <see cref="JavaScriptEngine"/>.

Callers

nothing calls this directly

Calls 1

StopEventMonitoringMethod · 0.95

Tested by

no test coverage detected