Skip to content

Commit

Permalink
feat(roll): roll to ToT Playwright (18-07-24) (#1445)
Browse files Browse the repository at this point in the history
  • Loading branch information
playwrightmachine authored Jul 18, 2024
1 parent 2d99099 commit fd956a2
Show file tree
Hide file tree
Showing 21 changed files with 1,254 additions and 268 deletions.
84 changes: 69 additions & 15 deletions dotnet/docs/api/class-elementhandle.mdx

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion dotnet/docs/api/class-filechooser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@ await FileChooser.SetFilesAsync(files, options);
- `options` `FileChooserSetFilesOptions?` *(optional)*
- `NoWaitAfter` [bool]? *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="file-chooser-set-files-option-no-wait-after"/><a href="#file-chooser-set-files-option-no-wait-after" class="list-anchor">#</a>

Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to `false`.
:::warning[Deprecated]
This option has no effect.
:::


This option has no effect.
- `Timeout` [float]? *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="file-chooser-set-files-option-timeout"/><a href="#file-chooser-set-files-option-timeout" class="list-anchor">#</a>

Maximum time in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default value can be changed by using the [BrowserContext.SetDefaultTimeout()](/api/class-browsercontext.mdx#browser-context-set-default-timeout) or [Page.SetDefaultTimeout()](/api/class-page.mdx#page-set-default-timeout) methods.
Expand Down
93 changes: 76 additions & 17 deletions dotnet/docs/api/class-frame.mdx

Large diffs are not rendered by default.

105 changes: 87 additions & 18 deletions dotnet/docs/api/class-locator.mdx

Large diffs are not rendered by default.

91 changes: 75 additions & 16 deletions dotnet/docs/api/class-page.mdx

Large diffs are not rendered by default.

84 changes: 69 additions & 15 deletions java/docs/api/class-elementhandle.mdx

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion java/docs/api/class-filechooser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,12 @@ FileChooser.setFiles(files, options);
- `options` `FileChooser.SetFilesOptions` *(optional)*
- `setNoWaitAfter` [boolean] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="file-chooser-set-files-option-no-wait-after"/><a href="#file-chooser-set-files-option-no-wait-after" class="list-anchor">#</a>

Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to `false`.
:::warning[Deprecated]
This option has no effect.
:::


This option has no effect.
- `setTimeout` [double] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="file-chooser-set-files-option-timeout"/><a href="#file-chooser-set-files-option-timeout" class="list-anchor">#</a>

Maximum time in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default value can be changed by using the [BrowserContext.setDefaultTimeout()](/api/class-browsercontext.mdx#browser-context-set-default-timeout) or [Page.setDefaultTimeout()](/api/class-page.mdx#page-set-default-timeout) methods.
Expand Down
93 changes: 76 additions & 17 deletions java/docs/api/class-frame.mdx

Large diffs are not rendered by default.

105 changes: 87 additions & 18 deletions java/docs/api/class-locator.mdx

Large diffs are not rendered by default.

91 changes: 75 additions & 16 deletions java/docs/api/class-page.mdx

Large diffs are not rendered by default.

84 changes: 69 additions & 15 deletions nodejs/docs/api/class-elementhandle.mdx

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion nodejs/docs/api/class-filechooser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,12 @@ await fileChooser.setFiles(files, options);
- `options` [Object] *(optional)*
- `noWaitAfter` [boolean] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="file-chooser-set-files-option-no-wait-after"/><a href="#file-chooser-set-files-option-no-wait-after" class="list-anchor">#</a>

Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to `false`.
:::warning[Deprecated]
This option has no effect.
:::


This option has no effect.
- `timeout` [number] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="file-chooser-set-files-option-timeout"/><a href="#file-chooser-set-files-option-timeout" class="list-anchor">#</a>

Maximum time in milliseconds. Defaults to `0` - no timeout. The default value can be changed via `actionTimeout` option in the config, or by using the [browserContext.setDefaultTimeout()](/api/class-browsercontext.mdx#browser-context-set-default-timeout) or [page.setDefaultTimeout()](/api/class-page.mdx#page-set-default-timeout) methods.
Expand Down
93 changes: 76 additions & 17 deletions nodejs/docs/api/class-frame.mdx

Large diffs are not rendered by default.

105 changes: 87 additions & 18 deletions nodejs/docs/api/class-locator.mdx

Large diffs are not rendered by default.

91 changes: 75 additions & 16 deletions nodejs/docs/api/class-page.mdx

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions nodejs/docs/test-assertions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ test('amount', async () => {
});
```
### Compatibility with expect library
:::note
Do not confuse Playwright's `expect` with the [`expect` library](https://jestjs.io/docs/expect). The latter is not fully integrated with Playwright test runner, so make sure to use Playwright's own `expect`.
:::
Expand Down
84 changes: 69 additions & 15 deletions python/docs/api/class-elementhandle.mdx

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion python/docs/api/class-filechooser.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ file_chooser.set_files(files, **kwargs)
File content
- `no_wait_after` [bool] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="file-chooser-set-files-option-no-wait-after"/><a href="#file-chooser-set-files-option-no-wait-after" class="list-anchor">#</a>

Actions that initiate navigations are waiting for these navigations to happen and for pages to start loading. You can opt out of waiting via setting this flag. You would only need this option in the exceptional cases such as navigating to inaccessible pages. Defaults to `false`.
:::warning[Deprecated]
This option has no effect.
:::


This option has no effect.
- `timeout` [float] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="file-chooser-set-files-option-timeout"/><a href="#file-chooser-set-files-option-timeout" class="list-anchor">#</a>

Maximum time in milliseconds. Defaults to `30000` (30 seconds). Pass `0` to disable timeout. The default value can be changed by using the [browser_context.set_default_timeout()](/api/class-browsercontext.mdx#browser-context-set-default-timeout) or [page.set_default_timeout()](/api/class-page.mdx#page-set-default-timeout) methods.
Expand Down
Loading

0 comments on commit fd956a2

Please sign in to comment.