@@ -333,7 +333,24 @@ public partial interface IBrowserContext
333333 /// </para>
334334 /// </summary>
335335 /// <param name="urls">Optional list of URLs.</param>
336- Task < IReadOnlyList < BrowserContextCookiesResult > > CookiesAsync ( IEnumerable < string > ? urls = default ) ;
336+ Task < IReadOnlyList < BrowserContextCookiesResult > > CookiesAsync ( string urls ) ;
337+
338+ /// <summary>
339+ /// <para>
340+ /// If no URLs are specified, this method returns all cookies. If URLs are specified,
341+ /// only cookies that affect those URLs are returned.
342+ /// </para>
343+ /// </summary>
344+ /// <param name="urls">Optional list of URLs.</param>
345+ Task < IReadOnlyList < BrowserContextCookiesResult > > CookiesAsync ( IEnumerable < string > urls ) ;
346+
347+ /// <summary>
348+ /// <para>
349+ /// If no URLs are specified, this method returns all cookies. If URLs are specified,
350+ /// only cookies that affect those URLs are returned.
351+ /// </para>
352+ /// </summary>
353+ Task < IReadOnlyList < BrowserContextCookiesResult > > CookiesAsync ( ) ;
337354
338355 /// <summary>
339356 /// <para>
@@ -556,9 +573,10 @@ public partial interface IBrowserContext
556573 /// <para>Enabling routing disables http cache.</para>
557574 /// </remarks>
558575 /// <param name="url">
559- /// A glob pattern, regex pattern or predicate receiving <see cref="URL"/> to match
560- /// while routing. When a <see cref="IBrowser.NewContextAsync"/> via the context options
561- /// was provided and the passed URL is a path, it gets merged via the <a href="https://developer.mozilla.org/en-US/docs/Web/API/URL/URL"><c>new
576+ /// A glob pattern, regex pattern, or predicate that receives a <see cref="URL"/> to
577+ /// match during routing. If <see cref="IBrowser.NewContextAsync"/> is set in the context
578+ /// options and the provided URL is a string that does not start with <c>*</c>, it is
579+ /// resolved using the <a href="https://developer.mozilla.org/en-US/docs/Web/API/URL/URL"><c>new
562580 /// URL()</c></a> constructor.
563581 /// </param>
564582 /// <param name="handler">handler function to route the request.</param>
@@ -624,9 +642,10 @@ public partial interface IBrowserContext
624642 /// <para>Enabling routing disables http cache.</para>
625643 /// </remarks>
626644 /// <param name="url">
627- /// A glob pattern, regex pattern or predicate receiving <see cref="URL"/> to match
628- /// while routing. When a <see cref="IBrowser.NewContextAsync"/> via the context options
629- /// was provided and the passed URL is a path, it gets merged via the <a href="https://developer.mozilla.org/en-US/docs/Web/API/URL/URL"><c>new
645+ /// A glob pattern, regex pattern, or predicate that receives a <see cref="URL"/> to
646+ /// match during routing. If <see cref="IBrowser.NewContextAsync"/> is set in the context
647+ /// options and the provided URL is a string that does not start with <c>*</c>, it is
648+ /// resolved using the <a href="https://developer.mozilla.org/en-US/docs/Web/API/URL/URL"><c>new
630649 /// URL()</c></a> constructor.
631650 /// </param>
632651 /// <param name="handler">handler function to route the request.</param>
@@ -692,9 +711,10 @@ public partial interface IBrowserContext
692711 /// <para>Enabling routing disables http cache.</para>
693712 /// </remarks>
694713 /// <param name="url">
695- /// A glob pattern, regex pattern or predicate receiving <see cref="URL"/> to match
696- /// while routing. When a <see cref="IBrowser.NewContextAsync"/> via the context options
697- /// was provided and the passed URL is a path, it gets merged via the <a href="https://developer.mozilla.org/en-US/docs/Web/API/URL/URL"><c>new
714+ /// A glob pattern, regex pattern, or predicate that receives a <see cref="URL"/> to
715+ /// match during routing. If <see cref="IBrowser.NewContextAsync"/> is set in the context
716+ /// options and the provided URL is a string that does not start with <c>*</c>, it is
717+ /// resolved using the <a href="https://developer.mozilla.org/en-US/docs/Web/API/URL/URL"><c>new
698718 /// URL()</c></a> constructor.
699719 /// </param>
700720 /// <param name="handler">handler function to route the request.</param>
0 commit comments