Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions dotnet/docs/api/class-browsercontext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="browser-context-add-cookies-return"/><a href="#browser-context-add-cookies-return" class="list-anchor">#</a>
Expand Down Expand Up @@ -279,6 +282,9 @@ await BrowserContext.CookiesAsync(urls);
- `sameSite` `enum SameSiteAttribute { Strict, Lax, None }`


- `partitionKey` [string]? *(optional)*


---

### ExposeBindingAsync {#browser-context-expose-binding}
Expand Down
5 changes: 5 additions & 0 deletions dotnet/docs/api/class-mouse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions java/docs/api/class-browsercontext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="browser-context-add-cookies-return"/><a href="#browser-context-add-cookies-return" class="list-anchor">#</a>
Expand Down Expand Up @@ -280,6 +283,9 @@ BrowserContext.cookies(urls);
- `sameSite` `enum SameSiteAttribute { STRICT, LAX, NONE }`


- `partitionKey` [String] *(optional)*


---

### exposeBinding {#browser-context-expose-binding}
Expand Down
5 changes: 5 additions & 0 deletions java/docs/api/class-mouse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions nodejs/docs/api/class-browsercontext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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]&lt;[void]&gt;<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="browser-context-add-cookies-return"/><a href="#browser-context-add-cookies-return" class="list-anchor">#</a>
Expand Down Expand Up @@ -290,6 +293,9 @@ await browserContext.cookies(urls);
- `sameSite` "Strict" | "Lax" | "None"


- `partitionKey` [string] *(optional)*


---

### exposeBinding {#browser-context-expose-binding}
Expand Down Expand Up @@ -892,6 +898,9 @@ await browserContext.storageState(options);
- `sameSite` "Strict" | "Lax" | "None"


- `partitionKey` [string] *(optional)*



- `origins` [Array]&lt;[Object]&gt;
- `origin` [string]
Expand Down
5 changes: 5 additions & 0 deletions nodejs/docs/api/class-mouse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions python/docs/api/class-browsercontext.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="browser-context-add-cookies-return"/><a href="#browser-context-add-cookies-return" class="list-anchor">#</a>
Expand Down Expand Up @@ -355,6 +358,9 @@ browser_context.cookies(**kwargs)
- `sameSite` "Strict" | "Lax" | "None"


- `partitionKey` [str] *(optional)*


---

### expect_console_message {#browser-context-wait-for-console-message}
Expand Down Expand Up @@ -1220,6 +1226,9 @@ browser_context.storage_state(**kwargs)
- `sameSite` "Strict" | "Lax" | "None"


- `partitionKey` [str] *(optional)*



- `origins` [List]\[[Dict]\]
- `origin` [str]
Expand Down
5 changes: 5 additions & 0 deletions python/docs/api/class-mouse.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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).

<Tabs
Expand Down
Loading