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

Method ClearAll

dotnet/src/webdriver/JavaScriptEngine.cs:316–321  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

314 /// </summary>
315 /// <returns>A task that represents the asynchronous operation.</returns>
316 public async Task ClearAll()
317 {
318 await this.ClearPinnedScripts().ConfigureAwait(false);
319 await this.ClearInitializationScripts().ConfigureAwait(false);
320 await this.ClearScriptCallbackBindings().ConfigureAwait(false);
321 }
322
323 /// <summary>
324 /// Asynchronously removes all bindings to JavaScript callbacks, all

Calls 3

ClearPinnedScriptsMethod · 0.95