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

Method MakeRemovalScript

dotnet/src/webdriver/PinnedScript.cs:76–79  ·  view source on GitHub ↗

Gets the script used to remove the pinned script from the browser.

()

Source from the content-addressed store, hash-verified

74 /// Gets the script used to remove the pinned script from the browser.
75 /// </summary>
76 internal string MakeRemovalScript()
77 {
78 return string.Format(CultureInfo.InvariantCulture, "__webdriver_{0} = undefined", this.Handle);
79 }
80
81 /// <summary>
82 /// Gets or sets the ID of this script.

Callers 1

UnpinScriptMethod · 0.80

Calls 1

FormatMethod · 0.80

Tested by

no test coverage detected