Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs: always use number for polling option in java (#5519)
Yury Semikhatsky6841da148709
diff --git a/docs/src/api/class-frame.md b/docs/src/api/class-frame.mdindex f11c7b7de0..372d9558cb 100644--- a/docs/src/api/class-frame.md+++ b/docs/src/api/class-frame.md@@ -1086,12 +1086,9 @@ frame.wait_for_function("selector => !!document.querySelector(selector)", selectOptional argument to pass to [`param: expression`].-### option: Frame.waitForFunction.polling-- `polling` <[float]|"raf">+### option: Frame.waitForFunction.polling = %%-js-python-wait-for-function-polling-%%-If [`option: polling`] is `'raf'`, then [`param: expression`] is constantly executed in `requestAnimationFrame`-callback. If [`option: polling`] is a number, then it is treated as an interval in milliseconds at which the function-would be executed. Defaults to `raf`.+### option: Frame.waitForFunction.polling = %%-csharp-java-wait-for-function-polling-%%### option: Frame.waitForFunction.timeout = %%-wait-for-timeout-%%diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.mdindex 5ded6c24ab..284e438347 100644--- a/docs/src/api/class-page.md+++ b/docs/src/api/class-page.md@@ -2411,12 +2411,9 @@ Shortcut for main frame's [`method: Frame.waitForFunction`].Optional argument to pass to [`param: expression`].-### option: Page.waitForFunction.polling-- `polling` <[float]|"raf">+### option: Page.waitForFunction.polling = %%-js-python-wait-for-function-polling-%%-If [`option: polling`] is `'raf'`, then [`param: expression`] is constantly executed in `requestAnimationFrame`-callback. If [`option: polling`] is a number, then it is treated as an interval in milliseconds at which the function-would be executed. Defaults to `raf`.+### option: Page.waitForFunction.polling = %%-csharp-java-wait-for-function-polling-%%### option: Page.waitForFunction.timeout = %%-wait-for-timeout-%%diff --git a/docs/src/api/params.md b/docs/src/api/params.mdindex 0a3c70850c..35511ae37d 100644--- a/docs/src/api/params.md+++ b/docs/src/api/params.md@@ -98,6 +98,20 @@ Defaults to `'visible'`. Can be either:* `'hidden'` - wait for element to be either detached from DOM, or have an empty bounding box or `visibility:hidden`.This is opposite to the `'visible'` option.+## js-python-wait-for-function-polling+* langs: js, python+- `polling` <[float]|"raf">++If [`option: polling`] is `'raf'`, then [`param: expression`] is constantly executed in `requestAnimationFrame`+callback. If [`option: polling`] is a number, then it is treated as an interval in milliseconds at which the function+would be executed. Defaults to `raf`.++## csharp-java-wait-for-function-polling+* langs: csharp, java+- `pollingInterval` <[float]>++If specified, then it is treated as an interval in milliseconds at which the function would be executed. By default if the option is not specified [`param: expression`] is executed in `requestAnimationFrame` callback.+## browser-option-ignoredefaultargs* langs: js, python- `ignoreDefaultArgs` <[boolean]|[Array]<[string]>>