Skip to content

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

docs: change the position argument location in check functions (#6191)

Darío Kondratiuk9da718d6d536
diff --git a/docs/src/api/class-elementhandle.md b/docs/src/api/class-elementhandle.md
index a45bc8782f..d40b7f1eb5 100644
--- a/docs/src/api/class-elementhandle.md
+++ b/docs/src/api/class-elementhandle.md
@@ -130,12 +130,12 @@ If the element is detached from the DOM at any moment during the action, this me
When all steps combined have not finished during the specified [`option: timeout`], this method throws a
[TimeoutError]. Passing zero timeout disables this.
+### option: ElementHandle.check.position = %%-input-position-%%
+
### option: ElementHandle.check.force = %%-input-force-%%
### option: ElementHandle.check.noWaitAfter = %%-input-no-wait-after-%%
-### option: ElementHandle.check.position = %%-input-position-%%
-
### option: ElementHandle.check.timeout = %%-input-timeout-%%
### option: ElementHandle.check.trial = %%-input-trial-%%
@@ -790,12 +790,12 @@ If the element is detached from the DOM at any moment during the action, this me
When all steps combined have not finished during the specified [`option: timeout`], this method throws a
[TimeoutError]. Passing zero timeout disables this.
+### option: ElementHandle.uncheck.position = %%-input-position-%%
+
### option: ElementHandle.uncheck.force = %%-input-force-%%
### option: ElementHandle.uncheck.noWaitAfter = %%-input-no-wait-after-%%
-### option: ElementHandle.uncheck.position = %%-input-position-%%
-
### option: ElementHandle.uncheck.timeout = %%-input-timeout-%%
### option: ElementHandle.uncheck.trial = %%-input-trial-%%
diff --git a/docs/src/api/class-frame.md b/docs/src/api/class-frame.md
index 783fc899af..4f946f7a5c 100644
--- a/docs/src/api/class-frame.md
+++ b/docs/src/api/class-frame.md
@@ -169,12 +169,12 @@ When all steps combined have not finished during the specified [`option: timeout
### param: Frame.check.selector = %%-input-selector-%%
+### option: Frame.check.position = %%-input-position-%%
+
### option: Frame.check.force = %%-input-force-%%
### option: Frame.check.noWaitAfter = %%-input-no-wait-after-%%
-### option: Frame.check.position = %%-input-position-%%
-
### option: Frame.check.timeout = %%-input-timeout-%%
### option: Frame.check.trial = %%-input-trial-%%
@@ -1110,12 +1110,12 @@ When all steps combined have not finished during the specified [`option: timeout
### param: Frame.uncheck.selector = %%-input-selector-%%
+### option: Frame.uncheck.position = %%-input-position-%%
+
### option: Frame.uncheck.force = %%-input-force-%%
### option: Frame.uncheck.noWaitAfter = %%-input-no-wait-after-%%
-### option: Frame.uncheck.position = %%-input-position-%%
-
### option: Frame.uncheck.timeout = %%-input-timeout-%%
### option: Frame.uncheck.trial = %%-input-trial-%%
diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md
index 4184b8f4bf..164affe8dd 100644
--- a/docs/src/api/class-page.md
+++ b/docs/src/api/class-page.md
@@ -527,12 +527,12 @@ Shortcut for main frame's [`method: Frame.check`].
### param: Page.check.selector = %%-input-selector-%%
+### option: Page.check.position = %%-input-position-%%
+
### option: Page.check.force = %%-input-force-%%
### option: Page.check.noWaitAfter = %%-input-no-wait-after-%%
-### option: Page.check.position = %%-input-position-%%
-
### option: Page.check.timeout = %%-input-timeout-%%
### option: Page.check.trial = %%-input-trial-%%
@@ -2553,12 +2553,12 @@ Shortcut for main frame's [`method: Frame.uncheck`].
### param: Page.uncheck.selector = %%-input-selector-%%
+### option: Page.uncheck.position = %%-input-position-%%
+
### option: Page.uncheck.force = %%-input-force-%%
### option: Page.uncheck.noWaitAfter = %%-input-no-wait-after-%%
-### option: Page.uncheck.position = %%-input-position-%%
-
### option: Page.uncheck.timeout = %%-input-timeout-%%
### option: Page.uncheck.trial = %%-input-trial-%%