From 80e6a7fe94f4a2dad064ac17806a52e20c8837a8 Mon Sep 17 00:00:00 2001
From: Playwright Service <89237858+playwrightmachine@users.noreply.github.com>
Date: Thu, 27 Jun 2024 03:13:01 -0700
Subject: [PATCH] feat(roll): roll to ToT Playwright (27-06-24) (#1423)
---
dotnet/docs/api/class-browsercontext.mdx | 10 +++-------
dotnet/docs/locators.mdx | 18 ------------------
java/docs/api/class-browsercontext.mdx | 10 +++-------
java/docs/locators.mdx | 18 ------------------
nodejs/docs/api/class-browsercontext.mdx | 10 +++-------
nodejs/docs/locators.mdx | 18 ------------------
python/docs/api/class-browsercontext.mdx | 10 +++-------
python/docs/locators.mdx | 18 ------------------
8 files changed, 12 insertions(+), 100 deletions(-)
diff --git a/dotnet/docs/api/class-browsercontext.mdx b/dotnet/docs/api/class-browsercontext.mdx
index a32f62580f..c76a27d382 100644
--- a/dotnet/docs/api/class-browsercontext.mdx
+++ b/dotnet/docs/api/class-browsercontext.mdx
@@ -53,13 +53,13 @@ await context.AddCookiesAsync(new[] { cookie1, cookie2 });
- `Url` [string]? *(optional)*
- either url or domain / path are required. Optional.
+ Either url or domain / path are required. Optional.
- `Domain` [string]? *(optional)*
- either url or domain / path are required Optional.
+ For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com". Either url or domain / path are required. Optional.
- `Path` [string]? *(optional)*
- either url or domain / path are required Optional.
+ Either url or domain / path are required Optional.
- `Expires` [float]? *(optional)*
Unix time in seconds. Optional.
@@ -72,10 +72,6 @@ await context.AddCookiesAsync(new[] { cookie1, cookie2 });
- `SameSite` `enum SameSiteAttribute { Strict, Lax, None }?` *(optional)*
Optional.
-
- Adds cookies to the browser context.
-
- For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com".
**Returns**
- [void]#
diff --git a/dotnet/docs/locators.mdx b/dotnet/docs/locators.mdx
index 2c7bd00647..2234ed6841 100644
--- a/dotnet/docs/locators.mdx
+++ b/dotnet/docs/locators.mdx
@@ -739,24 +739,6 @@ Locate an item by its text content and click it.
await page.GetByText("orange").ClickAsync();
```
-
-
-
- - apple
- - banana
- - orange
-
-
-
-```html
-
- - apple
- - banana
- - orange
-
-```
-
-
#### Filter by text
Use the [Locator.Filter()](/api/class-locator.mdx#locator-filter) to locate a specific item in a list.
diff --git a/java/docs/api/class-browsercontext.mdx b/java/docs/api/class-browsercontext.mdx
index 0d9c23eb76..89aafa12d7 100644
--- a/java/docs/api/class-browsercontext.mdx
+++ b/java/docs/api/class-browsercontext.mdx
@@ -50,13 +50,13 @@ browserContext.addCookies(Arrays.asList(cookieObject1, cookieObject2));
- `setUrl` [String] *(optional)*
- either url or domain / path are required. Optional.
+ Either url or domain / path are required. Optional.
- `setDomain` [String] *(optional)*
- either url or domain / path are required Optional.
+ For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com". Either url or domain / path are required. Optional.
- `setPath` [String] *(optional)*
- either url or domain / path are required Optional.
+ Either url or domain / path are required Optional.
- `setExpires` [double] *(optional)*
Unix time in seconds. Optional.
@@ -69,10 +69,6 @@ browserContext.addCookies(Arrays.asList(cookieObject1, cookieObject2));
- `setSameSite` `enum SameSiteAttribute { STRICT, LAX, NONE }` *(optional)*
Optional.
-
- Adds cookies to the browser context.
-
- For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com".
**Returns**
- [void]#
diff --git a/java/docs/locators.mdx b/java/docs/locators.mdx
index be5524f64e..ca232b6683 100644
--- a/java/docs/locators.mdx
+++ b/java/docs/locators.mdx
@@ -742,24 +742,6 @@ Locate an item by its text content and click it.
page.getByText("orange").click();
```
-
-
-
- - apple
- - banana
- - orange
-
-
-
-```html
-
- - apple
- - banana
- - orange
-
-```
-
-
#### Filter by text
Use the [Locator.filter()](/api/class-locator.mdx#locator-filter) to locate a specific item in a list.
diff --git a/nodejs/docs/api/class-browsercontext.mdx b/nodejs/docs/api/class-browsercontext.mdx
index 563814f1c0..7a51184c69 100644
--- a/nodejs/docs/api/class-browsercontext.mdx
+++ b/nodejs/docs/api/class-browsercontext.mdx
@@ -51,13 +51,13 @@ await browserContext.addCookies([cookieObject1, cookieObject2]);
- `url` [string] *(optional)*
- either url or domain / path are required. Optional.
+ Either url or domain / path are required. Optional.
- `domain` [string] *(optional)*
- either url or domain / path are required Optional.
+ For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com". Either url or domain / path are required. Optional.
- `path` [string] *(optional)*
- either url or domain / path are required Optional.
+ Either url or domain / path are required Optional.
- `expires` [number] *(optional)*
Unix time in seconds. Optional.
@@ -70,10 +70,6 @@ await browserContext.addCookies([cookieObject1, cookieObject2]);
- `sameSite` "Strict" | "Lax" | "None" *(optional)*
Optional.
-
- Adds cookies to the browser context.
-
- For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com".
**Returns**
- [Promise]<[void]>#
diff --git a/nodejs/docs/locators.mdx b/nodejs/docs/locators.mdx
index 814802ad41..72edec7283 100644
--- a/nodejs/docs/locators.mdx
+++ b/nodejs/docs/locators.mdx
@@ -722,24 +722,6 @@ Locate an item by its text content and click it.
await page.getByText('orange').click();
```
-
-
-
- - apple
- - banana
- - orange
-
-
-
-```html
-
- - apple
- - banana
- - orange
-
-```
-
-
#### Filter by text
Use the [locator.filter()](/api/class-locator.mdx#locator-filter) to locate a specific item in a list.
diff --git a/python/docs/api/class-browsercontext.mdx b/python/docs/api/class-browsercontext.mdx
index d5915c3782..42b1ef58f6 100644
--- a/python/docs/api/class-browsercontext.mdx
+++ b/python/docs/api/class-browsercontext.mdx
@@ -97,13 +97,13 @@ await browser_context.add_cookies([cookie_object1, cookie_object2])
- `url` [str] *(optional)*
- either url or domain / path are required. Optional.
+ Either url or domain / path are required. Optional.
- `domain` [str] *(optional)*
- either url or domain / path are required Optional.
+ For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com". Either url or domain / path are required. Optional.
- `path` [str] *(optional)*
- either url or domain / path are required Optional.
+ Either url or domain / path are required Optional.
- `expires` [float] *(optional)*
Unix time in seconds. Optional.
@@ -116,10 +116,6 @@ await browser_context.add_cookies([cookie_object1, cookie_object2])
- `sameSite` "Strict" | "Lax" | "None" *(optional)*
Optional.
-
- Adds cookies to the browser context.
-
- For the cookie to apply to all subdomains as well, prefix domain with a dot, like this: ".example.com".
**Returns**
- [NoneType]#
diff --git a/python/docs/locators.mdx b/python/docs/locators.mdx
index 2c0e01c223..c39c9e1645 100644
--- a/python/docs/locators.mdx
+++ b/python/docs/locators.mdx
@@ -1476,24 +1476,6 @@ await page.get_by_text("orange").click()
-
-
-
- - apple
- - banana
- - orange
-
-
-
-```html
-
- - apple
- - banana
- - orange
-
-```
-
-
#### Filter by text
Use the [locator.filter()](/api/class-locator.mdx#locator-filter) to locate a specific item in a list.