Method
MakeCreationScript
(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. |
Tested by
no test coverage detected