You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.LogWarning("Using Puppeteer to find manifest, no manifest links found in the page at {appUrl}. Page <head> content: {pageContent}",appUrl,headContent);
114
115
returnnull;
115
116
}
116
117
@@ -240,4 +241,32 @@ public ManifestDetector(WebStringCache webStringCache, IPuppeteerService puppete
240
241
returnnull;
241
242
}
242
243
}
244
+
245
+
/// <summary>
246
+
/// Attempts to get the HTML contents of the head element from a Puppeteer page.
247
+
/// </summary>
248
+
/// <param name="page">The Puppeteer page to extract head contents from.</param>
249
+
/// <param name="logger">The logger to use for logging warnings.</param>
250
+
/// <returns>The HTML string of the head element, or null if it doesn't exist or an exception occurs.</returns>
0 commit comments