internal async Task <IElementHandle> AddScriptTagAsync(bool isPageCall, string url, string path, string content, string type) { if (!string.IsNullOrEmpty(path)) { content = File.ReadAllText(path); content += "//# sourceURL=" + path.Replace("\n", string.Empty); } return((await _channel.AddScriptTagAsync(url, path, content, type, isPageCall).ConfigureAwait(false)).Object); }