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

Method MakeCreationScript

dotnet/src/webdriver/PinnedScript.cs:60–63  ·  view source on GitHub ↗
(string scriptHandle, string scriptSource)

Source from the content-addressed store, hash-verified

58 public string Source { get; }
59
60 internal static string MakeCreationScript(string scriptHandle, string scriptSource)
61 {
62 return string.Format(CultureInfo.InvariantCulture, "function __webdriver_{0}(arguments) {{ {1} }}", scriptHandle, scriptSource);
63 }
64
65 /// <summary>
66 /// Gets the script used to execute the pinned script in the browser.

Callers 1

PinScriptMethod · 0.80

Calls 1

FormatMethod · 0.80

Tested by

no test coverage detected