Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: fix docs links for .NET roll (#13787)

Max Schmitta0c24c01c82e
diff --git a/docs/src/api/class-elementhandle.md b/docs/src/api/class-elementhandle.md
index b34bf00572..8d87a44623 100644
--- a/docs/src/api/class-elementhandle.md
+++ b/docs/src/api/class-elementhandle.md
@@ -751,9 +751,9 @@ When all steps combined have not finished during the specified [`option: timeout
## async method: ElementHandle.setInputFiles
Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
-are resolved relative to the the current working directory. For empty array, clears the selected files.
+are resolved relative to the current working directory. For empty array, clears the selected files.
-This method expects [`elementHandle`] to point to an
+This method expects [ElementHandle] to point to an
[input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the `<label>` element that has an associated [control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control), targets the control instead.
diff --git a/docs/src/api/class-filechooser.md b/docs/src/api/class-filechooser.md
index 85e19e4d6b..5bac6f6c25 100644
--- a/docs/src/api/class-filechooser.md
+++ b/docs/src/api/class-filechooser.md
@@ -59,7 +59,7 @@ Returns page this file chooser belongs to.
## async method: FileChooser.setFiles
Sets the value of the file input this chooser is associated with. If some of the `filePaths` are relative paths, then
-they are resolved relative to the the current working directory. For empty array, clears the selected files.
+they are resolved relative to the current working directory. For empty array, clears the selected files.
### param: FileChooser.setFiles.files = %%-input-files-%%
diff --git a/docs/src/api/class-frame.md b/docs/src/api/class-frame.md
index 3c70e01502..823bbe139f 100644
--- a/docs/src/api/class-frame.md
+++ b/docs/src/api/class-frame.md
@@ -1195,7 +1195,7 @@ HTML markup to assign to the page.
## async method: Frame.setInputFiles
Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
-are resolved relative to the the current working directory. For empty array, clears the selected files.
+are resolved relative to the current working directory. For empty array, clears the selected files.
This method expects [`param: selector`] to point to an
[input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the `<label>` element that has an associated [control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control), targets the control instead.
diff --git a/docs/src/api/class-locator.md b/docs/src/api/class-locator.md
index 69c7a1a60b..87b1157e36 100644
--- a/docs/src/api/class-locator.md
+++ b/docs/src/api/class-locator.md
@@ -730,9 +730,9 @@ When all steps combined have not finished during the specified [`option: timeout
## async method: Locator.setInputFiles
Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
-are resolved relative to the the current working directory. For empty array, clears the selected files.
+are resolved relative to the current working directory. For empty array, clears the selected files.
-This method expects [`locator`] to point to an
+This method expects [Locator] to point to an
[input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the `<label>` element that has an associated [control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control), targets the control instead.
### param: Locator.setInputFiles.files = %%-input-files-%%
diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md
index e89ec5e54f..25183bf7af 100644
--- a/docs/src/api/class-page.md
+++ b/docs/src/api/class-page.md
@@ -2897,7 +2897,7 @@ An object containing additional HTTP headers to be sent with every request. All
## async method: Page.setInputFiles
Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
-are resolved relative to the the current working directory. For empty array, clears the selected files.
+are resolved relative to the current working directory. For empty array, clears the selected files.
This method expects [`param: selector`] to point to an
[input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the `<label>` element that has an associated [control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control), targets the control instead.
diff --git a/docs/src/test-runners-python.md b/docs/src/test-runners-python.md
index 9a925968e3..5b76e79b26 100644
--- a/docs/src/test-runners-python.md
+++ b/docs/src/test-runners-python.md
@@ -84,7 +84,7 @@ def test_my_app_is_working(fixture_name):
- `browser_channel`: Browser channel as string.
- `is_chromium`, `is_webkit`, `is_firefox`: Booleans for the respective browser types.
-**Customizing fixture options**: For `browser` and `context` fixtures, use the the following fixtures to define custom launch options.
+**Customizing fixture options**: For `browser` and `context` fixtures, use the following fixtures to define custom launch options.
- `browser_type_launch_args`: Override launch arguments for [`method: BrowserType.launch`]. It should return a Dict.
- `browser_context_args`: Override the options for [`method: Browser.newContext`]. It should return a Dict.
diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts
index db7f6ecf8c..8ffff4456f 100644
--- a/packages/playwright-core/types/types.d.ts
+++ b/packages/playwright-core/types/types.d.ts
@@ -3191,7 +3191,7 @@ export interface Page {
/**
* Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
- * are resolved relative to the the current working directory. For empty array, clears the selected files.
+ * are resolved relative to the current working directory. For empty array, clears the selected files.
*
* This method expects `selector` to point to an
* [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the
@@ -5702,7 +5702,7 @@ export interface Frame {
/**
* Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
- * are resolved relative to the the current working directory. For empty array, clears the selected files.
+ * are resolved relative to the current working directory. For empty array, clears the selected files.
*
* This method expects `selector` to point to an
* [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the
@@ -8390,9 +8390,9 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
/**
* Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
- * are resolved relative to the the current working directory. For empty array, clears the selected files.
+ * are resolved relative to the current working directory. For empty array, clears the selected files.
*
- * This method expects [`elementHandle`] to point to an
+ * This method expects [ElementHandle] to point to an
* [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the
* `<label>` element that has an associated
* [control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control), targets the control instead.
@@ -9669,9 +9669,9 @@ export interface Locator {
/**
* Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
- * are resolved relative to the the current working directory. For empty array, clears the selected files.
+ * are resolved relative to the current working directory. For empty array, clears the selected files.
*
- * This method expects [`locator`] to point to an
+ * This method expects [Locator] to point to an
* [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the
* `<label>` element that has an associated
* [control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control), targets the control instead.
@@ -13805,7 +13805,7 @@ export interface FileChooser {
/**
* Sets the value of the file input this chooser is associated with. If some of the `filePaths` are relative paths, then
- * they are resolved relative to the the current working directory. For empty array, clears the selected files.
+ * they are resolved relative to the current working directory. For empty array, clears the selected files.
* @param files
* @param options
*/
diff --git a/tests/config/experimental.d.ts b/tests/config/experimental.d.ts
index e95ad7703d..98e946ff27 100644
--- a/tests/config/experimental.d.ts
+++ b/tests/config/experimental.d.ts
@@ -3193,7 +3193,7 @@ export interface Page {
/**
* Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
- * are resolved relative to the the current working directory. For empty array, clears the selected files.
+ * are resolved relative to the current working directory. For empty array, clears the selected files.
*
* This method expects `selector` to point to an
* [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the
@@ -5704,7 +5704,7 @@ export interface Frame {
/**
* Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
- * are resolved relative to the the current working directory. For empty array, clears the selected files.
+ * are resolved relative to the current working directory. For empty array, clears the selected files.
*
* This method expects `selector` to point to an
* [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the
@@ -8399,9 +8399,9 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
/**
* Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
- * are resolved relative to the the current working directory. For empty array, clears the selected files.
+ * are resolved relative to the current working directory. For empty array, clears the selected files.
*
- * This method expects [`elementHandle`] to point to an
+ * This method expects [ElementHandle] to point to an
* [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the
* `<label>` element that has an associated
* [control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control), targets the control instead.
@@ -9678,9 +9678,9 @@ export interface Locator {
/**
* Sets the value of the file input to these file paths or files. If some of the `filePaths` are relative paths, then they
- * are resolved relative to the the current working directory. For empty array, clears the selected files.
+ * are resolved relative to the current working directory. For empty array, clears the selected files.
*
- * This method expects [`locator`] to point to an
+ * This method expects [Locator] to point to an
* [input element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input). However, if the element is inside the
* `<label>` element that has an associated
* [control](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement/control), targets the control instead.
@@ -13814,7 +13814,7 @@ export interface FileChooser {
/**
* Sets the value of the file input this chooser is associated with. If some of the `filePaths` are relative paths, then
- * they are resolved relative to the the current working directory. For empty array, clears the selected files.
+ * they are resolved relative to the current working directory. For empty array, clears the selected files.
* @param files
* @param options
*/