diff --git a/dotnet/docs/api/class-browsercontext.mdx b/dotnet/docs/api/class-browsercontext.mdx index 823469e4e03..fa61afdecbd 100644 --- a/dotnet/docs/api/class-browsercontext.mdx +++ b/dotnet/docs/api/class-browsercontext.mdx @@ -71,6 +71,9 @@ await context.AddCookiesAsync(new[] { cookie1, cookie2 }); - `SameSite` `enum SameSiteAttribute { Strict, Lax, None }?` *(optional)* Optional. + - `PartitionKey` [string]? *(optional)* + + For partitioned third-party cookies (aka [CHIPS](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies)), the partition key. Optional. **Returns** - [void]# @@ -279,6 +282,9 @@ await BrowserContext.CookiesAsync(urls); - `sameSite` `enum SameSiteAttribute { Strict, Lax, None }` + - `partitionKey` [string]? *(optional)* + + --- ### ExposeBindingAsync {#browser-context-expose-binding} diff --git a/dotnet/docs/api/class-mouse.mdx b/dotnet/docs/api/class-mouse.mdx index 65216056577..ace213b7186 100644 --- a/dotnet/docs/api/class-mouse.mdx +++ b/dotnet/docs/api/class-mouse.mdx @@ -9,6 +9,11 @@ import HTMLCard from '@site/src/components/HTMLCard'; The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. +:::tip + +If you want to debug where the mouse moved, you can use the [Trace viewer](../trace-viewer-intro.mdx) or [Playwright Inspector](../running-tests.mdx). A red dot showing the location of the mouse will be shown for every mouse action. +::: + Every `page` object has its own Mouse, accessible with [Page.Mouse](/api/class-page.mdx#page-mouse). ```csharp diff --git a/java/docs/api/class-browsercontext.mdx b/java/docs/api/class-browsercontext.mdx index 8acbce80570..62421904c9d 100644 --- a/java/docs/api/class-browsercontext.mdx +++ b/java/docs/api/class-browsercontext.mdx @@ -69,6 +69,9 @@ browserContext.addCookies(Arrays.asList(cookieObject1, cookieObject2)); - `setSameSite` `enum SameSiteAttribute { STRICT, LAX, NONE }` *(optional)* Optional. + - `setPartitionKey` [String] *(optional)* + + For partitioned third-party cookies (aka [CHIPS](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies)), the partition key. Optional. **Returns** - [void]# @@ -280,6 +283,9 @@ BrowserContext.cookies(urls); - `sameSite` `enum SameSiteAttribute { STRICT, LAX, NONE }` + - `partitionKey` [String] *(optional)* + + --- ### exposeBinding {#browser-context-expose-binding} diff --git a/java/docs/api/class-mouse.mdx b/java/docs/api/class-mouse.mdx index 1bbffe88751..2ce1015698f 100644 --- a/java/docs/api/class-mouse.mdx +++ b/java/docs/api/class-mouse.mdx @@ -9,6 +9,11 @@ import HTMLCard from '@site/src/components/HTMLCard'; The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. +:::tip + +If you want to debug where the mouse moved, you can use the [Trace viewer](../trace-viewer-intro.mdx) or [Playwright Inspector](../running-tests.mdx). A red dot showing the location of the mouse will be shown for every mouse action. +::: + Every `page` object has its own Mouse, accessible with [Page.mouse()](/api/class-page.mdx#page-mouse). ```java diff --git a/nodejs/docs/api/class-browsercontext.mdx b/nodejs/docs/api/class-browsercontext.mdx index a8214fa820e..a7ab89ed94c 100644 --- a/nodejs/docs/api/class-browsercontext.mdx +++ b/nodejs/docs/api/class-browsercontext.mdx @@ -69,6 +69,9 @@ await browserContext.addCookies([cookieObject1, cookieObject2]); - `sameSite` "Strict" | "Lax" | "None" *(optional)* Optional. + - `partitionKey` [string] *(optional)* + + For partitioned third-party cookies (aka [CHIPS](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies)), the partition key. Optional. **Returns** - [Promise]<[void]># @@ -290,6 +293,9 @@ await browserContext.cookies(urls); - `sameSite` "Strict" | "Lax" | "None" + - `partitionKey` [string] *(optional)* + + --- ### exposeBinding {#browser-context-expose-binding} @@ -892,6 +898,9 @@ await browserContext.storageState(options); - `sameSite` "Strict" | "Lax" | "None" + - `partitionKey` [string] *(optional)* + + - `origins` [Array]<[Object]> - `origin` [string] diff --git a/nodejs/docs/api/class-mouse.mdx b/nodejs/docs/api/class-mouse.mdx index 415de779f99..46415239c00 100644 --- a/nodejs/docs/api/class-mouse.mdx +++ b/nodejs/docs/api/class-mouse.mdx @@ -9,6 +9,11 @@ import HTMLCard from '@site/src/components/HTMLCard'; The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. +:::tip + +If you want to debug where the mouse moved, you can use the [Trace viewer](../trace-viewer-intro.mdx) or [Playwright Inspector](../running-tests.mdx). A red dot showing the location of the mouse will be shown for every mouse action. +::: + Every `page` object has its own Mouse, accessible with [page.mouse](/api/class-page.mdx#page-mouse). ```js diff --git a/python/docs/api/class-browsercontext.mdx b/python/docs/api/class-browsercontext.mdx index 7c9303b9b7e..2436bba143d 100644 --- a/python/docs/api/class-browsercontext.mdx +++ b/python/docs/api/class-browsercontext.mdx @@ -115,6 +115,9 @@ await browser_context.add_cookies([cookie_object1, cookie_object2]) - `sameSite` "Strict" | "Lax" | "None" *(optional)* Optional. + - `partitionKey` [str] *(optional)* + + For partitioned third-party cookies (aka [CHIPS](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies)), the partition key. Optional. **Returns** - [NoneType]# @@ -355,6 +358,9 @@ browser_context.cookies(**kwargs) - `sameSite` "Strict" | "Lax" | "None" + - `partitionKey` [str] *(optional)* + + --- ### expect_console_message {#browser-context-wait-for-console-message} @@ -1220,6 +1226,9 @@ browser_context.storage_state(**kwargs) - `sameSite` "Strict" | "Lax" | "None" + - `partitionKey` [str] *(optional)* + + - `origins` [List]\[[Dict]\] - `origin` [str] diff --git a/python/docs/api/class-mouse.mdx b/python/docs/api/class-mouse.mdx index 13f0de0283c..48a001261bd 100644 --- a/python/docs/api/class-mouse.mdx +++ b/python/docs/api/class-mouse.mdx @@ -9,6 +9,11 @@ import HTMLCard from '@site/src/components/HTMLCard'; The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. +:::tip + +If you want to debug where the mouse moved, you can use the [Trace viewer](../trace-viewer-intro.mdx) or [Playwright Inspector](../running-tests.mdx). A red dot showing the location of the mouse will be shown for every mouse action. +::: + Every `page` object has its own Mouse, accessible with [page.mouse](/api/class-page.mdx#page-mouse).