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
Copy file name to clipboardExpand all lines: lib/PuppeteerSharp/Extensions.cs
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,17 @@ namespace PuppeteerSharp
7
7
/// </summary>
8
8
publicstaticclassExtensions
9
9
{
10
+
/// <summary>
11
+
/// Runs <paramref name="pageFunction"/> within the frame and passes it the outcome of <paramref name="elementHandleTask"/> as the first argument
12
+
/// </summary>
13
+
/// <param name="elementHandleTask">A task that returns an <see cref="ElementHandle"/> that will be used as the first argument in <paramref name="pageFunction"/></param>
14
+
/// <param name="pageFunction">Function to be evaluated in browser context</param>
15
+
/// <param name="args">Arguments to pass to <c>pageFunction</c></param>
16
+
/// <returns>Task</returns>
17
+
/// <exception cref="SelectorException">If <paramref name="elementHandleTask"/> resolves to <c>null</c></exception>
/// Runs <paramref name="pageFunction"/> within the frame and passes it the outcome of <paramref name="arrayHandleTask"/> as the first argument. Use only after <see cref="Page.QuerySelectorAllHandleAsync(string)"/>
67
+
/// </summary>
68
+
/// <param name="arrayHandleTask">A task that returns an <see cref="JSHandle"/> that represents an array of <see cref="ElementHandle"/> that will be used as the first argument in <paramref name="pageFunction"/></param>
69
+
/// <param name="pageFunction">Function to be evaluated in browser context</param>
70
+
/// <param name="args">Arguments to pass to <c>pageFunction</c></param>
/// Runs <paramref name="pageFunction"/> within the frame and passes it the outcome of <paramref name="arrayHandleTask"/> as the first argument. Use only after <see cref="Page.QuerySelectorAllHandleAsync(string)"/>
0 commit comments