From 5e9c8407fa6def551451cc631606637549e51659 Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Thu, 31 Jul 2025 12:10:09 -0700 Subject: [PATCH 1/5] chore: support progressive image loading with local assets --- dotnet/docs/actionability.mdx | 1 + dotnet/docs/api-testing.mdx | 1 + dotnet/docs/api/class-clock.mdx | 17 - dotnet/docs/aria-snapshots.mdx | 1 + dotnet/docs/auth.mdx | 1 + dotnet/docs/browser-contexts.mdx | 1 + dotnet/docs/browsers.mdx | 1 + dotnet/docs/ci-intro.mdx | 1 + dotnet/docs/ci.mdx | 1 + dotnet/docs/clock.mdx | 1 + dotnet/docs/codegen-intro.mdx | 1 + dotnet/docs/codegen.mdx | 1 + dotnet/docs/debug.mdx | 1 + dotnet/docs/dialogs.mdx | 1 + dotnet/docs/docker.mdx | 1 + dotnet/docs/downloads.mdx | 1 + dotnet/docs/emulation.mdx | 1 + dotnet/docs/evaluating.mdx | 1 + dotnet/docs/events.mdx | 1 + dotnet/docs/extensibility.mdx | 1 + dotnet/docs/frames.mdx | 1 + dotnet/docs/handles.mdx | 1 + dotnet/docs/input.mdx | 1 + dotnet/docs/intro.mdx | 1 + dotnet/docs/languages.mdx | 1 + dotnet/docs/library.mdx | 1 + dotnet/docs/locators.mdx | 1 + dotnet/docs/mock.mdx | 1 + dotnet/docs/navigations.mdx | 1 + dotnet/docs/network.mdx | 1 + dotnet/docs/other-locators.mdx | 1 + dotnet/docs/pages.mdx | 1 + dotnet/docs/pom.mdx | 1 + dotnet/docs/release-notes.mdx | 1 + dotnet/docs/running-tests.mdx | 1 + dotnet/docs/screenshots.mdx | 1 + dotnet/docs/selenium-grid.mdx | 1 + dotnet/docs/test-assertions.mdx | 1 + dotnet/docs/test-runners.mdx | 1 + dotnet/docs/touch-events.mdx | 1 + dotnet/docs/trace-viewer-intro.mdx | 1 + dotnet/docs/trace-viewer.mdx | 1 + dotnet/docs/videos.mdx | 1 + dotnet/docs/webview2.mdx | 1 + dotnet/docs/writing-tests.mdx | 1 + java/docs/accessibility-testing.mdx | 1 + java/docs/actionability.mdx | 1 + java/docs/api-testing.mdx | 1 + java/docs/api/class-clock.mdx | 17 - java/docs/aria-snapshots.mdx | 1 + java/docs/auth.mdx | 1 + java/docs/browser-contexts.mdx | 1 + java/docs/browsers.mdx | 1 + java/docs/ci-intro.mdx | 1 + java/docs/ci.mdx | 1 + java/docs/clock.mdx | 1 + java/docs/codegen-intro.mdx | 1 + java/docs/codegen.mdx | 1 + java/docs/debug.mdx | 1 + java/docs/dialogs.mdx | 1 + java/docs/docker.mdx | 1 + java/docs/downloads.mdx | 1 + java/docs/emulation.mdx | 1 + java/docs/evaluating.mdx | 1 + java/docs/events.mdx | 1 + java/docs/extensibility.mdx | 1 + java/docs/frames.mdx | 1 + java/docs/handles.mdx | 1 + java/docs/input.mdx | 1 + java/docs/intro.mdx | 1 + java/docs/junit.mdx | 1 + java/docs/languages.mdx | 1 + java/docs/locators.mdx | 1 + java/docs/mock.mdx | 1 + java/docs/navigations.mdx | 1 + java/docs/network.mdx | 1 + java/docs/other-locators.mdx | 1 + java/docs/pages.mdx | 1 + java/docs/pom.mdx | 1 + java/docs/release-notes.mdx | 1 + java/docs/running-tests.mdx | 1 + java/docs/screenshots.mdx | 1 + java/docs/selenium-grid.mdx | 1 + java/docs/test-assertions.mdx | 1 + java/docs/test-runners.mdx | 1 + java/docs/threading.mdx | 1 + java/docs/touch-events.mdx | 1 + java/docs/trace-viewer-intro.mdx | 1 + java/docs/trace-viewer.mdx | 1 + java/docs/videos.mdx | 1 + java/docs/webview2.mdx | 1 + java/docs/writing-tests.mdx | 1 + nodejs/docs/accessibility-testing.mdx | 1 + nodejs/docs/actionability.mdx | 1 + nodejs/docs/api-testing.mdx | 1 + nodejs/docs/api/class-clock.mdx | 17 - nodejs/docs/aria-snapshots.mdx | 1 + nodejs/docs/auth.mdx | 1 + nodejs/docs/best-practices.mdx | 1 + nodejs/docs/browser-contexts.mdx | 1 + nodejs/docs/browsers.mdx | 3 +- nodejs/docs/canary-releases.mdx | 1 + nodejs/docs/chrome-extensions.mdx | 1 + nodejs/docs/ci-intro.mdx | 1 + nodejs/docs/ci.mdx | 1 + nodejs/docs/clock.mdx | 1 + nodejs/docs/codegen-intro.mdx | 1 + nodejs/docs/codegen.mdx | 1 + nodejs/docs/debug.mdx | 1 + nodejs/docs/dialogs.mdx | 1 + nodejs/docs/docker.mdx | 1 + nodejs/docs/downloads.mdx | 1 + nodejs/docs/emulation.mdx | 1 + nodejs/docs/evaluating.mdx | 1 + nodejs/docs/events.mdx | 1 + nodejs/docs/extensibility.mdx | 1 + nodejs/docs/frames.mdx | 1 + nodejs/docs/getting-started-vscode.mdx | 1 + nodejs/docs/handles.mdx | 1 + nodejs/docs/input.mdx | 1 + nodejs/docs/intro.mdx | 1 + nodejs/docs/languages.mdx | 1 + nodejs/docs/library.mdx | 1 + nodejs/docs/locators.mdx | 1 + nodejs/docs/mock-browser.mdx | 1 + nodejs/docs/mock.mdx | 1 + nodejs/docs/navigations.mdx | 1 + nodejs/docs/network.mdx | 1 + nodejs/docs/other-locators.mdx | 1 + nodejs/docs/pages.mdx | 1 + nodejs/docs/pom.mdx | 1 + nodejs/docs/protractor.mdx | 1 + nodejs/docs/puppeteer.mdx | 1 + nodejs/docs/release-notes.mdx | 1 + nodejs/docs/running-tests.mdx | 1 + nodejs/docs/screenshots.mdx | 1 + nodejs/docs/selenium-grid.mdx | 1 + ...ce-workers-experimental-network-events.mdx | 1 + nodejs/docs/test-annotations.mdx | 1 + nodejs/docs/test-assertions.mdx | 1 + nodejs/docs/test-cli.mdx | 1 + nodejs/docs/test-components.mdx | 1 + nodejs/docs/test-configuration.mdx | 1 + nodejs/docs/test-fixtures.mdx | 1 + nodejs/docs/test-global-setup-teardown.mdx | 1 + nodejs/docs/test-parallel.mdx | 1 + nodejs/docs/test-parameterize.mdx | 1 + nodejs/docs/test-projects.mdx | 1 + nodejs/docs/test-reporters.mdx | 1 + nodejs/docs/test-retries.mdx | 1 + nodejs/docs/test-sharding.mdx | 1 + nodejs/docs/test-snapshots.mdx | 1 + nodejs/docs/test-timeouts.mdx | 1 + nodejs/docs/test-typescript.mdx | 1 + nodejs/docs/test-ui-mode.mdx | 1 + nodejs/docs/test-use-options.mdx | 1 + nodejs/docs/test-webserver.mdx | 1 + nodejs/docs/testing-library.mdx | 1 + nodejs/docs/touch-events.mdx | 1 + nodejs/docs/trace-viewer-intro.mdx | 1 + nodejs/docs/trace-viewer.mdx | 1 + nodejs/docs/videos.mdx | 1 + nodejs/docs/webview2.mdx | 1 + nodejs/docs/writing-tests.mdx | 1 + nodejs/docusaurus.config.ts | 9 + package-lock.json | 467 ++++++++++++++++-- package.json | 1 + python/docs/actionability.mdx | 1 + python/docs/api-testing.mdx | 1 + python/docs/api/class-clock.mdx | 17 - python/docs/aria-snapshots.mdx | 1 + python/docs/auth.mdx | 1 + python/docs/browser-contexts.mdx | 1 + python/docs/browsers.mdx | 1 + python/docs/chrome-extensions.mdx | 1 + python/docs/ci-intro.mdx | 1 + python/docs/ci.mdx | 1 + python/docs/clock.mdx | 1 + python/docs/codegen-intro.mdx | 1 + python/docs/codegen.mdx | 1 + python/docs/debug.mdx | 1 + python/docs/dialogs.mdx | 1 + python/docs/docker.mdx | 1 + python/docs/downloads.mdx | 1 + python/docs/emulation.mdx | 1 + python/docs/evaluating.mdx | 1 + python/docs/events.mdx | 1 + python/docs/extensibility.mdx | 1 + python/docs/frames.mdx | 1 + python/docs/handles.mdx | 1 + python/docs/input.mdx | 1 + python/docs/intro.mdx | 1 + python/docs/languages.mdx | 1 + python/docs/library.mdx | 1 + python/docs/locators.mdx | 1 + python/docs/mock.mdx | 1 + python/docs/navigations.mdx | 1 + python/docs/network.mdx | 1 + python/docs/other-locators.mdx | 1 + python/docs/pages.mdx | 1 + python/docs/pom.mdx | 1 + python/docs/release-notes.mdx | 1 + python/docs/running-tests.mdx | 1 + python/docs/screenshots.mdx | 1 + python/docs/selenium-grid.mdx | 1 + python/docs/test-assertions.mdx | 1 + python/docs/test-runners.mdx | 1 + python/docs/touch-events.mdx | 1 + python/docs/trace-viewer-intro.mdx | 1 + python/docs/trace-viewer.mdx | 1 + python/docs/videos.mdx | 1 + python/docs/webview2.mdx | 1 + python/docs/writing-tests.mdx | 1 + src/components/ProgressiveImage/index.tsx | 42 ++ src/generator.js | 6 +- 215 files changed, 676 insertions(+), 125 deletions(-) create mode 100644 src/components/ProgressiveImage/index.tsx diff --git a/dotnet/docs/actionability.mdx b/dotnet/docs/actionability.mdx index 62de3c36f0a..d27df291a37 100644 --- a/dotnet/docs/actionability.mdx +++ b/dotnet/docs/actionability.mdx @@ -5,6 +5,7 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/api-testing.mdx b/dotnet/docs/api-testing.mdx index 53f8f232501..d137b96d62f 100644 --- a/dotnet/docs/api-testing.mdx +++ b/dotnet/docs/api-testing.mdx @@ -5,6 +5,7 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/api/class-clock.mdx b/dotnet/docs/api/class-clock.mdx index 8511c7b2d58..ed4ad039663 100644 --- a/dotnet/docs/api/class-clock.mdx +++ b/dotnet/docs/api/class-clock.mdx @@ -189,23 +189,6 @@ await page.Clock.SetSystemTimeAsync("2020-02-02"); **Returns** - [void]# ---- - -### UninstallAsync {#clock-uninstall} - -Added in: v1.55clock.UninstallAsync - -Uninstall fake clock. Note that any currently open page will be still affected by the fake clock, until it navigates away to a new document. - -**Usage** - -```csharp -await Clock.UninstallAsync(); -``` - -**Returns** -- [void]# - [Accessibility]: /api/class-accessibility.mdx "Accessibility" [APIRequest]: /api/class-apirequest.mdx "APIRequest" diff --git a/dotnet/docs/aria-snapshots.mdx b/dotnet/docs/aria-snapshots.mdx index 60443a16e55..cdfb3405490 100644 --- a/dotnet/docs/aria-snapshots.mdx +++ b/dotnet/docs/aria-snapshots.mdx @@ -5,6 +5,7 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/dotnet/docs/auth.mdx b/dotnet/docs/auth.mdx index b852bb26e1c..8da9603a11d 100644 --- a/dotnet/docs/auth.mdx +++ b/dotnet/docs/auth.mdx @@ -5,6 +5,7 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/browser-contexts.mdx b/dotnet/docs/browser-contexts.mdx index 6ecd9a8c626..9722102913f 100644 --- a/dotnet/docs/browser-contexts.mdx +++ b/dotnet/docs/browser-contexts.mdx @@ -5,6 +5,7 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/browsers.mdx b/dotnet/docs/browsers.mdx index 56090e76f05..dbd08167a81 100644 --- a/dotnet/docs/browsers.mdx +++ b/dotnet/docs/browsers.mdx @@ -5,6 +5,7 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/ci-intro.mdx b/dotnet/docs/ci-intro.mdx index 17f61aed3f7..12bab8262b0 100644 --- a/dotnet/docs/ci-intro.mdx +++ b/dotnet/docs/ci-intro.mdx @@ -5,6 +5,7 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/ci.mdx b/dotnet/docs/ci.mdx index bfa7fbfb2b3..fd085c9dc0d 100644 --- a/dotnet/docs/ci.mdx +++ b/dotnet/docs/ci.mdx @@ -5,6 +5,7 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/clock.mdx b/dotnet/docs/clock.mdx index 07adfe38211..d423e98c0df 100644 --- a/dotnet/docs/clock.mdx +++ b/dotnet/docs/clock.mdx @@ -5,6 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/dotnet/docs/codegen-intro.mdx b/dotnet/docs/codegen-intro.mdx index 0c29067d34e..eb4b7e19373 100644 --- a/dotnet/docs/codegen-intro.mdx +++ b/dotnet/docs/codegen-intro.mdx @@ -5,6 +5,7 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/codegen.mdx b/dotnet/docs/codegen.mdx index 90f4855ac72..6905e03e3ae 100644 --- a/dotnet/docs/codegen.mdx +++ b/dotnet/docs/codegen.mdx @@ -5,6 +5,7 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/dotnet/docs/debug.mdx b/dotnet/docs/debug.mdx index d58c29dd64a..01f13f2c3e5 100644 --- a/dotnet/docs/debug.mdx +++ b/dotnet/docs/debug.mdx @@ -5,6 +5,7 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Playwright Inspector diff --git a/dotnet/docs/dialogs.mdx b/dotnet/docs/dialogs.mdx index 4a330b54729..daa83741383 100644 --- a/dotnet/docs/dialogs.mdx +++ b/dotnet/docs/dialogs.mdx @@ -5,6 +5,7 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/docker.mdx b/dotnet/docs/docker.mdx index dfaa8a434b3..baacdeff9bd 100644 --- a/dotnet/docs/docker.mdx +++ b/dotnet/docs/docker.mdx @@ -5,6 +5,7 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/downloads.mdx b/dotnet/docs/downloads.mdx index 4b2511f751a..39256f620dd 100644 --- a/dotnet/docs/downloads.mdx +++ b/dotnet/docs/downloads.mdx @@ -5,6 +5,7 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/emulation.mdx b/dotnet/docs/emulation.mdx index c5a4d0e4443..a75cb021e16 100644 --- a/dotnet/docs/emulation.mdx +++ b/dotnet/docs/emulation.mdx @@ -5,6 +5,7 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/evaluating.mdx b/dotnet/docs/evaluating.mdx index 2b46f35f916..37cb8f3560e 100644 --- a/dotnet/docs/evaluating.mdx +++ b/dotnet/docs/evaluating.mdx @@ -5,6 +5,7 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/events.mdx b/dotnet/docs/events.mdx index fcc18829fd4..21cd1e09f47 100644 --- a/dotnet/docs/events.mdx +++ b/dotnet/docs/events.mdx @@ -5,6 +5,7 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/extensibility.mdx b/dotnet/docs/extensibility.mdx index 1e4f3948000..10cbf60c571 100644 --- a/dotnet/docs/extensibility.mdx +++ b/dotnet/docs/extensibility.mdx @@ -5,6 +5,7 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Custom selector engines diff --git a/dotnet/docs/frames.mdx b/dotnet/docs/frames.mdx index 84797a050e9..f632f62a18c 100644 --- a/dotnet/docs/frames.mdx +++ b/dotnet/docs/frames.mdx @@ -5,6 +5,7 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/handles.mdx b/dotnet/docs/handles.mdx index 6a8be5b34ce..d6e101af0e9 100644 --- a/dotnet/docs/handles.mdx +++ b/dotnet/docs/handles.mdx @@ -5,6 +5,7 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/input.mdx b/dotnet/docs/input.mdx index 61f5a13abcf..9cb317c50fb 100644 --- a/dotnet/docs/input.mdx +++ b/dotnet/docs/input.mdx @@ -5,6 +5,7 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/intro.mdx b/dotnet/docs/intro.mdx index 6a3189ff8ca..0c2cecee4c3 100644 --- a/dotnet/docs/intro.mdx +++ b/dotnet/docs/intro.mdx @@ -5,6 +5,7 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/languages.mdx b/dotnet/docs/languages.mdx index 2d0b901919e..5ca482a8d53 100644 --- a/dotnet/docs/languages.mdx +++ b/dotnet/docs/languages.mdx @@ -5,6 +5,7 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/library.mdx b/dotnet/docs/library.mdx index c26935acb42..e85dd5abdda 100644 --- a/dotnet/docs/library.mdx +++ b/dotnet/docs/library.mdx @@ -5,6 +5,7 @@ title: "Getting started - Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/locators.mdx b/dotnet/docs/locators.mdx index e961cb4d71a..eced1d43f49 100644 --- a/dotnet/docs/locators.mdx +++ b/dotnet/docs/locators.mdx @@ -5,6 +5,7 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/mock.mdx b/dotnet/docs/mock.mdx index e5eda9b5e8d..b384bcf35bf 100644 --- a/dotnet/docs/mock.mdx +++ b/dotnet/docs/mock.mdx @@ -5,6 +5,7 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/navigations.mdx b/dotnet/docs/navigations.mdx index d60331e1370..7186cc0a593 100644 --- a/dotnet/docs/navigations.mdx +++ b/dotnet/docs/navigations.mdx @@ -5,6 +5,7 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/network.mdx b/dotnet/docs/network.mdx index 512847ea620..ad630bac24b 100644 --- a/dotnet/docs/network.mdx +++ b/dotnet/docs/network.mdx @@ -5,6 +5,7 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/other-locators.mdx b/dotnet/docs/other-locators.mdx index fd34190284d..077f0774325 100644 --- a/dotnet/docs/other-locators.mdx +++ b/dotnet/docs/other-locators.mdx @@ -5,6 +5,7 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/pages.mdx b/dotnet/docs/pages.mdx index beddf404289..7f875fe27a6 100644 --- a/dotnet/docs/pages.mdx +++ b/dotnet/docs/pages.mdx @@ -5,6 +5,7 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Pages diff --git a/dotnet/docs/pom.mdx b/dotnet/docs/pom.mdx index da302a6704a..6a08f8169eb 100644 --- a/dotnet/docs/pom.mdx +++ b/dotnet/docs/pom.mdx @@ -5,6 +5,7 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/release-notes.mdx b/dotnet/docs/release-notes.mdx index 0945d31bb7a..ee9d23343cc 100644 --- a/dotnet/docs/release-notes.mdx +++ b/dotnet/docs/release-notes.mdx @@ -6,6 +6,7 @@ toc_max_heading_level: 2 import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Version 1.54 diff --git a/dotnet/docs/running-tests.mdx b/dotnet/docs/running-tests.mdx index 067d518eb90..ae14a7c2b95 100644 --- a/dotnet/docs/running-tests.mdx +++ b/dotnet/docs/running-tests.mdx @@ -5,6 +5,7 @@ title: "Running and debugging tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/screenshots.mdx b/dotnet/docs/screenshots.mdx index c72ce7fdfec..625ea9729ba 100644 --- a/dotnet/docs/screenshots.mdx +++ b/dotnet/docs/screenshots.mdx @@ -5,6 +5,7 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/selenium-grid.mdx b/dotnet/docs/selenium-grid.mdx index 36dd5988d41..a4e0b592735 100644 --- a/dotnet/docs/selenium-grid.mdx +++ b/dotnet/docs/selenium-grid.mdx @@ -5,6 +5,7 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/test-assertions.mdx b/dotnet/docs/test-assertions.mdx index 93eeb4cfa16..019315fc7cc 100644 --- a/dotnet/docs/test-assertions.mdx +++ b/dotnet/docs/test-assertions.mdx @@ -5,6 +5,7 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## List of assertions diff --git a/dotnet/docs/test-runners.mdx b/dotnet/docs/test-runners.mdx index 70a4c25aad5..6c2227a938b 100644 --- a/dotnet/docs/test-runners.mdx +++ b/dotnet/docs/test-runners.mdx @@ -5,6 +5,7 @@ title: "Test Runners" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/touch-events.mdx b/dotnet/docs/touch-events.mdx index 247e46af8f8..378a315ce57 100644 --- a/dotnet/docs/touch-events.mdx +++ b/dotnet/docs/touch-events.mdx @@ -5,6 +5,7 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/trace-viewer-intro.mdx b/dotnet/docs/trace-viewer-intro.mdx index 99bd16f1635..15e78a64184 100644 --- a/dotnet/docs/trace-viewer-intro.mdx +++ b/dotnet/docs/trace-viewer-intro.mdx @@ -5,6 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/trace-viewer.mdx b/dotnet/docs/trace-viewer.mdx index 4098118c627..7229d8cac19 100644 --- a/dotnet/docs/trace-viewer.mdx +++ b/dotnet/docs/trace-viewer.mdx @@ -5,6 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/dotnet/docs/videos.mdx b/dotnet/docs/videos.mdx index 4c1e43e1390..db3c9435375 100644 --- a/dotnet/docs/videos.mdx +++ b/dotnet/docs/videos.mdx @@ -5,6 +5,7 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/webview2.mdx b/dotnet/docs/webview2.mdx index e2a47effd31..6dca3e578fa 100644 --- a/dotnet/docs/webview2.mdx +++ b/dotnet/docs/webview2.mdx @@ -5,6 +5,7 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/writing-tests.mdx b/dotnet/docs/writing-tests.mdx index 14756f75102..4e5bfeb7ddf 100644 --- a/dotnet/docs/writing-tests.mdx +++ b/dotnet/docs/writing-tests.mdx @@ -5,6 +5,7 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/accessibility-testing.mdx b/java/docs/accessibility-testing.mdx index e6f0cd9d490..036be71a4d0 100644 --- a/java/docs/accessibility-testing.mdx +++ b/java/docs/accessibility-testing.mdx @@ -5,6 +5,7 @@ title: "Accessibility testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/actionability.mdx b/java/docs/actionability.mdx index b56e8201110..78226058b00 100644 --- a/java/docs/actionability.mdx +++ b/java/docs/actionability.mdx @@ -5,6 +5,7 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/api-testing.mdx b/java/docs/api-testing.mdx index 9e9e31ddaef..d2d19b8c935 100644 --- a/java/docs/api-testing.mdx +++ b/java/docs/api-testing.mdx @@ -5,6 +5,7 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/api/class-clock.mdx b/java/docs/api/class-clock.mdx index 370ed3ad5d2..8524d9b7d75 100644 --- a/java/docs/api/class-clock.mdx +++ b/java/docs/api/class-clock.mdx @@ -200,23 +200,6 @@ page.clock().setSystemTime("2020-02-02"); **Returns** - [void]# ---- - -### uninstall {#clock-uninstall} - -Added in: v1.55clock.uninstall - -Uninstall fake clock. Note that any currently open page will be still affected by the fake clock, until it navigates away to a new document. - -**Usage** - -```java -Clock.uninstall(); -``` - -**Returns** -- [void]# - [APIRequest]: /api/class-apirequest.mdx "APIRequest" [APIRequestContext]: /api/class-apirequestcontext.mdx "APIRequestContext" diff --git a/java/docs/aria-snapshots.mdx b/java/docs/aria-snapshots.mdx index df92b9876cb..7a86f396b0d 100644 --- a/java/docs/aria-snapshots.mdx +++ b/java/docs/aria-snapshots.mdx @@ -5,6 +5,7 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/java/docs/auth.mdx b/java/docs/auth.mdx index 2a0d6f5f037..6251191f09a 100644 --- a/java/docs/auth.mdx +++ b/java/docs/auth.mdx @@ -5,6 +5,7 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/browser-contexts.mdx b/java/docs/browser-contexts.mdx index 2ad715392d4..c260ff73b08 100644 --- a/java/docs/browser-contexts.mdx +++ b/java/docs/browser-contexts.mdx @@ -5,6 +5,7 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/browsers.mdx b/java/docs/browsers.mdx index 972f6e90796..6ad4d88738a 100644 --- a/java/docs/browsers.mdx +++ b/java/docs/browsers.mdx @@ -5,6 +5,7 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/ci-intro.mdx b/java/docs/ci-intro.mdx index 84423e6c59a..76bcc0acf9c 100644 --- a/java/docs/ci-intro.mdx +++ b/java/docs/ci-intro.mdx @@ -5,6 +5,7 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/ci.mdx b/java/docs/ci.mdx index 33d3c9f91c0..df3bc38e03e 100644 --- a/java/docs/ci.mdx +++ b/java/docs/ci.mdx @@ -5,6 +5,7 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/clock.mdx b/java/docs/clock.mdx index 64655dd6fb1..98efe3f70bc 100644 --- a/java/docs/clock.mdx +++ b/java/docs/clock.mdx @@ -5,6 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/java/docs/codegen-intro.mdx b/java/docs/codegen-intro.mdx index e36f0714e75..9ff9dfc7aa9 100644 --- a/java/docs/codegen-intro.mdx +++ b/java/docs/codegen-intro.mdx @@ -5,6 +5,7 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/codegen.mdx b/java/docs/codegen.mdx index 1d5ec814d2c..556ea98cd85 100644 --- a/java/docs/codegen.mdx +++ b/java/docs/codegen.mdx @@ -5,6 +5,7 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/java/docs/debug.mdx b/java/docs/debug.mdx index d72575da6ba..604b4f0d5b8 100644 --- a/java/docs/debug.mdx +++ b/java/docs/debug.mdx @@ -5,6 +5,7 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Playwright Inspector diff --git a/java/docs/dialogs.mdx b/java/docs/dialogs.mdx index 9f984d4bfd5..dbc9312fcfd 100644 --- a/java/docs/dialogs.mdx +++ b/java/docs/dialogs.mdx @@ -5,6 +5,7 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/docker.mdx b/java/docs/docker.mdx index 84417c62018..e730a81db7b 100644 --- a/java/docs/docker.mdx +++ b/java/docs/docker.mdx @@ -5,6 +5,7 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/downloads.mdx b/java/docs/downloads.mdx index ef37e8effa6..f36ac08e30e 100644 --- a/java/docs/downloads.mdx +++ b/java/docs/downloads.mdx @@ -5,6 +5,7 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/emulation.mdx b/java/docs/emulation.mdx index e9ab0fed3f8..b436fdb9a65 100644 --- a/java/docs/emulation.mdx +++ b/java/docs/emulation.mdx @@ -5,6 +5,7 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/evaluating.mdx b/java/docs/evaluating.mdx index c584364e5df..6e27836bb6f 100644 --- a/java/docs/evaluating.mdx +++ b/java/docs/evaluating.mdx @@ -5,6 +5,7 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/events.mdx b/java/docs/events.mdx index 8c3a6624ae8..edd9c48cd05 100644 --- a/java/docs/events.mdx +++ b/java/docs/events.mdx @@ -5,6 +5,7 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/extensibility.mdx b/java/docs/extensibility.mdx index 2e2e4efe5f3..42fafb41f1d 100644 --- a/java/docs/extensibility.mdx +++ b/java/docs/extensibility.mdx @@ -5,6 +5,7 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Custom selector engines diff --git a/java/docs/frames.mdx b/java/docs/frames.mdx index 0e01dba06f1..ae926029c3a 100644 --- a/java/docs/frames.mdx +++ b/java/docs/frames.mdx @@ -5,6 +5,7 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/handles.mdx b/java/docs/handles.mdx index d8e8c3824dc..fc7c673dffb 100644 --- a/java/docs/handles.mdx +++ b/java/docs/handles.mdx @@ -5,6 +5,7 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/input.mdx b/java/docs/input.mdx index 1527d1df3db..c3d95925258 100644 --- a/java/docs/input.mdx +++ b/java/docs/input.mdx @@ -5,6 +5,7 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/intro.mdx b/java/docs/intro.mdx index 3702f780d06..7cd57b9781c 100644 --- a/java/docs/intro.mdx +++ b/java/docs/intro.mdx @@ -5,6 +5,7 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/junit.mdx b/java/docs/junit.mdx index 8cd9ee7b427..e01dc2413fb 100644 --- a/java/docs/junit.mdx +++ b/java/docs/junit.mdx @@ -5,6 +5,7 @@ title: "JUnit (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/languages.mdx b/java/docs/languages.mdx index a2504016d9e..3feb7f1c1cd 100644 --- a/java/docs/languages.mdx +++ b/java/docs/languages.mdx @@ -5,6 +5,7 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/locators.mdx b/java/docs/locators.mdx index cbb508e2a73..1ce81309bf2 100644 --- a/java/docs/locators.mdx +++ b/java/docs/locators.mdx @@ -5,6 +5,7 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/mock.mdx b/java/docs/mock.mdx index 4e102340503..4845d9c461d 100644 --- a/java/docs/mock.mdx +++ b/java/docs/mock.mdx @@ -5,6 +5,7 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/navigations.mdx b/java/docs/navigations.mdx index 5d29509f164..2d85f93572a 100644 --- a/java/docs/navigations.mdx +++ b/java/docs/navigations.mdx @@ -5,6 +5,7 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/network.mdx b/java/docs/network.mdx index 97c34f97b68..8c3ee3024f6 100644 --- a/java/docs/network.mdx +++ b/java/docs/network.mdx @@ -5,6 +5,7 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/other-locators.mdx b/java/docs/other-locators.mdx index 66b256c5cd5..98c3a2aa54f 100644 --- a/java/docs/other-locators.mdx +++ b/java/docs/other-locators.mdx @@ -5,6 +5,7 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/pages.mdx b/java/docs/pages.mdx index 62e190dc35a..dff7f705a27 100644 --- a/java/docs/pages.mdx +++ b/java/docs/pages.mdx @@ -5,6 +5,7 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Pages diff --git a/java/docs/pom.mdx b/java/docs/pom.mdx index 25a69f6b6b8..978b2763fce 100644 --- a/java/docs/pom.mdx +++ b/java/docs/pom.mdx @@ -5,6 +5,7 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/release-notes.mdx b/java/docs/release-notes.mdx index 65df07e9f06..ba5e61f010a 100644 --- a/java/docs/release-notes.mdx +++ b/java/docs/release-notes.mdx @@ -6,6 +6,7 @@ toc_max_heading_level: 2 import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Version 1.54 diff --git a/java/docs/running-tests.mdx b/java/docs/running-tests.mdx index 51e9aa9e33a..da5c7a223b9 100644 --- a/java/docs/running-tests.mdx +++ b/java/docs/running-tests.mdx @@ -5,6 +5,7 @@ title: "Running and debugging tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/screenshots.mdx b/java/docs/screenshots.mdx index 90dbb322a90..4b3e2b80fc5 100644 --- a/java/docs/screenshots.mdx +++ b/java/docs/screenshots.mdx @@ -5,6 +5,7 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/selenium-grid.mdx b/java/docs/selenium-grid.mdx index 87a1a1d154e..31d0b5c4332 100644 --- a/java/docs/selenium-grid.mdx +++ b/java/docs/selenium-grid.mdx @@ -5,6 +5,7 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/test-assertions.mdx b/java/docs/test-assertions.mdx index 88dc40b867c..e84b434f9e8 100644 --- a/java/docs/test-assertions.mdx +++ b/java/docs/test-assertions.mdx @@ -5,6 +5,7 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## List of assertions diff --git a/java/docs/test-runners.mdx b/java/docs/test-runners.mdx index 62419497b86..370c5551d43 100644 --- a/java/docs/test-runners.mdx +++ b/java/docs/test-runners.mdx @@ -5,6 +5,7 @@ title: "Test Runners" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/threading.mdx b/java/docs/threading.mdx index e97e36a486b..61d6af123c6 100644 --- a/java/docs/threading.mdx +++ b/java/docs/threading.mdx @@ -5,6 +5,7 @@ title: "Multithreading" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/touch-events.mdx b/java/docs/touch-events.mdx index 1041b23f9af..ae4e5a2cda3 100644 --- a/java/docs/touch-events.mdx +++ b/java/docs/touch-events.mdx @@ -5,6 +5,7 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/trace-viewer-intro.mdx b/java/docs/trace-viewer-intro.mdx index 1110c26c0a2..0405444e08d 100644 --- a/java/docs/trace-viewer-intro.mdx +++ b/java/docs/trace-viewer-intro.mdx @@ -5,6 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/trace-viewer.mdx b/java/docs/trace-viewer.mdx index b446e1d01a6..eb829172e11 100644 --- a/java/docs/trace-viewer.mdx +++ b/java/docs/trace-viewer.mdx @@ -5,6 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/java/docs/videos.mdx b/java/docs/videos.mdx index 53b66491503..63cb5a899d7 100644 --- a/java/docs/videos.mdx +++ b/java/docs/videos.mdx @@ -5,6 +5,7 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/webview2.mdx b/java/docs/webview2.mdx index 394d4f055ff..2c90e4eb5a6 100644 --- a/java/docs/webview2.mdx +++ b/java/docs/webview2.mdx @@ -5,6 +5,7 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/java/docs/writing-tests.mdx b/java/docs/writing-tests.mdx index 95018cbf098..0d1e9abd607 100644 --- a/java/docs/writing-tests.mdx +++ b/java/docs/writing-tests.mdx @@ -5,6 +5,7 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/accessibility-testing.mdx b/nodejs/docs/accessibility-testing.mdx index 1001896d000..4f1c73af21a 100644 --- a/nodejs/docs/accessibility-testing.mdx +++ b/nodejs/docs/accessibility-testing.mdx @@ -5,6 +5,7 @@ title: "Accessibility testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/actionability.mdx b/nodejs/docs/actionability.mdx index c1a305d5eb9..9cf81f0b23f 100644 --- a/nodejs/docs/actionability.mdx +++ b/nodejs/docs/actionability.mdx @@ -5,6 +5,7 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/api-testing.mdx b/nodejs/docs/api-testing.mdx index 45f4e7a5af0..1258da0ace6 100644 --- a/nodejs/docs/api-testing.mdx +++ b/nodejs/docs/api-testing.mdx @@ -5,6 +5,7 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/api/class-clock.mdx b/nodejs/docs/api/class-clock.mdx index 65042be53a5..20fdb94a376 100644 --- a/nodejs/docs/api/class-clock.mdx +++ b/nodejs/docs/api/class-clock.mdx @@ -198,23 +198,6 @@ await page.clock.setSystemTime('2020-02-02'); **Returns** - [Promise]<[void]># ---- - -### uninstall {#clock-uninstall} - -Added in: v1.55clock.uninstall - -Uninstall fake clock. Note that any currently open page will be still affected by the fake clock, until it navigates away to a new document. - -**Usage** - -```js -await clock.uninstall(); -``` - -**Returns** -- [Promise]<[void]># - [Accessibility]: /api/class-accessibility.mdx "Accessibility" [Android]: /api/class-android.mdx "Android" diff --git a/nodejs/docs/aria-snapshots.mdx b/nodejs/docs/aria-snapshots.mdx index 928ed1d5483..f6034990164 100644 --- a/nodejs/docs/aria-snapshots.mdx +++ b/nodejs/docs/aria-snapshots.mdx @@ -5,6 +5,7 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/auth.mdx b/nodejs/docs/auth.mdx index b5810db4e34..378b7cfab82 100644 --- a/nodejs/docs/auth.mdx +++ b/nodejs/docs/auth.mdx @@ -5,6 +5,7 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/best-practices.mdx b/nodejs/docs/best-practices.mdx index b014115c576..3144fa4312e 100644 --- a/nodejs/docs/best-practices.mdx +++ b/nodejs/docs/best-practices.mdx @@ -5,6 +5,7 @@ title: "Best Practices" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/browser-contexts.mdx b/nodejs/docs/browser-contexts.mdx index d9e7f0c5fbd..1ef10d2a58a 100644 --- a/nodejs/docs/browser-contexts.mdx +++ b/nodejs/docs/browser-contexts.mdx @@ -5,6 +5,7 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/browsers.mdx b/nodejs/docs/browsers.mdx index 0f00b7260b8..baa8711c763 100644 --- a/nodejs/docs/browsers.mdx +++ b/nodejs/docs/browsers.mdx @@ -5,6 +5,7 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction @@ -149,7 +150,7 @@ Running 1 test using 1 worker With the VS Code extension you can run your tests on different browsers by checking the checkbox next to the browser name in the Playwright sidebar. These names are defined in your Playwright config file under the projects section. The default config when installing Playwright gives you 3 projects, Chromium, Firefox and WebKit. The first project is selected by default. -![Projects section in VS Code extension](../images/vscode-projects-section.png) + To run tests on multiple projects(browsers), select each project by checking the checkboxes next to the project name. diff --git a/nodejs/docs/canary-releases.mdx b/nodejs/docs/canary-releases.mdx index 9340c37001d..9fb67e92718 100644 --- a/nodejs/docs/canary-releases.mdx +++ b/nodejs/docs/canary-releases.mdx @@ -5,6 +5,7 @@ title: "Canary releases" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/chrome-extensions.mdx b/nodejs/docs/chrome-extensions.mdx index a0b1c340890..eb7f9afa62d 100644 --- a/nodejs/docs/chrome-extensions.mdx +++ b/nodejs/docs/chrome-extensions.mdx @@ -5,6 +5,7 @@ title: "Chrome extensions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/ci-intro.mdx b/nodejs/docs/ci-intro.mdx index 449ecb91099..1fac1ebbd8e 100644 --- a/nodejs/docs/ci-intro.mdx +++ b/nodejs/docs/ci-intro.mdx @@ -5,6 +5,7 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/ci.mdx b/nodejs/docs/ci.mdx index cbc1beb66fe..e1965c41932 100644 --- a/nodejs/docs/ci.mdx +++ b/nodejs/docs/ci.mdx @@ -5,6 +5,7 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/clock.mdx b/nodejs/docs/clock.mdx index beb1a663ae9..3e7d543b013 100644 --- a/nodejs/docs/clock.mdx +++ b/nodejs/docs/clock.mdx @@ -5,6 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/codegen-intro.mdx b/nodejs/docs/codegen-intro.mdx index 0020535bcae..a47076ef12a 100644 --- a/nodejs/docs/codegen-intro.mdx +++ b/nodejs/docs/codegen-intro.mdx @@ -5,6 +5,7 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/codegen.mdx b/nodejs/docs/codegen.mdx index f38a1d9f376..3c3750e82a5 100644 --- a/nodejs/docs/codegen.mdx +++ b/nodejs/docs/codegen.mdx @@ -5,6 +5,7 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/debug.mdx b/nodejs/docs/debug.mdx index 1ea5f659d0c..2cbd7cebbed 100644 --- a/nodejs/docs/debug.mdx +++ b/nodejs/docs/debug.mdx @@ -5,6 +5,7 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## VS Code debugger diff --git a/nodejs/docs/dialogs.mdx b/nodejs/docs/dialogs.mdx index a8584745ad5..0853eb12cca 100644 --- a/nodejs/docs/dialogs.mdx +++ b/nodejs/docs/dialogs.mdx @@ -5,6 +5,7 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/docker.mdx b/nodejs/docs/docker.mdx index bf5e30764fc..04099ac9ae5 100644 --- a/nodejs/docs/docker.mdx +++ b/nodejs/docs/docker.mdx @@ -5,6 +5,7 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/downloads.mdx b/nodejs/docs/downloads.mdx index 38cdd3e6715..e71b5fc7329 100644 --- a/nodejs/docs/downloads.mdx +++ b/nodejs/docs/downloads.mdx @@ -5,6 +5,7 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/emulation.mdx b/nodejs/docs/emulation.mdx index 881ac70de5b..83b528f3e79 100644 --- a/nodejs/docs/emulation.mdx +++ b/nodejs/docs/emulation.mdx @@ -5,6 +5,7 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/evaluating.mdx b/nodejs/docs/evaluating.mdx index 267da3f6866..4f1e2796058 100644 --- a/nodejs/docs/evaluating.mdx +++ b/nodejs/docs/evaluating.mdx @@ -5,6 +5,7 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/events.mdx b/nodejs/docs/events.mdx index f612750074b..aa6c314bdd0 100644 --- a/nodejs/docs/events.mdx +++ b/nodejs/docs/events.mdx @@ -5,6 +5,7 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/extensibility.mdx b/nodejs/docs/extensibility.mdx index a7623f411e9..e55fe8904b4 100644 --- a/nodejs/docs/extensibility.mdx +++ b/nodejs/docs/extensibility.mdx @@ -5,6 +5,7 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Custom selector engines diff --git a/nodejs/docs/frames.mdx b/nodejs/docs/frames.mdx index 84e5284a9fc..1059faabeac 100644 --- a/nodejs/docs/frames.mdx +++ b/nodejs/docs/frames.mdx @@ -5,6 +5,7 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/getting-started-vscode.mdx b/nodejs/docs/getting-started-vscode.mdx index 0ba718c14c4..0be950e1f5b 100644 --- a/nodejs/docs/getting-started-vscode.mdx +++ b/nodejs/docs/getting-started-vscode.mdx @@ -5,6 +5,7 @@ title: "Getting started - VS Code" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/handles.mdx b/nodejs/docs/handles.mdx index 5faafa286bb..e6c3e1c2cf7 100644 --- a/nodejs/docs/handles.mdx +++ b/nodejs/docs/handles.mdx @@ -5,6 +5,7 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/input.mdx b/nodejs/docs/input.mdx index f25c6253472..9ed6984f82a 100644 --- a/nodejs/docs/input.mdx +++ b/nodejs/docs/input.mdx @@ -5,6 +5,7 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/intro.mdx b/nodejs/docs/intro.mdx index de310012e32..9662e8ef835 100644 --- a/nodejs/docs/intro.mdx +++ b/nodejs/docs/intro.mdx @@ -5,6 +5,7 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/languages.mdx b/nodejs/docs/languages.mdx index 0d103aa17f0..37e518c53a6 100644 --- a/nodejs/docs/languages.mdx +++ b/nodejs/docs/languages.mdx @@ -5,6 +5,7 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/library.mdx b/nodejs/docs/library.mdx index 4c3256bb83d..879d1555feb 100644 --- a/nodejs/docs/library.mdx +++ b/nodejs/docs/library.mdx @@ -5,6 +5,7 @@ title: "Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/locators.mdx b/nodejs/docs/locators.mdx index 70fe24fe089..61661ef198c 100644 --- a/nodejs/docs/locators.mdx +++ b/nodejs/docs/locators.mdx @@ -5,6 +5,7 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/mock-browser.mdx b/nodejs/docs/mock-browser.mdx index 1ada607fd19..41775ea5709 100644 --- a/nodejs/docs/mock-browser.mdx +++ b/nodejs/docs/mock-browser.mdx @@ -5,6 +5,7 @@ title: "Mock browser APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/mock.mdx b/nodejs/docs/mock.mdx index 13548590c02..7b90da30e8b 100644 --- a/nodejs/docs/mock.mdx +++ b/nodejs/docs/mock.mdx @@ -5,6 +5,7 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/navigations.mdx b/nodejs/docs/navigations.mdx index ca32970e2fc..33157b742a8 100644 --- a/nodejs/docs/navigations.mdx +++ b/nodejs/docs/navigations.mdx @@ -5,6 +5,7 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/network.mdx b/nodejs/docs/network.mdx index 2e380557bc2..61732e40db3 100644 --- a/nodejs/docs/network.mdx +++ b/nodejs/docs/network.mdx @@ -5,6 +5,7 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/other-locators.mdx b/nodejs/docs/other-locators.mdx index 995c542c206..534d90329cc 100644 --- a/nodejs/docs/other-locators.mdx +++ b/nodejs/docs/other-locators.mdx @@ -5,6 +5,7 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/pages.mdx b/nodejs/docs/pages.mdx index 05f2cec005c..b1bce517c6a 100644 --- a/nodejs/docs/pages.mdx +++ b/nodejs/docs/pages.mdx @@ -5,6 +5,7 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Pages diff --git a/nodejs/docs/pom.mdx b/nodejs/docs/pom.mdx index cc5b08d5d6d..3cf29511c52 100644 --- a/nodejs/docs/pom.mdx +++ b/nodejs/docs/pom.mdx @@ -5,6 +5,7 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/protractor.mdx b/nodejs/docs/protractor.mdx index 952d4000252..41f8bb839f8 100644 --- a/nodejs/docs/protractor.mdx +++ b/nodejs/docs/protractor.mdx @@ -5,6 +5,7 @@ title: "Migrating from Protractor" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Migration Principles - No need for "webdriver-manager" / Selenium. diff --git a/nodejs/docs/puppeteer.mdx b/nodejs/docs/puppeteer.mdx index 8cc2fee8418..62ade4e0e2d 100644 --- a/nodejs/docs/puppeteer.mdx +++ b/nodejs/docs/puppeteer.mdx @@ -5,6 +5,7 @@ title: "Migrating from Puppeteer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Migration Principles diff --git a/nodejs/docs/release-notes.mdx b/nodejs/docs/release-notes.mdx index 63de29ef9e6..73d186f549a 100644 --- a/nodejs/docs/release-notes.mdx +++ b/nodejs/docs/release-notes.mdx @@ -6,6 +6,7 @@ toc_max_heading_level: 2 import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/running-tests.mdx b/nodejs/docs/running-tests.mdx index 36c0f2cb417..ce829bb1dbc 100644 --- a/nodejs/docs/running-tests.mdx +++ b/nodejs/docs/running-tests.mdx @@ -5,6 +5,7 @@ title: "Running and debugging tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/screenshots.mdx b/nodejs/docs/screenshots.mdx index 716cadefb18..fea9c98c2ef 100644 --- a/nodejs/docs/screenshots.mdx +++ b/nodejs/docs/screenshots.mdx @@ -5,6 +5,7 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/selenium-grid.mdx b/nodejs/docs/selenium-grid.mdx index 39317c3ab21..6e13e0964c6 100644 --- a/nodejs/docs/selenium-grid.mdx +++ b/nodejs/docs/selenium-grid.mdx @@ -5,6 +5,7 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/service-workers-experimental-network-events.mdx b/nodejs/docs/service-workers-experimental-network-events.mdx index ab540ed68a3..9c15c5bded5 100644 --- a/nodejs/docs/service-workers-experimental-network-events.mdx +++ b/nodejs/docs/service-workers-experimental-network-events.mdx @@ -5,6 +5,7 @@ title: "(Experimental) Service Worker Network Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-annotations.mdx b/nodejs/docs/test-annotations.mdx index 7f5f8ad2e23..8f711e6693e 100644 --- a/nodejs/docs/test-annotations.mdx +++ b/nodejs/docs/test-annotations.mdx @@ -5,6 +5,7 @@ title: "Annotations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-assertions.mdx b/nodejs/docs/test-assertions.mdx index efd4b1b3150..b417d4077a7 100644 --- a/nodejs/docs/test-assertions.mdx +++ b/nodejs/docs/test-assertions.mdx @@ -5,6 +5,7 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-cli.mdx b/nodejs/docs/test-cli.mdx index 7ec1b69f5a3..8e7ec450129 100644 --- a/nodejs/docs/test-cli.mdx +++ b/nodejs/docs/test-cli.mdx @@ -5,6 +5,7 @@ title: "Command line" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; Playwright provides a powerful command line interface for running tests, generating code, debugging, and more. The most up to date list of commands and arguments available on the CLI can always be retrieved via `npx playwright --help`. diff --git a/nodejs/docs/test-components.mdx b/nodejs/docs/test-components.mdx index da6683274f1..5279ec18e49 100644 --- a/nodejs/docs/test-components.mdx +++ b/nodejs/docs/test-components.mdx @@ -5,6 +5,7 @@ title: "Components (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/test-configuration.mdx b/nodejs/docs/test-configuration.mdx index 007e50a3346..d1df8a0561a 100644 --- a/nodejs/docs/test-configuration.mdx +++ b/nodejs/docs/test-configuration.mdx @@ -5,6 +5,7 @@ title: "Test configuration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-fixtures.mdx b/nodejs/docs/test-fixtures.mdx index 8072c89e237..81d9b359c8b 100644 --- a/nodejs/docs/test-fixtures.mdx +++ b/nodejs/docs/test-fixtures.mdx @@ -5,6 +5,7 @@ title: "Fixtures" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-global-setup-teardown.mdx b/nodejs/docs/test-global-setup-teardown.mdx index 693b31933d8..21ad26b197c 100644 --- a/nodejs/docs/test-global-setup-teardown.mdx +++ b/nodejs/docs/test-global-setup-teardown.mdx @@ -5,6 +5,7 @@ title: "Global setup and teardown" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-parallel.mdx b/nodejs/docs/test-parallel.mdx index c766c0bb3e3..a8613b56e49 100644 --- a/nodejs/docs/test-parallel.mdx +++ b/nodejs/docs/test-parallel.mdx @@ -5,6 +5,7 @@ title: "Parallelism" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-parameterize.mdx b/nodejs/docs/test-parameterize.mdx index 69eca6dcb0e..eb8c5b4dc7e 100644 --- a/nodejs/docs/test-parameterize.mdx +++ b/nodejs/docs/test-parameterize.mdx @@ -5,6 +5,7 @@ title: "Parameterize tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-projects.mdx b/nodejs/docs/test-projects.mdx index 1f1456ab125..68d77e55790 100644 --- a/nodejs/docs/test-projects.mdx +++ b/nodejs/docs/test-projects.mdx @@ -5,6 +5,7 @@ title: "Projects" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-reporters.mdx b/nodejs/docs/test-reporters.mdx index fbf782ca202..5d1e91a2f01 100644 --- a/nodejs/docs/test-reporters.mdx +++ b/nodejs/docs/test-reporters.mdx @@ -5,6 +5,7 @@ title: "Reporters" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-retries.mdx b/nodejs/docs/test-retries.mdx index 72f33d8b90a..4900b24d922 100644 --- a/nodejs/docs/test-retries.mdx +++ b/nodejs/docs/test-retries.mdx @@ -5,6 +5,7 @@ title: "Retries" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-sharding.mdx b/nodejs/docs/test-sharding.mdx index 80cf9156145..aaf7dbe558e 100644 --- a/nodejs/docs/test-sharding.mdx +++ b/nodejs/docs/test-sharding.mdx @@ -5,6 +5,7 @@ title: "Sharding" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-snapshots.mdx b/nodejs/docs/test-snapshots.mdx index 1fbe962cc2c..7f80dee0f65 100644 --- a/nodejs/docs/test-snapshots.mdx +++ b/nodejs/docs/test-snapshots.mdx @@ -5,6 +5,7 @@ title: "Visual comparisons" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-timeouts.mdx b/nodejs/docs/test-timeouts.mdx index 8489d564ed3..1bc7b9c5320 100644 --- a/nodejs/docs/test-timeouts.mdx +++ b/nodejs/docs/test-timeouts.mdx @@ -5,6 +5,7 @@ title: "Timeouts" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; Playwright Test has multiple configurable timeouts for various tasks. diff --git a/nodejs/docs/test-typescript.mdx b/nodejs/docs/test-typescript.mdx index 16aa54788e9..4085ca714d6 100644 --- a/nodejs/docs/test-typescript.mdx +++ b/nodejs/docs/test-typescript.mdx @@ -5,6 +5,7 @@ title: "TypeScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-ui-mode.mdx b/nodejs/docs/test-ui-mode.mdx index 1f08808162a..1d7b57f6b35 100644 --- a/nodejs/docs/test-ui-mode.mdx +++ b/nodejs/docs/test-ui-mode.mdx @@ -5,6 +5,7 @@ title: "UI Mode" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/test-use-options.mdx b/nodejs/docs/test-use-options.mdx index a5b69e9f8d1..648a0389dba 100644 --- a/nodejs/docs/test-use-options.mdx +++ b/nodejs/docs/test-use-options.mdx @@ -5,6 +5,7 @@ title: "Test use options" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-webserver.mdx b/nodejs/docs/test-webserver.mdx index db68d7d3c82..0d95317940b 100644 --- a/nodejs/docs/test-webserver.mdx +++ b/nodejs/docs/test-webserver.mdx @@ -5,6 +5,7 @@ title: "Web server" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/testing-library.mdx b/nodejs/docs/testing-library.mdx index ce3104e4065..e53831f1a84 100644 --- a/nodejs/docs/testing-library.mdx +++ b/nodejs/docs/testing-library.mdx @@ -5,6 +5,7 @@ title: "Migrating from Testing Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Migration principles diff --git a/nodejs/docs/touch-events.mdx b/nodejs/docs/touch-events.mdx index 512594c7863..cbb578ae579 100644 --- a/nodejs/docs/touch-events.mdx +++ b/nodejs/docs/touch-events.mdx @@ -5,6 +5,7 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/trace-viewer-intro.mdx b/nodejs/docs/trace-viewer-intro.mdx index 427b8d9f738..a8c8de9959f 100644 --- a/nodejs/docs/trace-viewer-intro.mdx +++ b/nodejs/docs/trace-viewer-intro.mdx @@ -5,6 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/trace-viewer.mdx b/nodejs/docs/trace-viewer.mdx index ec1c1203ce3..5defdb0725a 100644 --- a/nodejs/docs/trace-viewer.mdx +++ b/nodejs/docs/trace-viewer.mdx @@ -5,6 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/videos.mdx b/nodejs/docs/videos.mdx index 6c9aac0f9eb..ed18d423f35 100644 --- a/nodejs/docs/videos.mdx +++ b/nodejs/docs/videos.mdx @@ -5,6 +5,7 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/webview2.mdx b/nodejs/docs/webview2.mdx index 88f8b4d7f47..5d45eacb449 100644 --- a/nodejs/docs/webview2.mdx +++ b/nodejs/docs/webview2.mdx @@ -5,6 +5,7 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/writing-tests.mdx b/nodejs/docs/writing-tests.mdx index 0fd26a9e68b..547f15e8712 100644 --- a/nodejs/docs/writing-tests.mdx +++ b/nodejs/docs/writing-tests.mdx @@ -5,6 +5,7 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/nodejs/docusaurus.config.ts b/nodejs/docusaurus.config.ts index 6be3bc0286f..dda2ba3fe0d 100644 --- a/nodejs/docusaurus.config.ts +++ b/nodejs/docusaurus.config.ts @@ -34,6 +34,15 @@ let plugins = [ }), ], require.resolve("@docusaurus/plugin-content-pages"), + [ + require.resolve('@docusaurus/plugin-ideal-image'), + { + max: 1024, + min: 640, + steps: 4, + disableInDev: false + } + ], ]; if (isProd) { diff --git a/package-lock.json b/package-lock.json index 914acc880a3..efac0bc6803 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "dependencies": { "@docusaurus/core": "3.8.0", "@docusaurus/plugin-content-docs": "3.8.0", + "@docusaurus/plugin-ideal-image": "3.8.0", "@docusaurus/preset-classic": "3.8.0", "@docusaurus/types": "3.8.0", "clsx": "^2.1.1", @@ -2136,9 +2137,9 @@ } }, "node_modules/@csstools/postcss-cascade-layers": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@csstools/postcss-cascade-layers/-/postcss-cascade-layers-5.0.1.tgz", - "integrity": "sha512-XOfhI7GShVcKiKwmPAnWSqd2tBR0uxt+runAxttbSp/LY2U16yAVPmAf7e9q4JJ0d+xMNmpwNDLBXnmRCl3HMQ==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@csstools/postcss-cascade-layers/-/postcss-cascade-layers-5.0.2.tgz", + "integrity": "sha512-nWBE08nhO8uWl6kSAeCx4im7QfVko3zLrtgWZY4/bP87zrSPpSyN/3W3TDqz1jJuH+kbKOHXg5rJnK+ZVYcFFg==", "funding": [ { "type": "github", @@ -2499,9 +2500,9 @@ } }, "node_modules/@csstools/postcss-is-pseudo-class": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/@csstools/postcss-is-pseudo-class/-/postcss-is-pseudo-class-5.0.1.tgz", - "integrity": "sha512-JLp3POui4S1auhDR0n8wHd/zTOWmMsmK3nQd3hhL6FhWPaox5W7j1se6zXOG/aP07wV2ww0lxbKYGwbBszOtfQ==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@csstools/postcss-is-pseudo-class/-/postcss-is-pseudo-class-5.0.3.tgz", + "integrity": "sha512-jS/TY4SpG4gszAtIg7Qnf3AS2pjcUM5SzxpApOrlndMeGhIbaTzWBzzP/IApXoNWEW7OhcjkRT48jnAUIFXhAQ==", "funding": [ { "type": "github", @@ -3385,6 +3386,22 @@ "node": ">=18.0" } }, + "node_modules/@docusaurus/lqip-loader": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/@docusaurus/lqip-loader/-/lqip-loader-3.8.0.tgz", + "integrity": "sha512-8QYQsc5lgw7JdMABDEN6F9FE3JVDeRL+uDEfdwukYVggLI2sVfkfqWGHjH4r4szv02/z7Bv+hUn2pMuWqJm/cw==", + "license": "MIT", + "dependencies": { + "@docusaurus/logger": "3.8.0", + "file-loader": "^6.2.0", + "lodash": "^4.17.21", + "sharp": "^0.32.3", + "tslib": "^2.6.0" + }, + "engines": { + "node": ">=18.0" + } + }, "node_modules/@docusaurus/mdx-loader": { "version": "3.8.0", "resolved": "https://registry.npmjs.org/@docusaurus/mdx-loader/-/mdx-loader-3.8.0.tgz", @@ -3639,6 +3656,36 @@ "react-dom": "^18.0.0 || ^19.0.0" } }, + "node_modules/@docusaurus/plugin-ideal-image": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/@docusaurus/plugin-ideal-image/-/plugin-ideal-image-3.8.0.tgz", + "integrity": "sha512-DPjOP+IceHDaGdQNowW2zQmDJF5keQgQZr58p2rY82f5W/SwcNwpPuLKzzqfym4xJTo8EtqpdeqWnY63kzUQKQ==", + "license": "MIT", + "dependencies": { + "@docusaurus/core": "3.8.0", + "@docusaurus/lqip-loader": "3.8.0", + "@docusaurus/responsive-loader": "^1.7.0", + "@docusaurus/theme-translations": "3.8.0", + "@docusaurus/types": "3.8.0", + "@docusaurus/utils-validation": "3.8.0", + "sharp": "^0.32.3", + "tslib": "^2.6.0", + "webpack": "^5.88.1" + }, + "engines": { + "node": ">=18.0" + }, + "peerDependencies": { + "jimp": "*", + "react": "^18.0.0 || ^19.0.0", + "react-dom": "^18.0.0 || ^19.0.0" + }, + "peerDependenciesMeta": { + "jimp": { + "optional": true + } + } + }, "node_modules/@docusaurus/plugin-sitemap": { "version": "3.8.0", "resolved": "https://registry.npmjs.org/@docusaurus/plugin-sitemap/-/plugin-sitemap-3.8.0.tgz", @@ -3716,6 +3763,30 @@ "react-dom": "^18.0.0 || ^19.0.0" } }, + "node_modules/@docusaurus/responsive-loader": { + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/@docusaurus/responsive-loader/-/responsive-loader-1.7.1.tgz", + "integrity": "sha512-jAebZ43f8GVpZSrijLGHVVp7Y0OMIPRaL+HhiIWQ+f/b72lTsKLkSkOVHEzvd2psNJ9lsoiM3gt6akpak6508w==", + "license": "BSD-3-Clause", + "dependencies": { + "loader-utils": "^2.0.0" + }, + "engines": { + "node": ">=12" + }, + "peerDependencies": { + "jimp": "*", + "sharp": "*" + }, + "peerDependenciesMeta": { + "jimp": { + "optional": true + }, + "sharp": { + "optional": true + } + } + }, "node_modules/@docusaurus/theme-classic": { "version": "3.8.0", "resolved": "https://registry.npmjs.org/@docusaurus/theme-classic/-/theme-classic-3.8.0.tgz", @@ -6181,7 +6252,6 @@ "version": "1.6.7", "resolved": "https://registry.npmjs.org/b4a/-/b4a-1.6.7.tgz", "integrity": "sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==", - "dev": true, "license": "Apache-2.0" }, "node_modules/babel-loader": { @@ -6277,7 +6347,6 @@ "version": "2.5.4", "resolved": "https://registry.npmjs.org/bare-events/-/bare-events-2.5.4.tgz", "integrity": "sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==", - "dev": true, "license": "Apache-2.0", "optional": true }, @@ -6285,7 +6354,6 @@ "version": "4.0.2", "resolved": "https://registry.npmjs.org/bare-fs/-/bare-fs-4.0.2.tgz", "integrity": "sha512-S5mmkMesiduMqnz51Bfh0Et9EX0aTCJxhsI4bvzFFLs8Z1AV8RDHadfY5CyLwdoLHgXbNBEN1gQcbEtGwuvixw==", - "dev": true, "license": "Apache-2.0", "optional": true, "dependencies": { @@ -6309,7 +6377,6 @@ "version": "3.6.1", "resolved": "https://registry.npmjs.org/bare-os/-/bare-os-3.6.1.tgz", "integrity": "sha512-uaIjxokhFidJP+bmmvKSgiMzj2sV5GPHaZVAIktcxcpCyBFFWO+YlikVAdhmUo2vYFvFhOXIAlldqV29L8126g==", - "dev": true, "license": "Apache-2.0", "optional": true, "engines": { @@ -6320,7 +6387,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/bare-path/-/bare-path-3.0.0.tgz", "integrity": "sha512-tyfW2cQcB5NN8Saijrhqn0Zh7AnFNsnczRcuWODH0eYAXBsJ5gVxAUuNr7tsHSC6IZ77cA0SitzT+s47kot8Mw==", - "dev": true, "license": "Apache-2.0", "optional": true, "dependencies": { @@ -6331,7 +6397,6 @@ "version": "2.6.5", "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.5.tgz", "integrity": "sha512-jSmxKJNJmHySi6hC42zlZnq00rga4jjxcgNZjY9N5WlOe/iOoGRtdwGsHzQv2RlH2KOYMwGUXhf2zXd32BA9RA==", - "dev": true, "license": "Apache-2.0", "optional": true, "dependencies": { @@ -6350,6 +6415,26 @@ } } }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, "node_modules/basic-auth": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/basic-auth/-/basic-auth-2.0.1.tgz", @@ -6398,6 +6483,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, "node_modules/body-parser": { "version": "1.20.3", "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", @@ -6502,9 +6598,9 @@ } }, "node_modules/browserslist": { - "version": "4.24.5", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.5.tgz", - "integrity": "sha512-FDToo4Wo82hIdgc1CQ+NQD0hEhmpPjrZ3hiUgwgOG6IuTdlpr8jdjyG24P6cNP1yJpTLzS5OcGgSw0xmDU1/Tw==", + "version": "4.25.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.25.1.tgz", + "integrity": "sha512-KGj0KoOMXLpSNkkEI6Z6mShmQy0bc1I+T7K9N81k4WWMrfz+6fQ6es80B/YLAeRoKvjYE1YSHHOW1qe9xIVzHw==", "funding": [ { "type": "opencollective", @@ -6521,8 +6617,8 @@ ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001716", - "electron-to-chromium": "^1.5.149", + "caniuse-lite": "^1.0.30001726", + "electron-to-chromium": "^1.5.173", "node-releases": "^2.0.19", "update-browserslist-db": "^1.1.3" }, @@ -6533,6 +6629,30 @@ "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" } }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, "node_modules/buffer-crc32": { "version": "0.2.13", "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", @@ -6680,9 +6800,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001718", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001718.tgz", - "integrity": "sha512-AflseV1ahcSunK53NfEs9gFWgOEmzr0f+kaMFA4xiLZlr9Hzt7HxcSpIFcnNCUkz6R6dWKa54rUz3HUmI3nVcw==", + "version": "1.0.30001731", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001731.tgz", + "integrity": "sha512-lDdp2/wrOmTRWuoB5DpfNkC0rJDU8DqRa6nYL6HK6sytw70QMopt/NIc/9SM7ylItlBWfACXk0tEn37UWM/+mg==", "funding": [ { "type": "opencollective", @@ -6827,6 +6947,12 @@ "url": "https://paulmillr.com/funding/" } }, + "node_modules/chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==", + "license": "ISC" + }, "node_modules/chrome-trace-event": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz", @@ -7003,6 +7129,19 @@ "url": "https://github.com/sponsors/wooorm" } }, + "node_modules/color": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", + "integrity": "sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1", + "color-string": "^1.9.0" + }, + "engines": { + "node": ">=12.5.0" + } + }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", @@ -7019,6 +7158,16 @@ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, + "node_modules/color-string": { + "version": "1.9.1", + "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.9.1.tgz", + "integrity": "sha512-shrVawQFojnZv6xM40anx4CkoDP+fZsw/ZerEMsW/pyzsRbElpsL/DBVW7q3ExxwusdNXI3lXpuhEZkzs8p5Eg==", + "license": "MIT", + "dependencies": { + "color-name": "^1.0.0", + "simple-swizzle": "^0.2.2" + } + }, "node_modules/colord": { "version": "2.9.3", "resolved": "https://registry.npmjs.org/colord/-/colord-2.9.3.tgz", @@ -8077,7 +8226,6 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz", "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==", - "devOptional": true, "license": "Apache-2.0", "engines": { "node": ">=8" @@ -8264,9 +8412,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.158", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.158.tgz", - "integrity": "sha512-9vcp2xHhkvraY6AHw2WMi+GDSLPX42qe2xjYaVoZqFRJiOcilVQFq9mZmpuHEQpzlgGDelKlV7ZiGcmMsc8WxQ==", + "version": "1.5.193", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.193.tgz", + "integrity": "sha512-eePuBZXM9OVCwfYUhd2OzESeNGnWmLyeu0XAEjf7xjijNjHFdeJSzuRUGN4ueT2tEYo5YqjHramKEFxz67p3XA==", "license": "ISC" }, "node_modules/emoji-regex": { @@ -8312,7 +8460,6 @@ "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, "dependencies": { "once": "^1.4.0" } @@ -8725,6 +8872,15 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/expand-template": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/expand-template/-/expand-template-2.0.3.tgz", + "integrity": "sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==", + "license": "(MIT OR WTFPL)", + "engines": { + "node": ">=6" + } + }, "node_modules/express": { "version": "4.21.2", "resolved": "https://registry.npmjs.org/express/-/express-4.21.2.tgz", @@ -8873,7 +9029,6 @@ "version": "1.3.2", "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.3.2.tgz", "integrity": "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==", - "dev": true, "license": "MIT" }, "node_modules/fast-glob": { @@ -9227,6 +9382,12 @@ "node": ">= 0.6" } }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "license": "MIT" + }, "node_modules/fs-extra": { "version": "11.2.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", @@ -9363,6 +9524,12 @@ "node": ">= 14" } }, + "node_modules/github-from-package": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/github-from-package/-/github-from-package-0.0.0.tgz", + "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==", + "license": "MIT" + }, "node_modules/github-slugger": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-1.5.0.tgz", @@ -10212,6 +10379,26 @@ "postcss": "^8.1.0" } }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", @@ -13596,6 +13783,12 @@ "mkdirp": "bin/cmd.js" } }, + "node_modules/mkdirp-classic": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz", + "integrity": "sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==", + "license": "MIT" + }, "node_modules/mrmime": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.0.tgz", @@ -13640,6 +13833,12 @@ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, + "node_modules/napi-build-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/napi-build-utils/-/napi-build-utils-2.0.0.tgz", + "integrity": "sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==", + "license": "MIT" + }, "node_modules/negotiator": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", @@ -13672,6 +13871,24 @@ "tslib": "^2.0.3" } }, + "node_modules/node-abi": { + "version": "3.75.0", + "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.75.0.tgz", + "integrity": "sha512-OhYaY5sDsIka7H7AtijtI9jwGYLyl29eQn/W623DiN/MIv5sUqc4g7BIDThX+gb7di9f6xK02nkp8sdfFWZLTg==", + "license": "MIT", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-addon-api": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-6.1.0.tgz", + "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==", + "license": "MIT" + }, "node_modules/node-emoji": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.2.0.tgz", @@ -14403,9 +14620,9 @@ } }, "node_modules/postcss": { - "version": "8.5.3", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.3.tgz", - "integrity": "sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==", + "version": "8.5.6", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", + "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", "funding": [ { "type": "opencollective", @@ -14422,7 +14639,7 @@ ], "license": "MIT", "dependencies": { - "nanoid": "^3.3.8", + "nanoid": "^3.3.11", "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, @@ -14643,9 +14860,9 @@ } }, "node_modules/postcss-custom-properties": { - "version": "14.0.5", - "resolved": "https://registry.npmjs.org/postcss-custom-properties/-/postcss-custom-properties-14.0.5.tgz", - "integrity": "sha512-UWf/vhMapZatv+zOuqlfLmYXeOhhHLh8U8HAKGI2VJ00xLRYoAJh4xv8iX6FB6+TLXeDnm0DBLMi00E0hodbQw==", + "version": "14.0.6", + "resolved": "https://registry.npmjs.org/postcss-custom-properties/-/postcss-custom-properties-14.0.6.tgz", + "integrity": "sha512-fTYSp3xuk4BUeVhxCSJdIPhDLpJfNakZKoiTDx7yRGCdlZrSJR7mWKVOBS4sBF+5poPQFMj2YdXx1VHItBGihQ==", "funding": [ { "type": "github", @@ -15249,9 +15466,9 @@ } }, "node_modules/postcss-nesting": { - "version": "13.0.1", - "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-13.0.1.tgz", - "integrity": "sha512-VbqqHkOBOt4Uu3G8Dm8n6lU5+9cJFxiuty9+4rcoyRPO9zZS1JIs6td49VIoix3qYqELHlJIn46Oih9SAKo+yQ==", + "version": "13.0.2", + "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-13.0.2.tgz", + "integrity": "sha512-1YCI290TX+VP0U/K/aFxzHzQWHWURL+CtHMSbex1lCdpXD1SoR2sYuxDu5aNI9lPoXpKTCggFZiDJbwylU0LEQ==", "funding": [ { "type": "github", @@ -15264,7 +15481,7 @@ ], "license": "MIT-0", "dependencies": { - "@csstools/selector-resolve-nested": "^3.0.0", + "@csstools/selector-resolve-nested": "^3.1.0", "@csstools/selector-specificity": "^5.0.0", "postcss-selector-parser": "^7.0.0" }, @@ -15276,9 +15493,9 @@ } }, "node_modules/postcss-nesting/node_modules/@csstools/selector-resolve-nested": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-3.0.0.tgz", - "integrity": "sha512-ZoK24Yku6VJU1gS79a5PFmC8yn3wIapiKmPgun0hZgEI5AOqgH2kiPRsPz1qkGv4HL+wuDLH83yQyk6inMYrJQ==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@csstools/selector-resolve-nested/-/selector-resolve-nested-3.1.0.tgz", + "integrity": "sha512-mf1LEW0tJLKfWyvn5KdDrhpxHyuxpbNwTIwOYLIvsTffeyOf85j5oIzfG0yosxDgx/sswlqBnESYUcQH0vgZ0g==", "funding": [ { "type": "github", @@ -15563,9 +15780,9 @@ } }, "node_modules/postcss-preset-env": { - "version": "10.2.0", - "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-10.2.0.tgz", - "integrity": "sha512-cl13sPBbSqo1Q7Ryb19oT5NZO5IHFolRbIMdgDq4f9w1MHYiL6uZS7uSsjXJ1KzRIcX5BMjEeyxmAevVXENa3Q==", + "version": "10.2.4", + "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-10.2.4.tgz", + "integrity": "sha512-q+lXgqmTMdB0Ty+EQ31SuodhdfZetUlwCA/F0zRcd/XdxjzI+Rl2JhZNz5US2n/7t9ePsvuhCnEN4Bmu86zXlA==", "funding": [ { "type": "github", @@ -15578,7 +15795,7 @@ ], "license": "MIT-0", "dependencies": { - "@csstools/postcss-cascade-layers": "^5.0.1", + "@csstools/postcss-cascade-layers": "^5.0.2", "@csstools/postcss-color-function": "^4.0.10", "@csstools/postcss-color-mix-function": "^3.0.10", "@csstools/postcss-color-mix-variadic-function-arguments": "^1.0.0", @@ -15590,7 +15807,7 @@ "@csstools/postcss-hwb-function": "^4.0.10", "@csstools/postcss-ic-unit": "^4.0.2", "@csstools/postcss-initial": "^2.0.1", - "@csstools/postcss-is-pseudo-class": "^5.0.1", + "@csstools/postcss-is-pseudo-class": "^5.0.3", "@csstools/postcss-light-dark-function": "^2.0.9", "@csstools/postcss-logical-float-and-clear": "^3.0.0", "@csstools/postcss-logical-overflow": "^2.0.0", @@ -15612,7 +15829,7 @@ "@csstools/postcss-trigonometric-functions": "^4.0.9", "@csstools/postcss-unset-value": "^4.0.0", "autoprefixer": "^10.4.21", - "browserslist": "^4.24.5", + "browserslist": "^4.25.0", "css-blank-pseudo": "^7.0.1", "css-has-pseudo": "^7.0.2", "css-prefers-color-scheme": "^10.0.0", @@ -15623,7 +15840,7 @@ "postcss-color-hex-alpha": "^10.0.0", "postcss-color-rebeccapurple": "^10.0.0", "postcss-custom-media": "^11.0.6", - "postcss-custom-properties": "^14.0.5", + "postcss-custom-properties": "^14.0.6", "postcss-custom-selectors": "^8.0.5", "postcss-dir-pseudo-class": "^9.0.1", "postcss-double-position-gradients": "^6.0.2", @@ -15634,7 +15851,7 @@ "postcss-image-set-function": "^7.0.0", "postcss-lab-function": "^7.0.10", "postcss-logical": "^8.1.0", - "postcss-nesting": "^13.0.1", + "postcss-nesting": "^13.0.2", "postcss-opacity-percentage": "^3.0.0", "postcss-overflow-shorthand": "^6.0.0", "postcss-page-break": "^3.0.4", @@ -15858,6 +16075,60 @@ "postcss": "^8.4.31" } }, + "node_modules/prebuild-install": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-7.1.3.tgz", + "integrity": "sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==", + "license": "MIT", + "dependencies": { + "detect-libc": "^2.0.0", + "expand-template": "^2.0.3", + "github-from-package": "0.0.0", + "minimist": "^1.2.3", + "mkdirp-classic": "^0.5.3", + "napi-build-utils": "^2.0.0", + "node-abi": "^3.3.0", + "pump": "^3.0.0", + "rc": "^1.2.7", + "simple-get": "^4.0.0", + "tar-fs": "^2.0.0", + "tunnel-agent": "^0.6.0" + }, + "bin": { + "prebuild-install": "bin.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/prebuild-install/node_modules/tar-fs": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.3.tgz", + "integrity": "sha512-090nwYJDmlhwFwEW3QQl+vaNnxsO2yVsd45eTKRBzSzu+hlb1w2K9inVq5b0ngXuLVqQ4ApvsUHHnu/zQNkWAg==", + "license": "MIT", + "dependencies": { + "chownr": "^1.1.1", + "mkdirp-classic": "^0.5.2", + "pump": "^3.0.0", + "tar-stream": "^2.1.4" + } + }, + "node_modules/prebuild-install/node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/pretty-error": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-4.0.0.tgz", @@ -16010,7 +16281,6 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -17279,6 +17549,29 @@ "resolved": "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz", "integrity": "sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==" }, + "node_modules/sharp": { + "version": "0.32.6", + "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.32.6.tgz", + "integrity": "sha512-KyLTWwgcR9Oe4d9HwCwNM2l7+J0dUQwn/yf7S0EnTtb0eVS4RxO0eUSvxPtzT4F3SY+C4K6fqdv/DO27sJ/v/w==", + "hasInstallScript": true, + "license": "Apache-2.0", + "dependencies": { + "color": "^4.2.3", + "detect-libc": "^2.0.2", + "node-addon-api": "^6.1.0", + "prebuild-install": "^7.1.1", + "semver": "^7.5.4", + "simple-get": "^4.0.1", + "tar-fs": "^3.0.4", + "tunnel-agent": "^0.6.0" + }, + "engines": { + "node": ">=14.15.0" + }, + "funding": { + "url": "https://opencollective.com/libvips" + } + }, "node_modules/shebang-command": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", @@ -17328,6 +17621,66 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==" }, + "node_modules/simple-concat": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", + "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/simple-get": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-4.0.1.tgz", + "integrity": "sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "decompress-response": "^6.0.0", + "once": "^1.3.1", + "simple-concat": "^1.0.0" + } + }, + "node_modules/simple-swizzle": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", + "integrity": "sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==", + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.3.1" + } + }, + "node_modules/simple-swizzle/node_modules/is-arrayish": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", + "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==", + "license": "MIT" + }, "node_modules/sirv": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/sirv/-/sirv-2.0.4.tgz", @@ -17573,7 +17926,6 @@ "version": "2.22.0", "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.22.0.tgz", "integrity": "sha512-sLh1evHOzBy/iWRiR6d1zRcLao4gGZr3C1kzNz4fopCOKJb6xD9ub8Mpi9Mr1R6id5o43S+d93fI48UC5uM9aw==", - "dev": true, "license": "MIT", "dependencies": { "fast-fifo": "^1.3.2", @@ -17876,7 +18228,6 @@ "version": "3.0.9", "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.9.tgz", "integrity": "sha512-XF4w9Xp+ZQgifKakjZYmFdkLoSWd34VGKcsTCwlNWM7QG3ZbaxnTsaBwnjFZqHRf/rROxaR8rXnbtwdvaDI+lA==", - "dev": true, "license": "MIT", "dependencies": { "pump": "^3.0.0", @@ -17891,7 +18242,6 @@ "version": "3.1.7", "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-3.1.7.tgz", "integrity": "sha512-qJj60CXt7IU1Ffyc3NJMjh6EkuCFej46zUqJ4J7pqYlThyd9bO0XBTmcOIhSzZJVWfsLks0+nle/j538YAW9RQ==", - "dev": true, "license": "MIT", "dependencies": { "b4a": "^1.6.4", @@ -18030,7 +18380,6 @@ "version": "1.2.3", "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz", "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==", - "dev": true, "license": "Apache-2.0", "dependencies": { "b4a": "^1.6.4" @@ -18122,6 +18471,18 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==" }, + "node_modules/tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==", + "license": "Apache-2.0", + "dependencies": { + "safe-buffer": "^5.0.1" + }, + "engines": { + "node": "*" + } + }, "node_modules/type-fest": { "version": "2.19.0", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz", diff --git a/package.json b/package.json index 8e18a1c815e..427592dd96e 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,7 @@ "dependencies": { "@docusaurus/core": "3.8.0", "@docusaurus/plugin-content-docs": "3.8.0", + "@docusaurus/plugin-ideal-image": "3.8.0", "@docusaurus/preset-classic": "3.8.0", "@docusaurus/types": "3.8.0", "clsx": "^2.1.1", diff --git a/python/docs/actionability.mdx b/python/docs/actionability.mdx index fb99122e471..1ff968ec458 100644 --- a/python/docs/actionability.mdx +++ b/python/docs/actionability.mdx @@ -5,6 +5,7 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/api-testing.mdx b/python/docs/api-testing.mdx index 7e85be1d45b..d97151cb0e4 100644 --- a/python/docs/api-testing.mdx +++ b/python/docs/api-testing.mdx @@ -5,6 +5,7 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/api/class-clock.mdx b/python/docs/api/class-clock.mdx index bce83b3aab9..fb3dd0ece9a 100644 --- a/python/docs/api/class-clock.mdx +++ b/python/docs/api/class-clock.mdx @@ -328,23 +328,6 @@ await page.clock.set_system_time("2020-02-02") **Returns** - [NoneType]# ---- - -### uninstall {#clock-uninstall} - -Added in: v1.55clock.uninstall - -Uninstall fake clock. Note that any currently open page will be still affected by the fake clock, until it navigates away to a new document. - -**Usage** - -```python -clock.uninstall() -``` - -**Returns** -- [NoneType]# - [Accessibility]: /api/class-accessibility.mdx "Accessibility" [APIRequest]: /api/class-apirequest.mdx "APIRequest" diff --git a/python/docs/aria-snapshots.mdx b/python/docs/aria-snapshots.mdx index a4243ddf0dd..0954560d4db 100644 --- a/python/docs/aria-snapshots.mdx +++ b/python/docs/aria-snapshots.mdx @@ -5,6 +5,7 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/python/docs/auth.mdx b/python/docs/auth.mdx index 8e07a25a9ba..0549dcf14f2 100644 --- a/python/docs/auth.mdx +++ b/python/docs/auth.mdx @@ -5,6 +5,7 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/browser-contexts.mdx b/python/docs/browser-contexts.mdx index acca34dd20b..3e3be240d56 100644 --- a/python/docs/browser-contexts.mdx +++ b/python/docs/browser-contexts.mdx @@ -5,6 +5,7 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/browsers.mdx b/python/docs/browsers.mdx index 114c202d486..12c7d0ffbae 100644 --- a/python/docs/browsers.mdx +++ b/python/docs/browsers.mdx @@ -5,6 +5,7 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/chrome-extensions.mdx b/python/docs/chrome-extensions.mdx index 6ce0d59914a..f7f4bca9f0b 100644 --- a/python/docs/chrome-extensions.mdx +++ b/python/docs/chrome-extensions.mdx @@ -5,6 +5,7 @@ title: "Chrome extensions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/ci-intro.mdx b/python/docs/ci-intro.mdx index 568d68045e9..76049466676 100644 --- a/python/docs/ci-intro.mdx +++ b/python/docs/ci-intro.mdx @@ -5,6 +5,7 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/ci.mdx b/python/docs/ci.mdx index 550abf77b3d..8b79e558d45 100644 --- a/python/docs/ci.mdx +++ b/python/docs/ci.mdx @@ -5,6 +5,7 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/clock.mdx b/python/docs/clock.mdx index 987d7f07e59..cd8cb67bb6c 100644 --- a/python/docs/clock.mdx +++ b/python/docs/clock.mdx @@ -5,6 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/python/docs/codegen-intro.mdx b/python/docs/codegen-intro.mdx index c01974226c2..fea6fe356fe 100644 --- a/python/docs/codegen-intro.mdx +++ b/python/docs/codegen-intro.mdx @@ -5,6 +5,7 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/codegen.mdx b/python/docs/codegen.mdx index 991da16486e..b68e43fa5f1 100644 --- a/python/docs/codegen.mdx +++ b/python/docs/codegen.mdx @@ -5,6 +5,7 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/python/docs/debug.mdx b/python/docs/debug.mdx index 54a4cd5f75a..5224263debb 100644 --- a/python/docs/debug.mdx +++ b/python/docs/debug.mdx @@ -5,6 +5,7 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Playwright Inspector diff --git a/python/docs/dialogs.mdx b/python/docs/dialogs.mdx index 32baf022d05..1375c79df53 100644 --- a/python/docs/dialogs.mdx +++ b/python/docs/dialogs.mdx @@ -5,6 +5,7 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/docker.mdx b/python/docs/docker.mdx index df01fc55d97..38a63bef9f2 100644 --- a/python/docs/docker.mdx +++ b/python/docs/docker.mdx @@ -5,6 +5,7 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/downloads.mdx b/python/docs/downloads.mdx index 6c37ed79047..d4491284e36 100644 --- a/python/docs/downloads.mdx +++ b/python/docs/downloads.mdx @@ -5,6 +5,7 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/emulation.mdx b/python/docs/emulation.mdx index 6be2000b0f6..e7255e03781 100644 --- a/python/docs/emulation.mdx +++ b/python/docs/emulation.mdx @@ -5,6 +5,7 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/evaluating.mdx b/python/docs/evaluating.mdx index 15db7a8fc3b..9515b87a2ee 100644 --- a/python/docs/evaluating.mdx +++ b/python/docs/evaluating.mdx @@ -5,6 +5,7 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/events.mdx b/python/docs/events.mdx index 4b28448bdc9..9d81f225b0f 100644 --- a/python/docs/events.mdx +++ b/python/docs/events.mdx @@ -5,6 +5,7 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/extensibility.mdx b/python/docs/extensibility.mdx index 5cf8ddd901f..08da2d5fc26 100644 --- a/python/docs/extensibility.mdx +++ b/python/docs/extensibility.mdx @@ -5,6 +5,7 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Custom selector engines diff --git a/python/docs/frames.mdx b/python/docs/frames.mdx index 7b8edd275e8..fb45670523c 100644 --- a/python/docs/frames.mdx +++ b/python/docs/frames.mdx @@ -5,6 +5,7 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/handles.mdx b/python/docs/handles.mdx index 225213bfe06..e5d585762d4 100644 --- a/python/docs/handles.mdx +++ b/python/docs/handles.mdx @@ -5,6 +5,7 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/input.mdx b/python/docs/input.mdx index c057eddb31d..0c605c39230 100644 --- a/python/docs/input.mdx +++ b/python/docs/input.mdx @@ -5,6 +5,7 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/intro.mdx b/python/docs/intro.mdx index b0422d42dbd..7d3def580db 100644 --- a/python/docs/intro.mdx +++ b/python/docs/intro.mdx @@ -5,6 +5,7 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/languages.mdx b/python/docs/languages.mdx index 880e457cb39..9a5ae275d7c 100644 --- a/python/docs/languages.mdx +++ b/python/docs/languages.mdx @@ -5,6 +5,7 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/library.mdx b/python/docs/library.mdx index 6cd17df8fd7..464f9834566 100644 --- a/python/docs/library.mdx +++ b/python/docs/library.mdx @@ -5,6 +5,7 @@ title: "Getting started - Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Installation diff --git a/python/docs/locators.mdx b/python/docs/locators.mdx index c4d8263f35e..ae803986613 100644 --- a/python/docs/locators.mdx +++ b/python/docs/locators.mdx @@ -5,6 +5,7 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/mock.mdx b/python/docs/mock.mdx index 8b5dec87626..ff9cd4bad12 100644 --- a/python/docs/mock.mdx +++ b/python/docs/mock.mdx @@ -5,6 +5,7 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/navigations.mdx b/python/docs/navigations.mdx index 8a63f3d4ef5..761509adeaf 100644 --- a/python/docs/navigations.mdx +++ b/python/docs/navigations.mdx @@ -5,6 +5,7 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/network.mdx b/python/docs/network.mdx index 0171c3e2dce..f5a6fbcb641 100644 --- a/python/docs/network.mdx +++ b/python/docs/network.mdx @@ -5,6 +5,7 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/other-locators.mdx b/python/docs/other-locators.mdx index 9a869eb8bd6..b065398b847 100644 --- a/python/docs/other-locators.mdx +++ b/python/docs/other-locators.mdx @@ -5,6 +5,7 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/pages.mdx b/python/docs/pages.mdx index 67697213609..6f5a7512ceb 100644 --- a/python/docs/pages.mdx +++ b/python/docs/pages.mdx @@ -5,6 +5,7 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Pages diff --git a/python/docs/pom.mdx b/python/docs/pom.mdx index 7ac51b989a4..91361725ec2 100644 --- a/python/docs/pom.mdx +++ b/python/docs/pom.mdx @@ -5,6 +5,7 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/release-notes.mdx b/python/docs/release-notes.mdx index b36c4373571..2ae9b232e5c 100644 --- a/python/docs/release-notes.mdx +++ b/python/docs/release-notes.mdx @@ -6,6 +6,7 @@ toc_max_heading_level: 2 import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Version 1.54 diff --git a/python/docs/running-tests.mdx b/python/docs/running-tests.mdx index 19d9e44c500..f444c589dfc 100644 --- a/python/docs/running-tests.mdx +++ b/python/docs/running-tests.mdx @@ -5,6 +5,7 @@ title: "Running and debugging tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/screenshots.mdx b/python/docs/screenshots.mdx index 7d53b59454e..74d919949d3 100644 --- a/python/docs/screenshots.mdx +++ b/python/docs/screenshots.mdx @@ -5,6 +5,7 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/selenium-grid.mdx b/python/docs/selenium-grid.mdx index f0b3ed5947c..9bfebd0cc5b 100644 --- a/python/docs/selenium-grid.mdx +++ b/python/docs/selenium-grid.mdx @@ -5,6 +5,7 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/test-assertions.mdx b/python/docs/test-assertions.mdx index d83220d49ae..1fb8f9cf601 100644 --- a/python/docs/test-assertions.mdx +++ b/python/docs/test-assertions.mdx @@ -5,6 +5,7 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## List of assertions diff --git a/python/docs/test-runners.mdx b/python/docs/test-runners.mdx index 532d630fc1a..84d2145cba1 100644 --- a/python/docs/test-runners.mdx +++ b/python/docs/test-runners.mdx @@ -5,6 +5,7 @@ title: "Pytest Plugin Reference" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/touch-events.mdx b/python/docs/touch-events.mdx index a024dee6caf..0accd3b11eb 100644 --- a/python/docs/touch-events.mdx +++ b/python/docs/touch-events.mdx @@ -5,6 +5,7 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/trace-viewer-intro.mdx b/python/docs/trace-viewer-intro.mdx index 84c6920f141..48884fa2cb3 100644 --- a/python/docs/trace-viewer-intro.mdx +++ b/python/docs/trace-viewer-intro.mdx @@ -5,6 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/trace-viewer.mdx b/python/docs/trace-viewer.mdx index 01b762bad76..7e10f4c486b 100644 --- a/python/docs/trace-viewer.mdx +++ b/python/docs/trace-viewer.mdx @@ -5,6 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/python/docs/videos.mdx b/python/docs/videos.mdx index 9c671d9501b..ae04330710d 100644 --- a/python/docs/videos.mdx +++ b/python/docs/videos.mdx @@ -5,6 +5,7 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/webview2.mdx b/python/docs/webview2.mdx index ded4e5dcca1..28b4238286f 100644 --- a/python/docs/webview2.mdx +++ b/python/docs/webview2.mdx @@ -5,6 +5,7 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/python/docs/writing-tests.mdx b/python/docs/writing-tests.mdx index 9aff4344ac0..abef3d04157 100644 --- a/python/docs/writing-tests.mdx +++ b/python/docs/writing-tests.mdx @@ -5,6 +5,7 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage'; ## Introduction diff --git a/src/components/ProgressiveImage/index.tsx b/src/components/ProgressiveImage/index.tsx new file mode 100644 index 00000000000..4060a5900e3 --- /dev/null +++ b/src/components/ProgressiveImage/index.tsx @@ -0,0 +1,42 @@ +/** + * Copyright (c) Microsoft Corporation. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import React from 'react'; +import Image from '@theme/IdealImageLegacy'; + +function shouldAutoDownload() { + return true; +} + +// This is duplicated from plugin-ideal-image in order to always enable automatic download +// image prop is injected by the plugin-ideal-image Webpack plugin +function ProgressiveImage({ image: { preSrc, src } }) { + return ( + ({ + ...image, + src: image.path, + }))} + shouldAutoDownload={shouldAutoDownload} + /> + ); +} + +export default ProgressiveImage; diff --git a/src/generator.js b/src/generator.js index 3676fa01ca8..dbddbe5d515 100644 --- a/src/generator.js +++ b/src/generator.js @@ -431,9 +431,8 @@ ${this.documentation.renderLinksInText(member.discouraged)} * @param {string} content */ rewriteImageLinks(content) { - // use optimised instead: https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-ideal-image return content.replaceAll(/!\[(.*)\]\((\.\/images\/.*)\)/g, (match, alt, link) => { - return `![${alt}](${path.join('..', link)})`; + return ``; }); } @@ -450,7 +449,8 @@ ${this.documentation.renderLinksInText(member.discouraged)} --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -import HTMLCard from '@site/src/components/HTMLCard';`); +import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@site/src/components/ProgressiveImage';`); writeFileSyncCached(path.join(this.outDir, outName), this.rewriteVersion(this.mdxLinks(output))); } From 1576adbd3fbe84740bf8b5f6442aa10858ac0e02 Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Thu, 31 Jul 2025 12:16:29 -0700 Subject: [PATCH 2/5] Restore deleted clock uninstalls --- dotnet/docs/api/class-clock.mdx | 17 +++++++++++++++++ java/docs/api/class-clock.mdx | 17 +++++++++++++++++ nodejs/docs/api/class-clock.mdx | 17 +++++++++++++++++ python/docs/api/class-clock.mdx | 17 +++++++++++++++++ 4 files changed, 68 insertions(+) diff --git a/dotnet/docs/api/class-clock.mdx b/dotnet/docs/api/class-clock.mdx index ed4ad039663..8511c7b2d58 100644 --- a/dotnet/docs/api/class-clock.mdx +++ b/dotnet/docs/api/class-clock.mdx @@ -189,6 +189,23 @@ await page.Clock.SetSystemTimeAsync("2020-02-02"); **Returns** - [void]# +--- + +### UninstallAsync {#clock-uninstall} + +Added in: v1.55clock.UninstallAsync + +Uninstall fake clock. Note that any currently open page will be still affected by the fake clock, until it navigates away to a new document. + +**Usage** + +```csharp +await Clock.UninstallAsync(); +``` + +**Returns** +- [void]# + [Accessibility]: /api/class-accessibility.mdx "Accessibility" [APIRequest]: /api/class-apirequest.mdx "APIRequest" diff --git a/java/docs/api/class-clock.mdx b/java/docs/api/class-clock.mdx index 8524d9b7d75..370ed3ad5d2 100644 --- a/java/docs/api/class-clock.mdx +++ b/java/docs/api/class-clock.mdx @@ -200,6 +200,23 @@ page.clock().setSystemTime("2020-02-02"); **Returns** - [void]# +--- + +### uninstall {#clock-uninstall} + +Added in: v1.55clock.uninstall + +Uninstall fake clock. Note that any currently open page will be still affected by the fake clock, until it navigates away to a new document. + +**Usage** + +```java +Clock.uninstall(); +``` + +**Returns** +- [void]# + [APIRequest]: /api/class-apirequest.mdx "APIRequest" [APIRequestContext]: /api/class-apirequestcontext.mdx "APIRequestContext" diff --git a/nodejs/docs/api/class-clock.mdx b/nodejs/docs/api/class-clock.mdx index 20fdb94a376..65042be53a5 100644 --- a/nodejs/docs/api/class-clock.mdx +++ b/nodejs/docs/api/class-clock.mdx @@ -198,6 +198,23 @@ await page.clock.setSystemTime('2020-02-02'); **Returns** - [Promise]<[void]># +--- + +### uninstall {#clock-uninstall} + +Added in: v1.55clock.uninstall + +Uninstall fake clock. Note that any currently open page will be still affected by the fake clock, until it navigates away to a new document. + +**Usage** + +```js +await clock.uninstall(); +``` + +**Returns** +- [Promise]<[void]># + [Accessibility]: /api/class-accessibility.mdx "Accessibility" [Android]: /api/class-android.mdx "Android" diff --git a/python/docs/api/class-clock.mdx b/python/docs/api/class-clock.mdx index fb3dd0ece9a..bce83b3aab9 100644 --- a/python/docs/api/class-clock.mdx +++ b/python/docs/api/class-clock.mdx @@ -328,6 +328,23 @@ await page.clock.set_system_time("2020-02-02") **Returns** - [NoneType]# +--- + +### uninstall {#clock-uninstall} + +Added in: v1.55clock.uninstall + +Uninstall fake clock. Note that any currently open page will be still affected by the fake clock, until it navigates away to a new document. + +**Usage** + +```python +clock.uninstall() +``` + +**Returns** +- [NoneType]# + [Accessibility]: /api/class-accessibility.mdx "Accessibility" [APIRequest]: /api/class-apirequest.mdx "APIRequest" From 8922c52c4cfeb4c423279dc9362f7b0979159b59 Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Thu, 31 Jul 2025 12:17:52 -0700 Subject: [PATCH 3/5] Make sure to pass through alt text --- src/components/ProgressiveImage/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ProgressiveImage/index.tsx b/src/components/ProgressiveImage/index.tsx index 4060a5900e3..642c84eca7e 100644 --- a/src/components/ProgressiveImage/index.tsx +++ b/src/components/ProgressiveImage/index.tsx @@ -23,10 +23,11 @@ function shouldAutoDownload() { // This is duplicated from plugin-ideal-image in order to always enable automatic download // image prop is injected by the plugin-ideal-image Webpack plugin -function ProgressiveImage({ image: { preSrc, src } }) { +function ProgressiveImage({ image: { preSrc, src }, alt }) { return ( {alt} Date: Fri, 1 Aug 2025 06:09:11 -0700 Subject: [PATCH 4/5] Properly integrate custom component and update all configs --- dotnet/docs/actionability.mdx | 2 +- dotnet/docs/api-testing.mdx | 2 +- dotnet/docs/api/class-accessibility.mdx | 1 + dotnet/docs/api/class-apirequest.mdx | 1 + dotnet/docs/api/class-apirequestcontext.mdx | 1 + dotnet/docs/api/class-apiresponse.mdx | 1 + .../docs/api/class-apiresponseassertions.mdx | 1 + dotnet/docs/api/class-browser.mdx | 1 + dotnet/docs/api/class-browsercontext.mdx | 1 + dotnet/docs/api/class-browsertype.mdx | 1 + dotnet/docs/api/class-cdpsession.mdx | 1 + dotnet/docs/api/class-cdpsessionevent.mdx | 1 + dotnet/docs/api/class-clock.mdx | 1 + dotnet/docs/api/class-consolemessage.mdx | 1 + dotnet/docs/api/class-dialog.mdx | 1 + dotnet/docs/api/class-download.mdx | 1 + dotnet/docs/api/class-elementhandle.mdx | 1 + dotnet/docs/api/class-filechooser.mdx | 1 + dotnet/docs/api/class-formdata.mdx | 1 + dotnet/docs/api/class-frame.mdx | 1 + dotnet/docs/api/class-framelocator.mdx | 1 + dotnet/docs/api/class-jshandle.mdx | 1 + dotnet/docs/api/class-keyboard.mdx | 1 + dotnet/docs/api/class-locator.mdx | 1 + dotnet/docs/api/class-locatorassertions.mdx | 1 + dotnet/docs/api/class-mouse.mdx | 1 + dotnet/docs/api/class-page.mdx | 1 + dotnet/docs/api/class-pageassertions.mdx | 1 + dotnet/docs/api/class-playwright.mdx | 1 + .../docs/api/class-playwrightassertions.mdx | 1 + dotnet/docs/api/class-request.mdx | 1 + dotnet/docs/api/class-response.mdx | 1 + dotnet/docs/api/class-route.mdx | 1 + dotnet/docs/api/class-selectors.mdx | 1 + dotnet/docs/api/class-timeouterror.mdx | 1 + dotnet/docs/api/class-touchscreen.mdx | 1 + dotnet/docs/api/class-tracing.mdx | 1 + dotnet/docs/api/class-video.mdx | 1 + dotnet/docs/api/class-weberror.mdx | 1 + dotnet/docs/api/class-websocket.mdx | 1 + dotnet/docs/api/class-websocketframe.mdx | 1 + dotnet/docs/api/class-websocketroute.mdx | 1 + dotnet/docs/api/class-worker.mdx | 1 + dotnet/docs/aria-snapshots.mdx | 2 +- dotnet/docs/auth.mdx | 2 +- dotnet/docs/browser-contexts.mdx | 2 +- dotnet/docs/browsers.mdx | 2 +- dotnet/docs/ci-intro.mdx | 2 +- dotnet/docs/ci.mdx | 2 +- dotnet/docs/clock.mdx | 2 +- dotnet/docs/codegen-intro.mdx | 2 +- dotnet/docs/codegen.mdx | 2 +- dotnet/docs/debug.mdx | 2 +- dotnet/docs/dialogs.mdx | 2 +- dotnet/docs/docker.mdx | 2 +- dotnet/docs/downloads.mdx | 2 +- dotnet/docs/emulation.mdx | 2 +- dotnet/docs/evaluating.mdx | 2 +- dotnet/docs/events.mdx | 2 +- dotnet/docs/extensibility.mdx | 2 +- dotnet/docs/frames.mdx | 2 +- dotnet/docs/handles.mdx | 2 +- dotnet/docs/input.mdx | 2 +- dotnet/docs/intro.mdx | 2 +- dotnet/docs/languages.mdx | 2 +- dotnet/docs/library.mdx | 2 +- dotnet/docs/locators.mdx | 2 +- dotnet/docs/mock.mdx | 2 +- dotnet/docs/navigations.mdx | 2 +- dotnet/docs/network.mdx | 2 +- dotnet/docs/other-locators.mdx | 2 +- dotnet/docs/pages.mdx | 2 +- dotnet/docs/pom.mdx | 2 +- dotnet/docs/release-notes.mdx | 2 +- dotnet/docs/running-tests.mdx | 2 +- dotnet/docs/screenshots.mdx | 2 +- dotnet/docs/selenium-grid.mdx | 2 +- dotnet/docs/test-assertions.mdx | 2 +- dotnet/docs/test-runners.mdx | 2 +- dotnet/docs/touch-events.mdx | 2 +- dotnet/docs/trace-viewer-intro.mdx | 2 +- dotnet/docs/trace-viewer.mdx | 2 +- dotnet/docs/videos.mdx | 2 +- dotnet/docs/webview2.mdx | 2 +- dotnet/docs/writing-tests.mdx | 2 +- dotnet/docusaurus.config.ts | 9 ++++++++ java/docs/accessibility-testing.mdx | 2 +- java/docs/actionability.mdx | 2 +- java/docs/api-testing.mdx | 2 +- java/docs/api/class-apirequest.mdx | 1 + java/docs/api/class-apirequestcontext.mdx | 1 + java/docs/api/class-apiresponse.mdx | 1 + java/docs/api/class-apiresponseassertions.mdx | 1 + java/docs/api/class-browser.mdx | 1 + java/docs/api/class-browsercontext.mdx | 1 + java/docs/api/class-browsertype.mdx | 1 + java/docs/api/class-cdpsession.mdx | 1 + java/docs/api/class-clock.mdx | 1 + java/docs/api/class-consolemessage.mdx | 1 + java/docs/api/class-dialog.mdx | 1 + java/docs/api/class-download.mdx | 1 + java/docs/api/class-elementhandle.mdx | 1 + java/docs/api/class-filechooser.mdx | 1 + java/docs/api/class-formdata.mdx | 1 + java/docs/api/class-frame.mdx | 1 + java/docs/api/class-framelocator.mdx | 1 + java/docs/api/class-jshandle.mdx | 1 + java/docs/api/class-keyboard.mdx | 1 + java/docs/api/class-locator.mdx | 1 + java/docs/api/class-locatorassertions.mdx | 1 + java/docs/api/class-mouse.mdx | 1 + java/docs/api/class-page.mdx | 1 + java/docs/api/class-pageassertions.mdx | 1 + java/docs/api/class-playwright.mdx | 1 + java/docs/api/class-playwrightassertions.mdx | 1 + java/docs/api/class-playwrightexception.mdx | 1 + java/docs/api/class-request.mdx | 1 + java/docs/api/class-requestoptions.mdx | 1 + java/docs/api/class-response.mdx | 1 + java/docs/api/class-route.mdx | 1 + java/docs/api/class-selectors.mdx | 1 + java/docs/api/class-timeouterror.mdx | 1 + java/docs/api/class-touchscreen.mdx | 1 + java/docs/api/class-tracing.mdx | 1 + java/docs/api/class-video.mdx | 1 + java/docs/api/class-weberror.mdx | 1 + java/docs/api/class-websocket.mdx | 1 + java/docs/api/class-websocketframe.mdx | 1 + java/docs/api/class-websocketroute.mdx | 1 + java/docs/api/class-worker.mdx | 1 + java/docs/aria-snapshots.mdx | 2 +- java/docs/auth.mdx | 2 +- java/docs/browser-contexts.mdx | 2 +- java/docs/browsers.mdx | 2 +- java/docs/ci-intro.mdx | 2 +- java/docs/ci.mdx | 2 +- java/docs/clock.mdx | 2 +- java/docs/codegen-intro.mdx | 2 +- java/docs/codegen.mdx | 2 +- java/docs/debug.mdx | 2 +- java/docs/dialogs.mdx | 2 +- java/docs/docker.mdx | 2 +- java/docs/downloads.mdx | 2 +- java/docs/emulation.mdx | 2 +- java/docs/evaluating.mdx | 2 +- java/docs/events.mdx | 2 +- java/docs/extensibility.mdx | 2 +- java/docs/frames.mdx | 2 +- java/docs/handles.mdx | 2 +- java/docs/input.mdx | 2 +- java/docs/intro.mdx | 2 +- java/docs/junit.mdx | 2 +- java/docs/languages.mdx | 2 +- java/docs/locators.mdx | 2 +- java/docs/mock.mdx | 2 +- java/docs/navigations.mdx | 2 +- java/docs/network.mdx | 2 +- java/docs/other-locators.mdx | 2 +- java/docs/pages.mdx | 2 +- java/docs/pom.mdx | 2 +- java/docs/release-notes.mdx | 2 +- java/docs/running-tests.mdx | 2 +- java/docs/screenshots.mdx | 2 +- java/docs/selenium-grid.mdx | 2 +- java/docs/test-assertions.mdx | 2 +- java/docs/test-runners.mdx | 2 +- java/docs/threading.mdx | 2 +- java/docs/touch-events.mdx | 2 +- java/docs/trace-viewer-intro.mdx | 2 +- java/docs/trace-viewer.mdx | 2 +- java/docs/videos.mdx | 2 +- java/docs/webview2.mdx | 2 +- java/docs/writing-tests.mdx | 2 +- java/docusaurus.config.ts | 9 ++++++++ nodejs/docs/accessibility-testing.mdx | 2 +- nodejs/docs/actionability.mdx | 2 +- nodejs/docs/api-testing.mdx | 2 +- nodejs/docs/api/class-accessibility.mdx | 1 + nodejs/docs/api/class-android.mdx | 1 + nodejs/docs/api/class-androiddevice.mdx | 1 + nodejs/docs/api/class-androidinput.mdx | 1 + nodejs/docs/api/class-androidsocket.mdx | 1 + nodejs/docs/api/class-androidwebview.mdx | 1 + nodejs/docs/api/class-apirequest.mdx | 1 + nodejs/docs/api/class-apirequestcontext.mdx | 1 + nodejs/docs/api/class-apiresponse.mdx | 1 + .../docs/api/class-apiresponseassertions.mdx | 1 + nodejs/docs/api/class-browser.mdx | 1 + nodejs/docs/api/class-browsercontext.mdx | 1 + nodejs/docs/api/class-browserserver.mdx | 1 + nodejs/docs/api/class-browsertype.mdx | 1 + nodejs/docs/api/class-cdpsession.mdx | 1 + nodejs/docs/api/class-clock.mdx | 1 + nodejs/docs/api/class-consolemessage.mdx | 1 + nodejs/docs/api/class-coverage.mdx | 1 + nodejs/docs/api/class-dialog.mdx | 1 + nodejs/docs/api/class-download.mdx | 1 + nodejs/docs/api/class-electron.mdx | 1 + nodejs/docs/api/class-electronapplication.mdx | 1 + nodejs/docs/api/class-elementhandle.mdx | 1 + nodejs/docs/api/class-filechooser.mdx | 1 + nodejs/docs/api/class-fixtures.mdx | 1 + nodejs/docs/api/class-frame.mdx | 1 + nodejs/docs/api/class-framelocator.mdx | 1 + nodejs/docs/api/class-fullconfig.mdx | 1 + nodejs/docs/api/class-fullproject.mdx | 1 + nodejs/docs/api/class-genericassertions.mdx | 1 + nodejs/docs/api/class-jshandle.mdx | 1 + nodejs/docs/api/class-keyboard.mdx | 1 + nodejs/docs/api/class-location.mdx | 1 + nodejs/docs/api/class-locator.mdx | 1 + nodejs/docs/api/class-locatorassertions.mdx | 1 + nodejs/docs/api/class-logger.mdx | 1 + nodejs/docs/api/class-mouse.mdx | 1 + nodejs/docs/api/class-page.mdx | 1 + nodejs/docs/api/class-pageassertions.mdx | 1 + nodejs/docs/api/class-playwright.mdx | 1 + .../docs/api/class-playwrightassertions.mdx | 1 + nodejs/docs/api/class-reporter.mdx | 1 + nodejs/docs/api/class-request.mdx | 1 + nodejs/docs/api/class-response.mdx | 1 + nodejs/docs/api/class-route.mdx | 1 + nodejs/docs/api/class-selectors.mdx | 1 + nodejs/docs/api/class-snapshotassertions.mdx | 1 + nodejs/docs/api/class-suite.mdx | 1 + nodejs/docs/api/class-test.mdx | 1 + nodejs/docs/api/class-testcase.mdx | 1 + nodejs/docs/api/class-testconfig.mdx | 1 + nodejs/docs/api/class-testerror.mdx | 1 + nodejs/docs/api/class-testinfo.mdx | 1 + nodejs/docs/api/class-testinfoerror.mdx | 1 + nodejs/docs/api/class-testoptions.mdx | 1 + nodejs/docs/api/class-testproject.mdx | 1 + nodejs/docs/api/class-testresult.mdx | 1 + nodejs/docs/api/class-teststep.mdx | 1 + nodejs/docs/api/class-teststepinfo.mdx | 1 + nodejs/docs/api/class-timeouterror.mdx | 1 + nodejs/docs/api/class-touchscreen.mdx | 1 + nodejs/docs/api/class-tracing.mdx | 1 + nodejs/docs/api/class-video.mdx | 1 + nodejs/docs/api/class-weberror.mdx | 1 + nodejs/docs/api/class-websocket.mdx | 1 + nodejs/docs/api/class-websocketroute.mdx | 1 + nodejs/docs/api/class-worker.mdx | 1 + nodejs/docs/api/class-workerinfo.mdx | 1 + nodejs/docs/aria-snapshots.mdx | 2 +- nodejs/docs/auth.mdx | 2 +- nodejs/docs/best-practices.mdx | 2 +- nodejs/docs/browser-contexts.mdx | 2 +- nodejs/docs/browsers.mdx | 2 +- nodejs/docs/canary-releases.mdx | 2 +- nodejs/docs/chrome-extensions.mdx | 2 +- nodejs/docs/ci-intro.mdx | 2 +- nodejs/docs/ci.mdx | 22 +++++++++---------- nodejs/docs/clock.mdx | 2 +- nodejs/docs/codegen-intro.mdx | 2 +- nodejs/docs/codegen.mdx | 2 +- nodejs/docs/debug.mdx | 2 +- nodejs/docs/dialogs.mdx | 2 +- nodejs/docs/docker.mdx | 20 ++++++++--------- nodejs/docs/downloads.mdx | 2 +- nodejs/docs/emulation.mdx | 2 +- nodejs/docs/evaluating.mdx | 2 +- nodejs/docs/events.mdx | 2 +- nodejs/docs/extensibility.mdx | 2 +- nodejs/docs/frames.mdx | 2 +- nodejs/docs/getting-started-vscode.mdx | 2 +- nodejs/docs/handles.mdx | 2 +- nodejs/docs/input.mdx | 2 +- nodejs/docs/intro.mdx | 2 +- nodejs/docs/languages.mdx | 2 +- nodejs/docs/library.mdx | 2 +- nodejs/docs/locators.mdx | 2 +- nodejs/docs/mock-browser.mdx | 2 +- nodejs/docs/mock.mdx | 2 +- nodejs/docs/navigations.mdx | 2 +- nodejs/docs/network.mdx | 2 +- nodejs/docs/other-locators.mdx | 2 +- nodejs/docs/pages.mdx | 2 +- nodejs/docs/pom.mdx | 2 +- nodejs/docs/protractor.mdx | 2 +- nodejs/docs/puppeteer.mdx | 2 +- nodejs/docs/release-notes.mdx | 2 +- nodejs/docs/running-tests.mdx | 2 +- nodejs/docs/screenshots.mdx | 2 +- nodejs/docs/selenium-grid.mdx | 2 +- ...ce-workers-experimental-network-events.mdx | 2 +- nodejs/docs/test-annotations.mdx | 2 +- nodejs/docs/test-assertions.mdx | 2 +- nodejs/docs/test-cli.mdx | 2 +- nodejs/docs/test-components.mdx | 2 +- nodejs/docs/test-configuration.mdx | 2 +- nodejs/docs/test-fixtures.mdx | 2 +- nodejs/docs/test-global-setup-teardown.mdx | 2 +- nodejs/docs/test-parallel.mdx | 2 +- nodejs/docs/test-parameterize.mdx | 2 +- nodejs/docs/test-projects.mdx | 2 +- nodejs/docs/test-reporters.mdx | 2 +- nodejs/docs/test-retries.mdx | 2 +- nodejs/docs/test-sharding.mdx | 2 +- nodejs/docs/test-snapshots.mdx | 2 +- nodejs/docs/test-timeouts.mdx | 2 +- nodejs/docs/test-typescript.mdx | 2 +- nodejs/docs/test-ui-mode.mdx | 2 +- nodejs/docs/test-use-options.mdx | 2 +- nodejs/docs/test-webserver.mdx | 2 +- nodejs/docs/testing-library.mdx | 2 +- nodejs/docs/touch-events.mdx | 2 +- nodejs/docs/trace-viewer-intro.mdx | 2 +- nodejs/docs/trace-viewer.mdx | 2 +- nodejs/docs/videos.mdx | 2 +- nodejs/docs/webview2.mdx | 2 +- nodejs/docs/writing-tests.mdx | 2 +- python/docs/actionability.mdx | 2 +- python/docs/api-testing.mdx | 2 +- python/docs/api/class-accessibility.mdx | 1 + python/docs/api/class-apirequest.mdx | 1 + python/docs/api/class-apirequestcontext.mdx | 1 + python/docs/api/class-apiresponse.mdx | 1 + .../docs/api/class-apiresponseassertions.mdx | 1 + python/docs/api/class-browser.mdx | 1 + python/docs/api/class-browsercontext.mdx | 1 + python/docs/api/class-browsertype.mdx | 1 + python/docs/api/class-cdpsession.mdx | 1 + python/docs/api/class-clock.mdx | 1 + python/docs/api/class-consolemessage.mdx | 1 + python/docs/api/class-dialog.mdx | 1 + python/docs/api/class-download.mdx | 1 + python/docs/api/class-elementhandle.mdx | 1 + python/docs/api/class-error.mdx | 1 + python/docs/api/class-filechooser.mdx | 1 + python/docs/api/class-frame.mdx | 1 + python/docs/api/class-framelocator.mdx | 1 + python/docs/api/class-jshandle.mdx | 1 + python/docs/api/class-keyboard.mdx | 1 + python/docs/api/class-locator.mdx | 1 + python/docs/api/class-locatorassertions.mdx | 1 + python/docs/api/class-mouse.mdx | 1 + python/docs/api/class-page.mdx | 1 + python/docs/api/class-pageassertions.mdx | 1 + python/docs/api/class-playwright.mdx | 1 + python/docs/api/class-request.mdx | 1 + python/docs/api/class-response.mdx | 1 + python/docs/api/class-route.mdx | 1 + python/docs/api/class-selectors.mdx | 1 + python/docs/api/class-timeouterror.mdx | 1 + python/docs/api/class-touchscreen.mdx | 1 + python/docs/api/class-tracing.mdx | 1 + python/docs/api/class-video.mdx | 1 + python/docs/api/class-weberror.mdx | 1 + python/docs/api/class-websocket.mdx | 1 + python/docs/api/class-websocketroute.mdx | 1 + python/docs/api/class-worker.mdx | 1 + python/docs/aria-snapshots.mdx | 2 +- python/docs/auth.mdx | 2 +- python/docs/browser-contexts.mdx | 2 +- python/docs/browsers.mdx | 2 +- python/docs/chrome-extensions.mdx | 2 +- python/docs/ci-intro.mdx | 2 +- python/docs/ci.mdx | 2 +- python/docs/clock.mdx | 2 +- python/docs/codegen-intro.mdx | 2 +- python/docs/codegen.mdx | 2 +- python/docs/debug.mdx | 2 +- python/docs/dialogs.mdx | 2 +- python/docs/docker.mdx | 2 +- python/docs/downloads.mdx | 2 +- python/docs/emulation.mdx | 2 +- python/docs/evaluating.mdx | 2 +- python/docs/events.mdx | 2 +- python/docs/extensibility.mdx | 2 +- python/docs/frames.mdx | 2 +- python/docs/handles.mdx | 2 +- python/docs/input.mdx | 2 +- python/docs/intro.mdx | 2 +- python/docs/languages.mdx | 2 +- python/docs/library.mdx | 2 +- python/docs/locators.mdx | 2 +- python/docs/mock.mdx | 2 +- python/docs/navigations.mdx | 2 +- python/docs/network.mdx | 2 +- python/docs/other-locators.mdx | 2 +- python/docs/pages.mdx | 2 +- python/docs/pom.mdx | 2 +- python/docs/release-notes.mdx | 2 +- python/docs/running-tests.mdx | 2 +- python/docs/screenshots.mdx | 2 +- python/docs/selenium-grid.mdx | 2 +- python/docs/test-assertions.mdx | 2 +- python/docs/test-runners.mdx | 2 +- python/docs/touch-events.mdx | 2 +- python/docs/trace-viewer-intro.mdx | 2 +- python/docs/trace-viewer.mdx | 2 +- python/docs/videos.mdx | 2 +- python/docs/webview2.mdx | 2 +- python/docs/writing-tests.mdx | 2 +- python/docusaurus.config.ts | 9 ++++++++ src/generator.js | 3 ++- .../ProgressiveImage/index.tsx | 12 +++++----- 399 files changed, 447 insertions(+), 233 deletions(-) rename src/{components => theme}/ProgressiveImage/index.tsx (82%) diff --git a/dotnet/docs/actionability.mdx b/dotnet/docs/actionability.mdx index d27df291a37..d12555758f3 100644 --- a/dotnet/docs/actionability.mdx +++ b/dotnet/docs/actionability.mdx @@ -5,7 +5,7 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/api-testing.mdx b/dotnet/docs/api-testing.mdx index d137b96d62f..caf826b691c 100644 --- a/dotnet/docs/api-testing.mdx +++ b/dotnet/docs/api-testing.mdx @@ -5,7 +5,7 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/api/class-accessibility.mdx b/dotnet/docs/api/class-accessibility.mdx index be54f8d7c9e..b989859c06e 100644 --- a/dotnet/docs/api/class-accessibility.mdx +++ b/dotnet/docs/api/class-accessibility.mdx @@ -5,6 +5,7 @@ title: "Accessibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; :::warning[Deprecated] diff --git a/dotnet/docs/api/class-apirequest.mdx b/dotnet/docs/api/class-apirequest.mdx index 01989086592..5af8dd1c77c 100644 --- a/dotnet/docs/api/class-apirequest.mdx +++ b/dotnet/docs/api/class-apirequest.mdx @@ -5,6 +5,7 @@ title: "APIRequest" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Exposes API that can be used for the Web API testing. This class is used for creating [APIRequestContext] instance which in turn can be used for sending web requests. An instance of this class can be obtained via [Playwright.APIRequest](/api/class-playwright.mdx#playwright-request). For more information see [APIRequestContext]. diff --git a/dotnet/docs/api/class-apirequestcontext.mdx b/dotnet/docs/api/class-apirequestcontext.mdx index b583a1bf242..7aac00a3fc4 100644 --- a/dotnet/docs/api/class-apirequestcontext.mdx +++ b/dotnet/docs/api/class-apirequestcontext.mdx @@ -5,6 +5,7 @@ title: "APIRequestContext" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; This API is used for the Web API testing. You can use it to trigger API endpoints, configure micro-services, prepare environment or the service to your e2e test. diff --git a/dotnet/docs/api/class-apiresponse.mdx b/dotnet/docs/api/class-apiresponse.mdx index d18b3c8497b..fe29aa32cee 100644 --- a/dotnet/docs/api/class-apiresponse.mdx +++ b/dotnet/docs/api/class-apiresponse.mdx @@ -5,6 +5,7 @@ title: "APIResponse" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [APIResponse] class represents responses returned by [ApiRequestContext.GetAsync()](/api/class-apirequestcontext.mdx#api-request-context-get) and similar methods. diff --git a/dotnet/docs/api/class-apiresponseassertions.mdx b/dotnet/docs/api/class-apiresponseassertions.mdx index b003204b53c..bb51496e1a8 100644 --- a/dotnet/docs/api/class-apiresponseassertions.mdx +++ b/dotnet/docs/api/class-apiresponseassertions.mdx @@ -5,6 +5,7 @@ title: "APIResponseAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [APIResponseAssertions] class provides assertion methods that can be used to make assertions about the [APIResponse] in the tests. diff --git a/dotnet/docs/api/class-browser.mdx b/dotnet/docs/api/class-browser.mdx index 170d2ad2ac8..032996c48f7 100644 --- a/dotnet/docs/api/class-browser.mdx +++ b/dotnet/docs/api/class-browser.mdx @@ -5,6 +5,7 @@ title: "Browser" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; A Browser is created via [BrowserType.LaunchAsync()](/api/class-browsertype.mdx#browser-type-launch). An example of using a [Browser] to create a [Page]: diff --git a/dotnet/docs/api/class-browsercontext.mdx b/dotnet/docs/api/class-browsercontext.mdx index c19df7a3476..774212a731c 100644 --- a/dotnet/docs/api/class-browsercontext.mdx +++ b/dotnet/docs/api/class-browsercontext.mdx @@ -5,6 +5,7 @@ title: "BrowserContext" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; BrowserContexts provide a way to operate multiple independent browser sessions. diff --git a/dotnet/docs/api/class-browsertype.mdx b/dotnet/docs/api/class-browsertype.mdx index dd5f174e136..10defc5b82a 100644 --- a/dotnet/docs/api/class-browsertype.mdx +++ b/dotnet/docs/api/class-browsertype.mdx @@ -5,6 +5,7 @@ title: "BrowserType" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; BrowserType provides methods to launch a specific browser instance or connect to an existing one. The following is a typical example of using Playwright to drive automation: diff --git a/dotnet/docs/api/class-cdpsession.mdx b/dotnet/docs/api/class-cdpsession.mdx index fcf218add1a..5ebb93bc6ba 100644 --- a/dotnet/docs/api/class-cdpsession.mdx +++ b/dotnet/docs/api/class-cdpsession.mdx @@ -5,6 +5,7 @@ title: "CDPSession" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The `CDPSession` instances are used to talk raw Chrome Devtools Protocol: diff --git a/dotnet/docs/api/class-cdpsessionevent.mdx b/dotnet/docs/api/class-cdpsessionevent.mdx index 018340872b1..2db7f37d770 100644 --- a/dotnet/docs/api/class-cdpsessionevent.mdx +++ b/dotnet/docs/api/class-cdpsessionevent.mdx @@ -5,6 +5,7 @@ title: "CDPSessionEvent" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [CDPSessionEvent] objects are returned by page via the [CdpSession.Event()](/api/class-cdpsession.mdx#cdp-session-event) method. diff --git a/dotnet/docs/api/class-clock.mdx b/dotnet/docs/api/class-clock.mdx index 8511c7b2d58..df9d7e370b7 100644 --- a/dotnet/docs/api/class-clock.mdx +++ b/dotnet/docs/api/class-clock.mdx @@ -5,6 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Accurately simulating time-dependent behavior is essential for verifying the correctness of applications. Learn more about [clock emulation](../clock.mdx). diff --git a/dotnet/docs/api/class-consolemessage.mdx b/dotnet/docs/api/class-consolemessage.mdx index d468abddc16..424a5880baf 100644 --- a/dotnet/docs/api/class-consolemessage.mdx +++ b/dotnet/docs/api/class-consolemessage.mdx @@ -5,6 +5,7 @@ title: "ConsoleMessage" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [ConsoleMessage] objects are dispatched by page via the [Page.Console](/api/class-page.mdx#page-event-console) event. For each console message logged in the page there will be corresponding event in the Playwright context. diff --git a/dotnet/docs/api/class-dialog.mdx b/dotnet/docs/api/class-dialog.mdx index 0c239aea28b..e8f598a308c 100644 --- a/dotnet/docs/api/class-dialog.mdx +++ b/dotnet/docs/api/class-dialog.mdx @@ -5,6 +5,7 @@ title: "Dialog" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Dialog] objects are dispatched by page via the [Page.Dialog](/api/class-page.mdx#page-event-dialog) event. diff --git a/dotnet/docs/api/class-download.mdx b/dotnet/docs/api/class-download.mdx index 1ead454fc71..a3cd0571e21 100644 --- a/dotnet/docs/api/class-download.mdx +++ b/dotnet/docs/api/class-download.mdx @@ -5,6 +5,7 @@ title: "Download" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Download] objects are dispatched by page via the [Page.Download](/api/class-page.mdx#page-event-download) event. diff --git a/dotnet/docs/api/class-elementhandle.mdx b/dotnet/docs/api/class-elementhandle.mdx index 406f1bb3a5c..247890d904d 100644 --- a/dotnet/docs/api/class-elementhandle.mdx +++ b/dotnet/docs/api/class-elementhandle.mdx @@ -5,6 +5,7 @@ title: "ElementHandle" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; * extends: [JSHandle] diff --git a/dotnet/docs/api/class-filechooser.mdx b/dotnet/docs/api/class-filechooser.mdx index df3ad9642ab..e9efa17d517 100644 --- a/dotnet/docs/api/class-filechooser.mdx +++ b/dotnet/docs/api/class-filechooser.mdx @@ -5,6 +5,7 @@ title: "FileChooser" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [FileChooser] objects are dispatched by the page in the [Page.FileChooser](/api/class-page.mdx#page-event-file-chooser) event. diff --git a/dotnet/docs/api/class-formdata.mdx b/dotnet/docs/api/class-formdata.mdx index 7419df2b6f5..bb1ff1ff8e6 100644 --- a/dotnet/docs/api/class-formdata.mdx +++ b/dotnet/docs/api/class-formdata.mdx @@ -5,6 +5,7 @@ title: "FormData" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [FormData] is used create form data that is sent via [APIRequestContext]. diff --git a/dotnet/docs/api/class-frame.mdx b/dotnet/docs/api/class-frame.mdx index 3b49f0a7f87..2f9d8d91b31 100644 --- a/dotnet/docs/api/class-frame.mdx +++ b/dotnet/docs/api/class-frame.mdx @@ -5,6 +5,7 @@ title: "Frame" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; At every point of time, page exposes its current frame tree via the [Page.MainFrame](/api/class-page.mdx#page-main-frame) and [Frame.ChildFrames](/api/class-frame.mdx#frame-child-frames) methods. diff --git a/dotnet/docs/api/class-framelocator.mdx b/dotnet/docs/api/class-framelocator.mdx index df3f9feee08..d9574aa8ed2 100644 --- a/dotnet/docs/api/class-framelocator.mdx +++ b/dotnet/docs/api/class-framelocator.mdx @@ -5,6 +5,7 @@ title: "FrameLocator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; FrameLocator represents a view to the `iframe` on the page. It captures the logic sufficient to retrieve the `iframe` and locate elements in that iframe. FrameLocator can be created with either [Locator.ContentFrame](/api/class-locator.mdx#locator-content-frame), [Page.FrameLocator()](/api/class-page.mdx#page-frame-locator) or [Locator.FrameLocator()](/api/class-locator.mdx#locator-frame-locator) method. diff --git a/dotnet/docs/api/class-jshandle.mdx b/dotnet/docs/api/class-jshandle.mdx index b289757ebad..f3707490794 100644 --- a/dotnet/docs/api/class-jshandle.mdx +++ b/dotnet/docs/api/class-jshandle.mdx @@ -5,6 +5,7 @@ title: "JSHandle" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; JSHandle represents an in-page JavaScript object. JSHandles can be created with the [Page.EvaluateHandleAsync()](/api/class-page.mdx#page-evaluate-handle) method. diff --git a/dotnet/docs/api/class-keyboard.mdx b/dotnet/docs/api/class-keyboard.mdx index 29c525e9cb2..c82c326ec81 100644 --- a/dotnet/docs/api/class-keyboard.mdx +++ b/dotnet/docs/api/class-keyboard.mdx @@ -5,6 +5,7 @@ title: "Keyboard" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Keyboard provides an api for managing a virtual keyboard. The high level api is [Keyboard.TypeAsync()](/api/class-keyboard.mdx#keyboard-type), which takes raw characters and generates proper `keydown`, `keypress`/`input`, and `keyup` events on your page. diff --git a/dotnet/docs/api/class-locator.mdx b/dotnet/docs/api/class-locator.mdx index 62f77c78daa..46d4d580d63 100644 --- a/dotnet/docs/api/class-locator.mdx +++ b/dotnet/docs/api/class-locator.mdx @@ -5,6 +5,7 @@ title: "Locator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Locators are the central piece of Playwright's auto-waiting and retry-ability. In a nutshell, locators represent a way to find element(s) on the page at any moment. A locator can be created with the [Page.Locator()](/api/class-page.mdx#page-locator) method. diff --git a/dotnet/docs/api/class-locatorassertions.mdx b/dotnet/docs/api/class-locatorassertions.mdx index 5d69ecf63ff..07979a6c83b 100644 --- a/dotnet/docs/api/class-locatorassertions.mdx +++ b/dotnet/docs/api/class-locatorassertions.mdx @@ -5,6 +5,7 @@ title: "LocatorAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [LocatorAssertions] class provides assertion methods that can be used to make assertions about the [Locator] state in the tests. diff --git a/dotnet/docs/api/class-mouse.mdx b/dotnet/docs/api/class-mouse.mdx index ace213b7186..eb18625877c 100644 --- a/dotnet/docs/api/class-mouse.mdx +++ b/dotnet/docs/api/class-mouse.mdx @@ -5,6 +5,7 @@ title: "Mouse" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. diff --git a/dotnet/docs/api/class-page.mdx b/dotnet/docs/api/class-page.mdx index b6284641518..1adcd69e55b 100644 --- a/dotnet/docs/api/class-page.mdx +++ b/dotnet/docs/api/class-page.mdx @@ -5,6 +5,7 @@ title: "Page" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Page provides methods to interact with a single tab in a [Browser], or an [extension background page](https://developer.chrome.com/extensions/background_pages) in Chromium. One [Browser] instance might have multiple [Page] instances. diff --git a/dotnet/docs/api/class-pageassertions.mdx b/dotnet/docs/api/class-pageassertions.mdx index 9952a82d1fc..bbd6921715c 100644 --- a/dotnet/docs/api/class-pageassertions.mdx +++ b/dotnet/docs/api/class-pageassertions.mdx @@ -5,6 +5,7 @@ title: "PageAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [PageAssertions] class provides assertion methods that can be used to make assertions about the [Page] state in the tests. diff --git a/dotnet/docs/api/class-playwright.mdx b/dotnet/docs/api/class-playwright.mdx index 4b552226802..80d716b4846 100644 --- a/dotnet/docs/api/class-playwright.mdx +++ b/dotnet/docs/api/class-playwright.mdx @@ -5,6 +5,7 @@ title: "Playwright" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright module provides a method to launch a browser instance. The following is a typical example of using Playwright to drive automation: diff --git a/dotnet/docs/api/class-playwrightassertions.mdx b/dotnet/docs/api/class-playwrightassertions.mdx index cee9cdd51ca..731359e6ca9 100644 --- a/dotnet/docs/api/class-playwrightassertions.mdx +++ b/dotnet/docs/api/class-playwrightassertions.mdx @@ -5,6 +5,7 @@ title: "PlaywrightAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright gives you Web-First Assertions with convenience methods for creating assertions that will wait and retry until the expected condition is met. diff --git a/dotnet/docs/api/class-request.mdx b/dotnet/docs/api/class-request.mdx index a346c9fe0a1..9e42852d09c 100644 --- a/dotnet/docs/api/class-request.mdx +++ b/dotnet/docs/api/class-request.mdx @@ -5,6 +5,7 @@ title: "Request" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever the page sends a request for a network resource the following sequence of events are emitted by [Page]: diff --git a/dotnet/docs/api/class-response.mdx b/dotnet/docs/api/class-response.mdx index 3b4f13d59d0..5d51fc8756a 100644 --- a/dotnet/docs/api/class-response.mdx +++ b/dotnet/docs/api/class-response.mdx @@ -5,6 +5,7 @@ title: "Response" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Response] class represents responses which are received by page. diff --git a/dotnet/docs/api/class-route.mdx b/dotnet/docs/api/class-route.mdx index 78748892afd..5f8e803f5e4 100644 --- a/dotnet/docs/api/class-route.mdx +++ b/dotnet/docs/api/class-route.mdx @@ -5,6 +5,7 @@ title: "Route" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever a network route is set up with [Page.RouteAsync()](/api/class-page.mdx#page-route) or [BrowserContext.RouteAsync()](/api/class-browsercontext.mdx#browser-context-route), the `Route` object allows to handle the route. diff --git a/dotnet/docs/api/class-selectors.mdx b/dotnet/docs/api/class-selectors.mdx index efee1d802b6..84096406f67 100644 --- a/dotnet/docs/api/class-selectors.mdx +++ b/dotnet/docs/api/class-selectors.mdx @@ -5,6 +5,7 @@ title: "Selectors" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Selectors can be used to install custom selector engines. See [extensibility](../extensibility.mdx) for more information. diff --git a/dotnet/docs/api/class-timeouterror.mdx b/dotnet/docs/api/class-timeouterror.mdx index 11864b08d11..723d1b04650 100644 --- a/dotnet/docs/api/class-timeouterror.mdx +++ b/dotnet/docs/api/class-timeouterror.mdx @@ -5,6 +5,7 @@ title: "TimeoutError" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; * extends: [Error] diff --git a/dotnet/docs/api/class-touchscreen.mdx b/dotnet/docs/api/class-touchscreen.mdx index 9a0fe300c8f..5ed2ffe0d9d 100644 --- a/dotnet/docs/api/class-touchscreen.mdx +++ b/dotnet/docs/api/class-touchscreen.mdx @@ -5,6 +5,7 @@ title: "Touchscreen" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport. Methods on the touchscreen can only be used in browser contexts that have been initialized with `hasTouch` set to true. diff --git a/dotnet/docs/api/class-tracing.mdx b/dotnet/docs/api/class-tracing.mdx index da363d22ed2..9ed1d08bae2 100644 --- a/dotnet/docs/api/class-tracing.mdx +++ b/dotnet/docs/api/class-tracing.mdx @@ -5,6 +5,7 @@ title: "Tracing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; API for collecting and saving Playwright traces. Playwright traces can be opened in [Trace Viewer](../trace-viewer.mdx) after Playwright script runs. diff --git a/dotnet/docs/api/class-video.mdx b/dotnet/docs/api/class-video.mdx index a3d0ef4a679..ece589175ee 100644 --- a/dotnet/docs/api/class-video.mdx +++ b/dotnet/docs/api/class-video.mdx @@ -5,6 +5,7 @@ title: "Video" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; When browser context is created with the `recordVideo` option, each page has a video object associated with it. diff --git a/dotnet/docs/api/class-weberror.mdx b/dotnet/docs/api/class-weberror.mdx index bbe73bf2d2b..2eda5340524 100644 --- a/dotnet/docs/api/class-weberror.mdx +++ b/dotnet/docs/api/class-weberror.mdx @@ -5,6 +5,7 @@ title: "WebError" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [WebError] class represents an unhandled exception thrown in the page. It is dispatched via the [BrowserContext.WebError](/api/class-browsercontext.mdx#browser-context-event-web-error) event. diff --git a/dotnet/docs/api/class-websocket.mdx b/dotnet/docs/api/class-websocket.mdx index 8ca4fb4a0c9..6a068700f73 100644 --- a/dotnet/docs/api/class-websocket.mdx +++ b/dotnet/docs/api/class-websocket.mdx @@ -5,6 +5,7 @@ title: "WebSocket" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [WebSocket] class represents WebSocket connections within a page. It provides the ability to inspect and manipulate the data being transmitted and received. diff --git a/dotnet/docs/api/class-websocketframe.mdx b/dotnet/docs/api/class-websocketframe.mdx index 24903141f97..ee59e81ab76 100644 --- a/dotnet/docs/api/class-websocketframe.mdx +++ b/dotnet/docs/api/class-websocketframe.mdx @@ -5,6 +5,7 @@ title: "WebSocketFrame" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [WebSocketFrame] class represents frames sent over [WebSocket] connections in the page. Frame payload is returned by either [WebSocketFrame.Text](/api/class-websocketframe.mdx#web-socket-frame-text) or [WebSocketFrame.Binary](/api/class-websocketframe.mdx#web-socket-frame-binary) method depending on the its type. diff --git a/dotnet/docs/api/class-websocketroute.mdx b/dotnet/docs/api/class-websocketroute.mdx index 0c0d8b2449b..5958716f5ed 100644 --- a/dotnet/docs/api/class-websocketroute.mdx +++ b/dotnet/docs/api/class-websocketroute.mdx @@ -5,6 +5,7 @@ title: "WebSocketRoute" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever a [`WebSocket`](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) route is set up with [Page.RouteWebSocketAsync()](/api/class-page.mdx#page-route-web-socket) or [BrowserContext.RouteWebSocketAsync()](/api/class-browsercontext.mdx#browser-context-route-web-socket), the `WebSocketRoute` object allows to handle the WebSocket, like an actual server would do. diff --git a/dotnet/docs/api/class-worker.mdx b/dotnet/docs/api/class-worker.mdx index 11239d8db59..d16d830b939 100644 --- a/dotnet/docs/api/class-worker.mdx +++ b/dotnet/docs/api/class-worker.mdx @@ -5,6 +5,7 @@ title: "Worker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Worker class represents a [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). `worker` event is emitted on the page object to signal a worker creation. `close` event is emitted on the worker object when the worker is gone. diff --git a/dotnet/docs/aria-snapshots.mdx b/dotnet/docs/aria-snapshots.mdx index cdfb3405490..ac3bc8b1384 100644 --- a/dotnet/docs/aria-snapshots.mdx +++ b/dotnet/docs/aria-snapshots.mdx @@ -5,7 +5,7 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/dotnet/docs/auth.mdx b/dotnet/docs/auth.mdx index 8da9603a11d..241a9a792fb 100644 --- a/dotnet/docs/auth.mdx +++ b/dotnet/docs/auth.mdx @@ -5,7 +5,7 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/browser-contexts.mdx b/dotnet/docs/browser-contexts.mdx index 9722102913f..cf0a0c0035b 100644 --- a/dotnet/docs/browser-contexts.mdx +++ b/dotnet/docs/browser-contexts.mdx @@ -5,7 +5,7 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/browsers.mdx b/dotnet/docs/browsers.mdx index dbd08167a81..bf8638f5b62 100644 --- a/dotnet/docs/browsers.mdx +++ b/dotnet/docs/browsers.mdx @@ -5,7 +5,7 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/ci-intro.mdx b/dotnet/docs/ci-intro.mdx index 12bab8262b0..98e1cd0023e 100644 --- a/dotnet/docs/ci-intro.mdx +++ b/dotnet/docs/ci-intro.mdx @@ -5,7 +5,7 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/ci.mdx b/dotnet/docs/ci.mdx index fd085c9dc0d..1bed1d75218 100644 --- a/dotnet/docs/ci.mdx +++ b/dotnet/docs/ci.mdx @@ -5,7 +5,7 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/clock.mdx b/dotnet/docs/clock.mdx index d423e98c0df..28de6df39d8 100644 --- a/dotnet/docs/clock.mdx +++ b/dotnet/docs/clock.mdx @@ -5,7 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/dotnet/docs/codegen-intro.mdx b/dotnet/docs/codegen-intro.mdx index eb4b7e19373..dc37e104fe0 100644 --- a/dotnet/docs/codegen-intro.mdx +++ b/dotnet/docs/codegen-intro.mdx @@ -5,7 +5,7 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/codegen.mdx b/dotnet/docs/codegen.mdx index 6905e03e3ae..13b6b7a3a0b 100644 --- a/dotnet/docs/codegen.mdx +++ b/dotnet/docs/codegen.mdx @@ -5,7 +5,7 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/dotnet/docs/debug.mdx b/dotnet/docs/debug.mdx index 01f13f2c3e5..e04f205f249 100644 --- a/dotnet/docs/debug.mdx +++ b/dotnet/docs/debug.mdx @@ -5,7 +5,7 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Playwright Inspector diff --git a/dotnet/docs/dialogs.mdx b/dotnet/docs/dialogs.mdx index daa83741383..5bc777df326 100644 --- a/dotnet/docs/dialogs.mdx +++ b/dotnet/docs/dialogs.mdx @@ -5,7 +5,7 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/docker.mdx b/dotnet/docs/docker.mdx index baacdeff9bd..9eeed0d723e 100644 --- a/dotnet/docs/docker.mdx +++ b/dotnet/docs/docker.mdx @@ -5,7 +5,7 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/downloads.mdx b/dotnet/docs/downloads.mdx index 39256f620dd..99834b7cbe9 100644 --- a/dotnet/docs/downloads.mdx +++ b/dotnet/docs/downloads.mdx @@ -5,7 +5,7 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/emulation.mdx b/dotnet/docs/emulation.mdx index a75cb021e16..019d3f0315d 100644 --- a/dotnet/docs/emulation.mdx +++ b/dotnet/docs/emulation.mdx @@ -5,7 +5,7 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/evaluating.mdx b/dotnet/docs/evaluating.mdx index 37cb8f3560e..314f1bcd2ff 100644 --- a/dotnet/docs/evaluating.mdx +++ b/dotnet/docs/evaluating.mdx @@ -5,7 +5,7 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/events.mdx b/dotnet/docs/events.mdx index 21cd1e09f47..d4b10cf2d38 100644 --- a/dotnet/docs/events.mdx +++ b/dotnet/docs/events.mdx @@ -5,7 +5,7 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/extensibility.mdx b/dotnet/docs/extensibility.mdx index 10cbf60c571..3d0c5a1ab4d 100644 --- a/dotnet/docs/extensibility.mdx +++ b/dotnet/docs/extensibility.mdx @@ -5,7 +5,7 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Custom selector engines diff --git a/dotnet/docs/frames.mdx b/dotnet/docs/frames.mdx index f632f62a18c..9dfc8a4565a 100644 --- a/dotnet/docs/frames.mdx +++ b/dotnet/docs/frames.mdx @@ -5,7 +5,7 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/handles.mdx b/dotnet/docs/handles.mdx index d6e101af0e9..8b295b098a5 100644 --- a/dotnet/docs/handles.mdx +++ b/dotnet/docs/handles.mdx @@ -5,7 +5,7 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/input.mdx b/dotnet/docs/input.mdx index 9cb317c50fb..d9c42227d97 100644 --- a/dotnet/docs/input.mdx +++ b/dotnet/docs/input.mdx @@ -5,7 +5,7 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/intro.mdx b/dotnet/docs/intro.mdx index 0c2cecee4c3..f36fe405133 100644 --- a/dotnet/docs/intro.mdx +++ b/dotnet/docs/intro.mdx @@ -5,7 +5,7 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/languages.mdx b/dotnet/docs/languages.mdx index 5ca482a8d53..03de39a995c 100644 --- a/dotnet/docs/languages.mdx +++ b/dotnet/docs/languages.mdx @@ -5,7 +5,7 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/library.mdx b/dotnet/docs/library.mdx index e85dd5abdda..440c4fbb636 100644 --- a/dotnet/docs/library.mdx +++ b/dotnet/docs/library.mdx @@ -5,7 +5,7 @@ title: "Getting started - Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/locators.mdx b/dotnet/docs/locators.mdx index eced1d43f49..428f37e816c 100644 --- a/dotnet/docs/locators.mdx +++ b/dotnet/docs/locators.mdx @@ -5,7 +5,7 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/mock.mdx b/dotnet/docs/mock.mdx index b384bcf35bf..fa848fec502 100644 --- a/dotnet/docs/mock.mdx +++ b/dotnet/docs/mock.mdx @@ -5,7 +5,7 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/navigations.mdx b/dotnet/docs/navigations.mdx index 7186cc0a593..a055e83aa0c 100644 --- a/dotnet/docs/navigations.mdx +++ b/dotnet/docs/navigations.mdx @@ -5,7 +5,7 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/network.mdx b/dotnet/docs/network.mdx index ad630bac24b..71dc7418188 100644 --- a/dotnet/docs/network.mdx +++ b/dotnet/docs/network.mdx @@ -5,7 +5,7 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/other-locators.mdx b/dotnet/docs/other-locators.mdx index 077f0774325..5063b14858f 100644 --- a/dotnet/docs/other-locators.mdx +++ b/dotnet/docs/other-locators.mdx @@ -5,7 +5,7 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/pages.mdx b/dotnet/docs/pages.mdx index 7f875fe27a6..1d0356e9e55 100644 --- a/dotnet/docs/pages.mdx +++ b/dotnet/docs/pages.mdx @@ -5,7 +5,7 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Pages diff --git a/dotnet/docs/pom.mdx b/dotnet/docs/pom.mdx index 6a08f8169eb..897fce0a5cf 100644 --- a/dotnet/docs/pom.mdx +++ b/dotnet/docs/pom.mdx @@ -5,7 +5,7 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/release-notes.mdx b/dotnet/docs/release-notes.mdx index ee9d23343cc..a5f91f64538 100644 --- a/dotnet/docs/release-notes.mdx +++ b/dotnet/docs/release-notes.mdx @@ -6,7 +6,7 @@ toc_max_heading_level: 2 import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Version 1.54 diff --git a/dotnet/docs/running-tests.mdx b/dotnet/docs/running-tests.mdx index ae14a7c2b95..a35c51d62c5 100644 --- a/dotnet/docs/running-tests.mdx +++ b/dotnet/docs/running-tests.mdx @@ -5,7 +5,7 @@ title: "Running and debugging tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/screenshots.mdx b/dotnet/docs/screenshots.mdx index 625ea9729ba..42306845089 100644 --- a/dotnet/docs/screenshots.mdx +++ b/dotnet/docs/screenshots.mdx @@ -5,7 +5,7 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/selenium-grid.mdx b/dotnet/docs/selenium-grid.mdx index a4e0b592735..0a65242b49a 100644 --- a/dotnet/docs/selenium-grid.mdx +++ b/dotnet/docs/selenium-grid.mdx @@ -5,7 +5,7 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/test-assertions.mdx b/dotnet/docs/test-assertions.mdx index 019315fc7cc..9d0c9b5097e 100644 --- a/dotnet/docs/test-assertions.mdx +++ b/dotnet/docs/test-assertions.mdx @@ -5,7 +5,7 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## List of assertions diff --git a/dotnet/docs/test-runners.mdx b/dotnet/docs/test-runners.mdx index 6c2227a938b..f8ea6ded426 100644 --- a/dotnet/docs/test-runners.mdx +++ b/dotnet/docs/test-runners.mdx @@ -5,7 +5,7 @@ title: "Test Runners" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/touch-events.mdx b/dotnet/docs/touch-events.mdx index 378a315ce57..a323c123191 100644 --- a/dotnet/docs/touch-events.mdx +++ b/dotnet/docs/touch-events.mdx @@ -5,7 +5,7 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/trace-viewer-intro.mdx b/dotnet/docs/trace-viewer-intro.mdx index 15e78a64184..d2037b6821a 100644 --- a/dotnet/docs/trace-viewer-intro.mdx +++ b/dotnet/docs/trace-viewer-intro.mdx @@ -5,7 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/trace-viewer.mdx b/dotnet/docs/trace-viewer.mdx index 7229d8cac19..8f49f9581a9 100644 --- a/dotnet/docs/trace-viewer.mdx +++ b/dotnet/docs/trace-viewer.mdx @@ -5,7 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/dotnet/docs/videos.mdx b/dotnet/docs/videos.mdx index db3c9435375..61ddb9ea35f 100644 --- a/dotnet/docs/videos.mdx +++ b/dotnet/docs/videos.mdx @@ -5,7 +5,7 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/webview2.mdx b/dotnet/docs/webview2.mdx index 6dca3e578fa..282f01a0820 100644 --- a/dotnet/docs/webview2.mdx +++ b/dotnet/docs/webview2.mdx @@ -5,7 +5,7 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/writing-tests.mdx b/dotnet/docs/writing-tests.mdx index 4e5bfeb7ddf..1edede1f083 100644 --- a/dotnet/docs/writing-tests.mdx +++ b/dotnet/docs/writing-tests.mdx @@ -5,7 +5,7 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docusaurus.config.ts b/dotnet/docusaurus.config.ts index cb26119d007..87e573cfc5e 100644 --- a/dotnet/docusaurus.config.ts +++ b/dotnet/docusaurus.config.ts @@ -34,6 +34,15 @@ let plugins = [ }), ], require.resolve("@docusaurus/plugin-content-pages"), + [ + require.resolve('@docusaurus/plugin-ideal-image'), + { + max: 1024, + min: 640, + steps: 4, + disableInDev: false + } + ], ]; if (isProd) { diff --git a/java/docs/accessibility-testing.mdx b/java/docs/accessibility-testing.mdx index 036be71a4d0..36c964b1915 100644 --- a/java/docs/accessibility-testing.mdx +++ b/java/docs/accessibility-testing.mdx @@ -5,7 +5,7 @@ title: "Accessibility testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/actionability.mdx b/java/docs/actionability.mdx index 78226058b00..85c3f019e08 100644 --- a/java/docs/actionability.mdx +++ b/java/docs/actionability.mdx @@ -5,7 +5,7 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/api-testing.mdx b/java/docs/api-testing.mdx index d2d19b8c935..fceefe0fb51 100644 --- a/java/docs/api-testing.mdx +++ b/java/docs/api-testing.mdx @@ -5,7 +5,7 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/api/class-apirequest.mdx b/java/docs/api/class-apirequest.mdx index 5a02eeabde5..cf872cbe1d7 100644 --- a/java/docs/api/class-apirequest.mdx +++ b/java/docs/api/class-apirequest.mdx @@ -5,6 +5,7 @@ title: "APIRequest" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Exposes API that can be used for the Web API testing. This class is used for creating [APIRequestContext] instance which in turn can be used for sending web requests. An instance of this class can be obtained via [Playwright.request()](/api/class-playwright.mdx#playwright-request). For more information see [APIRequestContext]. diff --git a/java/docs/api/class-apirequestcontext.mdx b/java/docs/api/class-apirequestcontext.mdx index e794937f0c4..ed3f5ddaa06 100644 --- a/java/docs/api/class-apirequestcontext.mdx +++ b/java/docs/api/class-apirequestcontext.mdx @@ -5,6 +5,7 @@ title: "APIRequestContext" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; This API is used for the Web API testing. You can use it to trigger API endpoints, configure micro-services, prepare environment or the service to your e2e test. diff --git a/java/docs/api/class-apiresponse.mdx b/java/docs/api/class-apiresponse.mdx index 9eab4228ebd..68c60d291c2 100644 --- a/java/docs/api/class-apiresponse.mdx +++ b/java/docs/api/class-apiresponse.mdx @@ -5,6 +5,7 @@ title: "APIResponse" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [APIResponse] class represents responses returned by [APIRequestContext.get()](/api/class-apirequestcontext.mdx#api-request-context-get) and similar methods. diff --git a/java/docs/api/class-apiresponseassertions.mdx b/java/docs/api/class-apiresponseassertions.mdx index b12c477f99c..e09e980ebd7 100644 --- a/java/docs/api/class-apiresponseassertions.mdx +++ b/java/docs/api/class-apiresponseassertions.mdx @@ -5,6 +5,7 @@ title: "APIResponseAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [APIResponseAssertions] class provides assertion methods that can be used to make assertions about the [APIResponse] in the tests. diff --git a/java/docs/api/class-browser.mdx b/java/docs/api/class-browser.mdx index 36a1463dd9a..8cecdb8f6c5 100644 --- a/java/docs/api/class-browser.mdx +++ b/java/docs/api/class-browser.mdx @@ -5,6 +5,7 @@ title: "Browser" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; A Browser is created via [BrowserType.launch()](/api/class-browsertype.mdx#browser-type-launch). An example of using a [Browser] to create a [Page]: diff --git a/java/docs/api/class-browsercontext.mdx b/java/docs/api/class-browsercontext.mdx index 71d675fb5cd..a6511761c8c 100644 --- a/java/docs/api/class-browsercontext.mdx +++ b/java/docs/api/class-browsercontext.mdx @@ -5,6 +5,7 @@ title: "BrowserContext" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; BrowserContexts provide a way to operate multiple independent browser sessions. diff --git a/java/docs/api/class-browsertype.mdx b/java/docs/api/class-browsertype.mdx index 8b9e1dd85be..2776a5fa00a 100644 --- a/java/docs/api/class-browsertype.mdx +++ b/java/docs/api/class-browsertype.mdx @@ -5,6 +5,7 @@ title: "BrowserType" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; BrowserType provides methods to launch a specific browser instance or connect to an existing one. The following is a typical example of using Playwright to drive automation: diff --git a/java/docs/api/class-cdpsession.mdx b/java/docs/api/class-cdpsession.mdx index 85925a0830f..aabf3f76f30 100644 --- a/java/docs/api/class-cdpsession.mdx +++ b/java/docs/api/class-cdpsession.mdx @@ -5,6 +5,7 @@ title: "CDPSession" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The `CDPSession` instances are used to talk raw Chrome Devtools Protocol: diff --git a/java/docs/api/class-clock.mdx b/java/docs/api/class-clock.mdx index 370ed3ad5d2..9cd2813310d 100644 --- a/java/docs/api/class-clock.mdx +++ b/java/docs/api/class-clock.mdx @@ -5,6 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Accurately simulating time-dependent behavior is essential for verifying the correctness of applications. Learn more about [clock emulation](../clock.mdx). diff --git a/java/docs/api/class-consolemessage.mdx b/java/docs/api/class-consolemessage.mdx index a545927a9ef..1bcb021928b 100644 --- a/java/docs/api/class-consolemessage.mdx +++ b/java/docs/api/class-consolemessage.mdx @@ -5,6 +5,7 @@ title: "ConsoleMessage" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [ConsoleMessage] objects are dispatched by page via the [Page.onConsoleMessage(handler)](/api/class-page.mdx#page-event-console) event. For each console message logged in the page there will be corresponding event in the Playwright context. diff --git a/java/docs/api/class-dialog.mdx b/java/docs/api/class-dialog.mdx index a885c843673..e2cb355274e 100644 --- a/java/docs/api/class-dialog.mdx +++ b/java/docs/api/class-dialog.mdx @@ -5,6 +5,7 @@ title: "Dialog" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Dialog] objects are dispatched by page via the [Page.onDialog(handler)](/api/class-page.mdx#page-event-dialog) event. diff --git a/java/docs/api/class-download.mdx b/java/docs/api/class-download.mdx index 073088ca1bf..c5362efc07e 100644 --- a/java/docs/api/class-download.mdx +++ b/java/docs/api/class-download.mdx @@ -5,6 +5,7 @@ title: "Download" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Download] objects are dispatched by page via the [Page.onDownload(handler)](/api/class-page.mdx#page-event-download) event. diff --git a/java/docs/api/class-elementhandle.mdx b/java/docs/api/class-elementhandle.mdx index 257924f1ce6..7d07e1a65e9 100644 --- a/java/docs/api/class-elementhandle.mdx +++ b/java/docs/api/class-elementhandle.mdx @@ -5,6 +5,7 @@ title: "ElementHandle" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; * extends: [JSHandle] diff --git a/java/docs/api/class-filechooser.mdx b/java/docs/api/class-filechooser.mdx index e0fea5a321e..453264f4c6c 100644 --- a/java/docs/api/class-filechooser.mdx +++ b/java/docs/api/class-filechooser.mdx @@ -5,6 +5,7 @@ title: "FileChooser" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [FileChooser] objects are dispatched by the page in the [Page.onFileChooser(handler)](/api/class-page.mdx#page-event-file-chooser) event. diff --git a/java/docs/api/class-formdata.mdx b/java/docs/api/class-formdata.mdx index c438d104382..805daee883a 100644 --- a/java/docs/api/class-formdata.mdx +++ b/java/docs/api/class-formdata.mdx @@ -5,6 +5,7 @@ title: "FormData" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [FormData] is used create form data that is sent via [APIRequestContext]. diff --git a/java/docs/api/class-frame.mdx b/java/docs/api/class-frame.mdx index c33a3ae8564..3f060ee8030 100644 --- a/java/docs/api/class-frame.mdx +++ b/java/docs/api/class-frame.mdx @@ -5,6 +5,7 @@ title: "Frame" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; At every point of time, page exposes its current frame tree via the [Page.mainFrame()](/api/class-page.mdx#page-main-frame) and [Frame.childFrames()](/api/class-frame.mdx#frame-child-frames) methods. diff --git a/java/docs/api/class-framelocator.mdx b/java/docs/api/class-framelocator.mdx index 78eedabc22c..e5e8365f4ab 100644 --- a/java/docs/api/class-framelocator.mdx +++ b/java/docs/api/class-framelocator.mdx @@ -5,6 +5,7 @@ title: "FrameLocator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; FrameLocator represents a view to the `iframe` on the page. It captures the logic sufficient to retrieve the `iframe` and locate elements in that iframe. FrameLocator can be created with either [Locator.contentFrame()](/api/class-locator.mdx#locator-content-frame), [Page.frameLocator()](/api/class-page.mdx#page-frame-locator) or [Locator.frameLocator()](/api/class-locator.mdx#locator-frame-locator) method. diff --git a/java/docs/api/class-jshandle.mdx b/java/docs/api/class-jshandle.mdx index 7754fe2685f..944c7ca7493 100644 --- a/java/docs/api/class-jshandle.mdx +++ b/java/docs/api/class-jshandle.mdx @@ -5,6 +5,7 @@ title: "JSHandle" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; JSHandle represents an in-page JavaScript object. JSHandles can be created with the [Page.evaluateHandle()](/api/class-page.mdx#page-evaluate-handle) method. diff --git a/java/docs/api/class-keyboard.mdx b/java/docs/api/class-keyboard.mdx index d4e332a3665..db44cc086b9 100644 --- a/java/docs/api/class-keyboard.mdx +++ b/java/docs/api/class-keyboard.mdx @@ -5,6 +5,7 @@ title: "Keyboard" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Keyboard provides an api for managing a virtual keyboard. The high level api is [Keyboard.type()](/api/class-keyboard.mdx#keyboard-type), which takes raw characters and generates proper `keydown`, `keypress`/`input`, and `keyup` events on your page. diff --git a/java/docs/api/class-locator.mdx b/java/docs/api/class-locator.mdx index 2aca2d1d148..3a79e400623 100644 --- a/java/docs/api/class-locator.mdx +++ b/java/docs/api/class-locator.mdx @@ -5,6 +5,7 @@ title: "Locator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Locators are the central piece of Playwright's auto-waiting and retry-ability. In a nutshell, locators represent a way to find element(s) on the page at any moment. A locator can be created with the [Page.locator()](/api/class-page.mdx#page-locator) method. diff --git a/java/docs/api/class-locatorassertions.mdx b/java/docs/api/class-locatorassertions.mdx index 53e31f6e3c4..a03581311b3 100644 --- a/java/docs/api/class-locatorassertions.mdx +++ b/java/docs/api/class-locatorassertions.mdx @@ -5,6 +5,7 @@ title: "LocatorAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [LocatorAssertions] class provides assertion methods that can be used to make assertions about the [Locator] state in the tests. diff --git a/java/docs/api/class-mouse.mdx b/java/docs/api/class-mouse.mdx index 2ce1015698f..865de2b20c2 100644 --- a/java/docs/api/class-mouse.mdx +++ b/java/docs/api/class-mouse.mdx @@ -5,6 +5,7 @@ title: "Mouse" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. diff --git a/java/docs/api/class-page.mdx b/java/docs/api/class-page.mdx index 37c756657e1..5b0949641e3 100644 --- a/java/docs/api/class-page.mdx +++ b/java/docs/api/class-page.mdx @@ -5,6 +5,7 @@ title: "Page" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Page provides methods to interact with a single tab in a [Browser], or an [extension background page](https://developer.chrome.com/extensions/background_pages) in Chromium. One [Browser] instance might have multiple [Page] instances. diff --git a/java/docs/api/class-pageassertions.mdx b/java/docs/api/class-pageassertions.mdx index 887e0bd5fe4..432b87fd3e2 100644 --- a/java/docs/api/class-pageassertions.mdx +++ b/java/docs/api/class-pageassertions.mdx @@ -5,6 +5,7 @@ title: "PageAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [PageAssertions] class provides assertion methods that can be used to make assertions about the [Page] state in the tests. diff --git a/java/docs/api/class-playwright.mdx b/java/docs/api/class-playwright.mdx index 53b175db645..6314262a700 100644 --- a/java/docs/api/class-playwright.mdx +++ b/java/docs/api/class-playwright.mdx @@ -5,6 +5,7 @@ title: "Playwright" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright module provides a method to launch a browser instance. The following is a typical example of using Playwright to drive automation: diff --git a/java/docs/api/class-playwrightassertions.mdx b/java/docs/api/class-playwrightassertions.mdx index 04d27460b3d..f8dff25a211 100644 --- a/java/docs/api/class-playwrightassertions.mdx +++ b/java/docs/api/class-playwrightassertions.mdx @@ -5,6 +5,7 @@ title: "PlaywrightAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright gives you Web-First Assertions with convenience methods for creating assertions that will wait and retry until the expected condition is met. diff --git a/java/docs/api/class-playwrightexception.mdx b/java/docs/api/class-playwrightexception.mdx index 37c0a20db5b..cfc359e06fe 100644 --- a/java/docs/api/class-playwrightexception.mdx +++ b/java/docs/api/class-playwrightexception.mdx @@ -5,6 +5,7 @@ title: "PlaywrightException" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; * extends: [RuntimeException] diff --git a/java/docs/api/class-request.mdx b/java/docs/api/class-request.mdx index 11d2f87c357..566962850e1 100644 --- a/java/docs/api/class-request.mdx +++ b/java/docs/api/class-request.mdx @@ -5,6 +5,7 @@ title: "Request" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever the page sends a request for a network resource the following sequence of events are emitted by [Page]: diff --git a/java/docs/api/class-requestoptions.mdx b/java/docs/api/class-requestoptions.mdx index 59d44b4e624..c6f217f360f 100644 --- a/java/docs/api/class-requestoptions.mdx +++ b/java/docs/api/class-requestoptions.mdx @@ -5,6 +5,7 @@ title: "RequestOptions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [RequestOptions] allows to create form data to be sent via [APIRequestContext]. Playwright will automatically determine content type of the request. diff --git a/java/docs/api/class-response.mdx b/java/docs/api/class-response.mdx index a20dc1b5573..641bc47c202 100644 --- a/java/docs/api/class-response.mdx +++ b/java/docs/api/class-response.mdx @@ -5,6 +5,7 @@ title: "Response" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Response] class represents responses which are received by page. diff --git a/java/docs/api/class-route.mdx b/java/docs/api/class-route.mdx index a50646b90a0..5e71c317383 100644 --- a/java/docs/api/class-route.mdx +++ b/java/docs/api/class-route.mdx @@ -5,6 +5,7 @@ title: "Route" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever a network route is set up with [Page.route()](/api/class-page.mdx#page-route) or [BrowserContext.route()](/api/class-browsercontext.mdx#browser-context-route), the `Route` object allows to handle the route. diff --git a/java/docs/api/class-selectors.mdx b/java/docs/api/class-selectors.mdx index 2d4b2c13a3c..388c57b4269 100644 --- a/java/docs/api/class-selectors.mdx +++ b/java/docs/api/class-selectors.mdx @@ -5,6 +5,7 @@ title: "Selectors" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Selectors can be used to install custom selector engines. See [extensibility](../extensibility.mdx) for more information. diff --git a/java/docs/api/class-timeouterror.mdx b/java/docs/api/class-timeouterror.mdx index cb9c7aabc13..b13455a563f 100644 --- a/java/docs/api/class-timeouterror.mdx +++ b/java/docs/api/class-timeouterror.mdx @@ -5,6 +5,7 @@ title: "TimeoutError" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; * extends: [PlaywrightException] diff --git a/java/docs/api/class-touchscreen.mdx b/java/docs/api/class-touchscreen.mdx index 6159d2422d1..540e9ec8032 100644 --- a/java/docs/api/class-touchscreen.mdx +++ b/java/docs/api/class-touchscreen.mdx @@ -5,6 +5,7 @@ title: "Touchscreen" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport. Methods on the touchscreen can only be used in browser contexts that have been initialized with `hasTouch` set to true. diff --git a/java/docs/api/class-tracing.mdx b/java/docs/api/class-tracing.mdx index 844c09f1ca9..94cabc29618 100644 --- a/java/docs/api/class-tracing.mdx +++ b/java/docs/api/class-tracing.mdx @@ -5,6 +5,7 @@ title: "Tracing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; API for collecting and saving Playwright traces. Playwright traces can be opened in [Trace Viewer](../trace-viewer.mdx) after Playwright script runs. diff --git a/java/docs/api/class-video.mdx b/java/docs/api/class-video.mdx index e88f02a5b01..f0a2698150b 100644 --- a/java/docs/api/class-video.mdx +++ b/java/docs/api/class-video.mdx @@ -5,6 +5,7 @@ title: "Video" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; When browser context is created with the `recordVideo` option, each page has a video object associated with it. diff --git a/java/docs/api/class-weberror.mdx b/java/docs/api/class-weberror.mdx index 90796f6d65b..a557739f19f 100644 --- a/java/docs/api/class-weberror.mdx +++ b/java/docs/api/class-weberror.mdx @@ -5,6 +5,7 @@ title: "WebError" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [WebError] class represents an unhandled exception thrown in the page. It is dispatched via the [BrowserContext.onWebError(handler)](/api/class-browsercontext.mdx#browser-context-event-web-error) event. diff --git a/java/docs/api/class-websocket.mdx b/java/docs/api/class-websocket.mdx index d1e0e9e0944..d6fca617d1d 100644 --- a/java/docs/api/class-websocket.mdx +++ b/java/docs/api/class-websocket.mdx @@ -5,6 +5,7 @@ title: "WebSocket" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [WebSocket] class represents WebSocket connections within a page. It provides the ability to inspect and manipulate the data being transmitted and received. diff --git a/java/docs/api/class-websocketframe.mdx b/java/docs/api/class-websocketframe.mdx index a9eb945cd98..3809999e590 100644 --- a/java/docs/api/class-websocketframe.mdx +++ b/java/docs/api/class-websocketframe.mdx @@ -5,6 +5,7 @@ title: "WebSocketFrame" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [WebSocketFrame] class represents frames sent over [WebSocket] connections in the page. Frame payload is returned by either [WebSocketFrame.text()](/api/class-websocketframe.mdx#web-socket-frame-text) or [WebSocketFrame.binary()](/api/class-websocketframe.mdx#web-socket-frame-binary) method depending on the its type. diff --git a/java/docs/api/class-websocketroute.mdx b/java/docs/api/class-websocketroute.mdx index 204636c059d..307dd25ec96 100644 --- a/java/docs/api/class-websocketroute.mdx +++ b/java/docs/api/class-websocketroute.mdx @@ -5,6 +5,7 @@ title: "WebSocketRoute" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever a [`WebSocket`](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) route is set up with [Page.routeWebSocket()](/api/class-page.mdx#page-route-web-socket) or [BrowserContext.routeWebSocket()](/api/class-browsercontext.mdx#browser-context-route-web-socket), the `WebSocketRoute` object allows to handle the WebSocket, like an actual server would do. diff --git a/java/docs/api/class-worker.mdx b/java/docs/api/class-worker.mdx index f387780e844..686fc6343aa 100644 --- a/java/docs/api/class-worker.mdx +++ b/java/docs/api/class-worker.mdx @@ -5,6 +5,7 @@ title: "Worker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Worker class represents a [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). `worker` event is emitted on the page object to signal a worker creation. `close` event is emitted on the worker object when the worker is gone. diff --git a/java/docs/aria-snapshots.mdx b/java/docs/aria-snapshots.mdx index 7a86f396b0d..00210824f22 100644 --- a/java/docs/aria-snapshots.mdx +++ b/java/docs/aria-snapshots.mdx @@ -5,7 +5,7 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/java/docs/auth.mdx b/java/docs/auth.mdx index 6251191f09a..9030cc97c3d 100644 --- a/java/docs/auth.mdx +++ b/java/docs/auth.mdx @@ -5,7 +5,7 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/browser-contexts.mdx b/java/docs/browser-contexts.mdx index c260ff73b08..530fd6d2bd5 100644 --- a/java/docs/browser-contexts.mdx +++ b/java/docs/browser-contexts.mdx @@ -5,7 +5,7 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/browsers.mdx b/java/docs/browsers.mdx index 6ad4d88738a..7d53ba5e1d2 100644 --- a/java/docs/browsers.mdx +++ b/java/docs/browsers.mdx @@ -5,7 +5,7 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/ci-intro.mdx b/java/docs/ci-intro.mdx index 76bcc0acf9c..60f5abee200 100644 --- a/java/docs/ci-intro.mdx +++ b/java/docs/ci-intro.mdx @@ -5,7 +5,7 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/ci.mdx b/java/docs/ci.mdx index df3bc38e03e..d02c986d4eb 100644 --- a/java/docs/ci.mdx +++ b/java/docs/ci.mdx @@ -5,7 +5,7 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/clock.mdx b/java/docs/clock.mdx index 98efe3f70bc..ea395dfa335 100644 --- a/java/docs/clock.mdx +++ b/java/docs/clock.mdx @@ -5,7 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/java/docs/codegen-intro.mdx b/java/docs/codegen-intro.mdx index 9ff9dfc7aa9..a30862e980e 100644 --- a/java/docs/codegen-intro.mdx +++ b/java/docs/codegen-intro.mdx @@ -5,7 +5,7 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/codegen.mdx b/java/docs/codegen.mdx index 556ea98cd85..fa31003521d 100644 --- a/java/docs/codegen.mdx +++ b/java/docs/codegen.mdx @@ -5,7 +5,7 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/java/docs/debug.mdx b/java/docs/debug.mdx index 604b4f0d5b8..10c4464c471 100644 --- a/java/docs/debug.mdx +++ b/java/docs/debug.mdx @@ -5,7 +5,7 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Playwright Inspector diff --git a/java/docs/dialogs.mdx b/java/docs/dialogs.mdx index dbc9312fcfd..04802aaeb66 100644 --- a/java/docs/dialogs.mdx +++ b/java/docs/dialogs.mdx @@ -5,7 +5,7 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/docker.mdx b/java/docs/docker.mdx index e730a81db7b..304fa203b40 100644 --- a/java/docs/docker.mdx +++ b/java/docs/docker.mdx @@ -5,7 +5,7 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/downloads.mdx b/java/docs/downloads.mdx index f36ac08e30e..e979439aed6 100644 --- a/java/docs/downloads.mdx +++ b/java/docs/downloads.mdx @@ -5,7 +5,7 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/emulation.mdx b/java/docs/emulation.mdx index b436fdb9a65..051d97c4056 100644 --- a/java/docs/emulation.mdx +++ b/java/docs/emulation.mdx @@ -5,7 +5,7 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/evaluating.mdx b/java/docs/evaluating.mdx index 6e27836bb6f..80bddf49440 100644 --- a/java/docs/evaluating.mdx +++ b/java/docs/evaluating.mdx @@ -5,7 +5,7 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/events.mdx b/java/docs/events.mdx index edd9c48cd05..346882f0634 100644 --- a/java/docs/events.mdx +++ b/java/docs/events.mdx @@ -5,7 +5,7 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/extensibility.mdx b/java/docs/extensibility.mdx index 42fafb41f1d..32027c6ee91 100644 --- a/java/docs/extensibility.mdx +++ b/java/docs/extensibility.mdx @@ -5,7 +5,7 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Custom selector engines diff --git a/java/docs/frames.mdx b/java/docs/frames.mdx index ae926029c3a..1b149ea7eaa 100644 --- a/java/docs/frames.mdx +++ b/java/docs/frames.mdx @@ -5,7 +5,7 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/handles.mdx b/java/docs/handles.mdx index fc7c673dffb..01bc3054d39 100644 --- a/java/docs/handles.mdx +++ b/java/docs/handles.mdx @@ -5,7 +5,7 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/input.mdx b/java/docs/input.mdx index c3d95925258..1031a3a0c8b 100644 --- a/java/docs/input.mdx +++ b/java/docs/input.mdx @@ -5,7 +5,7 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/intro.mdx b/java/docs/intro.mdx index 7cd57b9781c..d1ae734eec3 100644 --- a/java/docs/intro.mdx +++ b/java/docs/intro.mdx @@ -5,7 +5,7 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/junit.mdx b/java/docs/junit.mdx index e01dc2413fb..ce9c2169a2d 100644 --- a/java/docs/junit.mdx +++ b/java/docs/junit.mdx @@ -5,7 +5,7 @@ title: "JUnit (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/languages.mdx b/java/docs/languages.mdx index 3feb7f1c1cd..171f6aa50c2 100644 --- a/java/docs/languages.mdx +++ b/java/docs/languages.mdx @@ -5,7 +5,7 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/locators.mdx b/java/docs/locators.mdx index 1ce81309bf2..c87e0f34454 100644 --- a/java/docs/locators.mdx +++ b/java/docs/locators.mdx @@ -5,7 +5,7 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/mock.mdx b/java/docs/mock.mdx index 4845d9c461d..66a23c670ba 100644 --- a/java/docs/mock.mdx +++ b/java/docs/mock.mdx @@ -5,7 +5,7 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/navigations.mdx b/java/docs/navigations.mdx index 2d85f93572a..59e2d1e596b 100644 --- a/java/docs/navigations.mdx +++ b/java/docs/navigations.mdx @@ -5,7 +5,7 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/network.mdx b/java/docs/network.mdx index 8c3ee3024f6..04045944563 100644 --- a/java/docs/network.mdx +++ b/java/docs/network.mdx @@ -5,7 +5,7 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/other-locators.mdx b/java/docs/other-locators.mdx index 98c3a2aa54f..ad2a279040f 100644 --- a/java/docs/other-locators.mdx +++ b/java/docs/other-locators.mdx @@ -5,7 +5,7 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/pages.mdx b/java/docs/pages.mdx index dff7f705a27..783fba26a51 100644 --- a/java/docs/pages.mdx +++ b/java/docs/pages.mdx @@ -5,7 +5,7 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Pages diff --git a/java/docs/pom.mdx b/java/docs/pom.mdx index 978b2763fce..cdd27fb94ad 100644 --- a/java/docs/pom.mdx +++ b/java/docs/pom.mdx @@ -5,7 +5,7 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/release-notes.mdx b/java/docs/release-notes.mdx index ba5e61f010a..484ca8306a7 100644 --- a/java/docs/release-notes.mdx +++ b/java/docs/release-notes.mdx @@ -6,7 +6,7 @@ toc_max_heading_level: 2 import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Version 1.54 diff --git a/java/docs/running-tests.mdx b/java/docs/running-tests.mdx index da5c7a223b9..37009908dbc 100644 --- a/java/docs/running-tests.mdx +++ b/java/docs/running-tests.mdx @@ -5,7 +5,7 @@ title: "Running and debugging tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/screenshots.mdx b/java/docs/screenshots.mdx index 4b3e2b80fc5..217bdeac753 100644 --- a/java/docs/screenshots.mdx +++ b/java/docs/screenshots.mdx @@ -5,7 +5,7 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/selenium-grid.mdx b/java/docs/selenium-grid.mdx index 31d0b5c4332..3459ddced8d 100644 --- a/java/docs/selenium-grid.mdx +++ b/java/docs/selenium-grid.mdx @@ -5,7 +5,7 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/test-assertions.mdx b/java/docs/test-assertions.mdx index e84b434f9e8..1181de61855 100644 --- a/java/docs/test-assertions.mdx +++ b/java/docs/test-assertions.mdx @@ -5,7 +5,7 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## List of assertions diff --git a/java/docs/test-runners.mdx b/java/docs/test-runners.mdx index 370c5551d43..22c0962ccb5 100644 --- a/java/docs/test-runners.mdx +++ b/java/docs/test-runners.mdx @@ -5,7 +5,7 @@ title: "Test Runners" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/threading.mdx b/java/docs/threading.mdx index 61d6af123c6..a3f1fb66bff 100644 --- a/java/docs/threading.mdx +++ b/java/docs/threading.mdx @@ -5,7 +5,7 @@ title: "Multithreading" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/touch-events.mdx b/java/docs/touch-events.mdx index ae4e5a2cda3..916a44345ad 100644 --- a/java/docs/touch-events.mdx +++ b/java/docs/touch-events.mdx @@ -5,7 +5,7 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/trace-viewer-intro.mdx b/java/docs/trace-viewer-intro.mdx index 0405444e08d..59b4fb4858c 100644 --- a/java/docs/trace-viewer-intro.mdx +++ b/java/docs/trace-viewer-intro.mdx @@ -5,7 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/trace-viewer.mdx b/java/docs/trace-viewer.mdx index eb829172e11..00f1bfd516d 100644 --- a/java/docs/trace-viewer.mdx +++ b/java/docs/trace-viewer.mdx @@ -5,7 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/java/docs/videos.mdx b/java/docs/videos.mdx index 63cb5a899d7..d0fa0cb5785 100644 --- a/java/docs/videos.mdx +++ b/java/docs/videos.mdx @@ -5,7 +5,7 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/webview2.mdx b/java/docs/webview2.mdx index 2c90e4eb5a6..cc0e73b3886 100644 --- a/java/docs/webview2.mdx +++ b/java/docs/webview2.mdx @@ -5,7 +5,7 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/writing-tests.mdx b/java/docs/writing-tests.mdx index 0d1e9abd607..2357972c783 100644 --- a/java/docs/writing-tests.mdx +++ b/java/docs/writing-tests.mdx @@ -5,7 +5,7 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docusaurus.config.ts b/java/docusaurus.config.ts index 8e867033cc2..13350977154 100644 --- a/java/docusaurus.config.ts +++ b/java/docusaurus.config.ts @@ -34,6 +34,15 @@ let plugins = [ }), ], require.resolve("@docusaurus/plugin-content-pages"), + [ + require.resolve('@docusaurus/plugin-ideal-image'), + { + max: 1024, + min: 640, + steps: 4, + disableInDev: false + } + ], ]; if (isProd) { diff --git a/nodejs/docs/accessibility-testing.mdx b/nodejs/docs/accessibility-testing.mdx index 4f1c73af21a..9afe292783f 100644 --- a/nodejs/docs/accessibility-testing.mdx +++ b/nodejs/docs/accessibility-testing.mdx @@ -5,7 +5,7 @@ title: "Accessibility testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/actionability.mdx b/nodejs/docs/actionability.mdx index 9cf81f0b23f..6e62170e8ba 100644 --- a/nodejs/docs/actionability.mdx +++ b/nodejs/docs/actionability.mdx @@ -5,7 +5,7 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/api-testing.mdx b/nodejs/docs/api-testing.mdx index 1258da0ace6..c078709d65c 100644 --- a/nodejs/docs/api-testing.mdx +++ b/nodejs/docs/api-testing.mdx @@ -5,7 +5,7 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/api/class-accessibility.mdx b/nodejs/docs/api/class-accessibility.mdx index 14ce9846c70..94544635c8d 100644 --- a/nodejs/docs/api/class-accessibility.mdx +++ b/nodejs/docs/api/class-accessibility.mdx @@ -5,6 +5,7 @@ title: "Accessibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; :::warning[Deprecated] diff --git a/nodejs/docs/api/class-android.mdx b/nodejs/docs/api/class-android.mdx index 180b780be04..5dca12a85c0 100644 --- a/nodejs/docs/api/class-android.mdx +++ b/nodejs/docs/api/class-android.mdx @@ -5,6 +5,7 @@ title: "Android" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright has **experimental** support for Android automation. This includes Chrome for Android and Android WebView. diff --git a/nodejs/docs/api/class-androiddevice.mdx b/nodejs/docs/api/class-androiddevice.mdx index 5e628dfc641..5d6a367876a 100644 --- a/nodejs/docs/api/class-androiddevice.mdx +++ b/nodejs/docs/api/class-androiddevice.mdx @@ -5,6 +5,7 @@ title: "AndroidDevice" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [AndroidDevice] represents a connected device, either real hardware or emulated. Devices can be obtained using [android.devices()](/api/class-android.mdx#android-devices). diff --git a/nodejs/docs/api/class-androidinput.mdx b/nodejs/docs/api/class-androidinput.mdx index 30ab549be38..3f1d1e8f41d 100644 --- a/nodejs/docs/api/class-androidinput.mdx +++ b/nodejs/docs/api/class-androidinput.mdx @@ -5,6 +5,7 @@ title: "AndroidInput" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; diff --git a/nodejs/docs/api/class-androidsocket.mdx b/nodejs/docs/api/class-androidsocket.mdx index 2aceae3d950..8f3200cbfa4 100644 --- a/nodejs/docs/api/class-androidsocket.mdx +++ b/nodejs/docs/api/class-androidsocket.mdx @@ -5,6 +5,7 @@ title: "AndroidSocket" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [AndroidSocket] is a way to communicate with a process launched on the [AndroidDevice]. Use [androidDevice.open()](/api/class-androiddevice.mdx#android-device-open) to open a socket. diff --git a/nodejs/docs/api/class-androidwebview.mdx b/nodejs/docs/api/class-androidwebview.mdx index 83b8198e26e..a788446c9d0 100644 --- a/nodejs/docs/api/class-androidwebview.mdx +++ b/nodejs/docs/api/class-androidwebview.mdx @@ -5,6 +5,7 @@ title: "AndroidWebView" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [AndroidWebView] represents a WebView open on the [AndroidDevice]. WebView is usually obtained using [androidDevice.webView()](/api/class-androiddevice.mdx#android-device-web-view). diff --git a/nodejs/docs/api/class-apirequest.mdx b/nodejs/docs/api/class-apirequest.mdx index d93d91e3b55..fe1706bc2f6 100644 --- a/nodejs/docs/api/class-apirequest.mdx +++ b/nodejs/docs/api/class-apirequest.mdx @@ -5,6 +5,7 @@ title: "APIRequest" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Exposes API that can be used for the Web API testing. This class is used for creating [APIRequestContext] instance which in turn can be used for sending web requests. An instance of this class can be obtained via [playwright.request](/api/class-playwright.mdx#playwright-request). For more information see [APIRequestContext]. diff --git a/nodejs/docs/api/class-apirequestcontext.mdx b/nodejs/docs/api/class-apirequestcontext.mdx index becb68c8048..1e81638d528 100644 --- a/nodejs/docs/api/class-apirequestcontext.mdx +++ b/nodejs/docs/api/class-apirequestcontext.mdx @@ -5,6 +5,7 @@ title: "APIRequestContext" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; This API is used for the Web API testing. You can use it to trigger API endpoints, configure micro-services, prepare environment or the service to your e2e test. diff --git a/nodejs/docs/api/class-apiresponse.mdx b/nodejs/docs/api/class-apiresponse.mdx index c9e92db9165..0e792609d0c 100644 --- a/nodejs/docs/api/class-apiresponse.mdx +++ b/nodejs/docs/api/class-apiresponse.mdx @@ -5,6 +5,7 @@ title: "APIResponse" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [APIResponse] class represents responses returned by [apiRequestContext.get()](/api/class-apirequestcontext.mdx#api-request-context-get) and similar methods. diff --git a/nodejs/docs/api/class-apiresponseassertions.mdx b/nodejs/docs/api/class-apiresponseassertions.mdx index 1c91dbdf8ab..10f8db11089 100644 --- a/nodejs/docs/api/class-apiresponseassertions.mdx +++ b/nodejs/docs/api/class-apiresponseassertions.mdx @@ -5,6 +5,7 @@ title: "APIResponseAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [APIResponseAssertions] class provides assertion methods that can be used to make assertions about the [APIResponse] in the tests. diff --git a/nodejs/docs/api/class-browser.mdx b/nodejs/docs/api/class-browser.mdx index 755023ae855..b0c1d421b0d 100644 --- a/nodejs/docs/api/class-browser.mdx +++ b/nodejs/docs/api/class-browser.mdx @@ -5,6 +5,7 @@ title: "Browser" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; A Browser is created via [browserType.launch()](/api/class-browsertype.mdx#browser-type-launch). An example of using a [Browser] to create a [Page]: diff --git a/nodejs/docs/api/class-browsercontext.mdx b/nodejs/docs/api/class-browsercontext.mdx index 510e28809c3..9e0ef6e2fe9 100644 --- a/nodejs/docs/api/class-browsercontext.mdx +++ b/nodejs/docs/api/class-browsercontext.mdx @@ -5,6 +5,7 @@ title: "BrowserContext" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; BrowserContexts provide a way to operate multiple independent browser sessions. diff --git a/nodejs/docs/api/class-browserserver.mdx b/nodejs/docs/api/class-browserserver.mdx index 2dfdc6c3aac..0888cce7a07 100644 --- a/nodejs/docs/api/class-browserserver.mdx +++ b/nodejs/docs/api/class-browserserver.mdx @@ -5,6 +5,7 @@ title: "BrowserServer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; diff --git a/nodejs/docs/api/class-browsertype.mdx b/nodejs/docs/api/class-browsertype.mdx index 91d904b56e1..44c2101ee8e 100644 --- a/nodejs/docs/api/class-browsertype.mdx +++ b/nodejs/docs/api/class-browsertype.mdx @@ -5,6 +5,7 @@ title: "BrowserType" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; BrowserType provides methods to launch a specific browser instance or connect to an existing one. The following is a typical example of using Playwright to drive automation: diff --git a/nodejs/docs/api/class-cdpsession.mdx b/nodejs/docs/api/class-cdpsession.mdx index 8d321cacdf0..78ac899f25f 100644 --- a/nodejs/docs/api/class-cdpsession.mdx +++ b/nodejs/docs/api/class-cdpsession.mdx @@ -5,6 +5,7 @@ title: "CDPSession" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The `CDPSession` instances are used to talk raw Chrome Devtools Protocol: diff --git a/nodejs/docs/api/class-clock.mdx b/nodejs/docs/api/class-clock.mdx index 65042be53a5..c4bfca040cd 100644 --- a/nodejs/docs/api/class-clock.mdx +++ b/nodejs/docs/api/class-clock.mdx @@ -5,6 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Accurately simulating time-dependent behavior is essential for verifying the correctness of applications. Learn more about [clock emulation](../clock.mdx). diff --git a/nodejs/docs/api/class-consolemessage.mdx b/nodejs/docs/api/class-consolemessage.mdx index 2b92dadfdae..837d5730c2a 100644 --- a/nodejs/docs/api/class-consolemessage.mdx +++ b/nodejs/docs/api/class-consolemessage.mdx @@ -5,6 +5,7 @@ title: "ConsoleMessage" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [ConsoleMessage] objects are dispatched by page via the [page.on('console')](/api/class-page.mdx#page-event-console) event. For each console message logged in the page there will be corresponding event in the Playwright context. diff --git a/nodejs/docs/api/class-coverage.mdx b/nodejs/docs/api/class-coverage.mdx index 4c64d6cf908..51021f5a5ef 100644 --- a/nodejs/docs/api/class-coverage.mdx +++ b/nodejs/docs/api/class-coverage.mdx @@ -5,6 +5,7 @@ title: "Coverage" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Coverage gathers information about parts of JavaScript and CSS that were used by the page. diff --git a/nodejs/docs/api/class-dialog.mdx b/nodejs/docs/api/class-dialog.mdx index 1f3347fc018..9a5a703fe38 100644 --- a/nodejs/docs/api/class-dialog.mdx +++ b/nodejs/docs/api/class-dialog.mdx @@ -5,6 +5,7 @@ title: "Dialog" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Dialog] objects are dispatched by page via the [page.on('dialog')](/api/class-page.mdx#page-event-dialog) event. diff --git a/nodejs/docs/api/class-download.mdx b/nodejs/docs/api/class-download.mdx index 1b22f24a763..c20a68cc7a2 100644 --- a/nodejs/docs/api/class-download.mdx +++ b/nodejs/docs/api/class-download.mdx @@ -5,6 +5,7 @@ title: "Download" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Download] objects are dispatched by page via the [page.on('download')](/api/class-page.mdx#page-event-download) event. diff --git a/nodejs/docs/api/class-electron.mdx b/nodejs/docs/api/class-electron.mdx index f73104f385d..7293eb056d2 100644 --- a/nodejs/docs/api/class-electron.mdx +++ b/nodejs/docs/api/class-electron.mdx @@ -5,6 +5,7 @@ title: "Electron" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright has **experimental** support for Electron automation. You can access electron namespace via: diff --git a/nodejs/docs/api/class-electronapplication.mdx b/nodejs/docs/api/class-electronapplication.mdx index 544f41b9c1e..d05afb5fa2d 100644 --- a/nodejs/docs/api/class-electronapplication.mdx +++ b/nodejs/docs/api/class-electronapplication.mdx @@ -5,6 +5,7 @@ title: "ElectronApplication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Electron application representation. You can use [electron.launch()](/api/class-electron.mdx#electron-launch) to obtain the application instance. This instance you can control main electron process as well as work with Electron windows: diff --git a/nodejs/docs/api/class-elementhandle.mdx b/nodejs/docs/api/class-elementhandle.mdx index 9f11669d1a8..f9a64c69699 100644 --- a/nodejs/docs/api/class-elementhandle.mdx +++ b/nodejs/docs/api/class-elementhandle.mdx @@ -5,6 +5,7 @@ title: "ElementHandle" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; * extends: [JSHandle] diff --git a/nodejs/docs/api/class-filechooser.mdx b/nodejs/docs/api/class-filechooser.mdx index 99f5cb32318..fdcb573cdd5 100644 --- a/nodejs/docs/api/class-filechooser.mdx +++ b/nodejs/docs/api/class-filechooser.mdx @@ -5,6 +5,7 @@ title: "FileChooser" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [FileChooser] objects are dispatched by the page in the [page.on('filechooser')](/api/class-page.mdx#page-event-file-chooser) event. diff --git a/nodejs/docs/api/class-fixtures.mdx b/nodejs/docs/api/class-fixtures.mdx index 7425517af01..ca43aed71f5 100644 --- a/nodejs/docs/api/class-fixtures.mdx +++ b/nodejs/docs/api/class-fixtures.mdx @@ -5,6 +5,7 @@ title: "Fixtures" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright Test is based on the concept of the [test fixtures](../test-fixtures.mdx). Test fixtures are used to establish environment for each test, giving the test everything it needs and nothing else. diff --git a/nodejs/docs/api/class-frame.mdx b/nodejs/docs/api/class-frame.mdx index 397db6b0ccb..28968838682 100644 --- a/nodejs/docs/api/class-frame.mdx +++ b/nodejs/docs/api/class-frame.mdx @@ -5,6 +5,7 @@ title: "Frame" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; At every point of time, page exposes its current frame tree via the [page.mainFrame()](/api/class-page.mdx#page-main-frame) and [frame.childFrames()](/api/class-frame.mdx#frame-child-frames) methods. diff --git a/nodejs/docs/api/class-framelocator.mdx b/nodejs/docs/api/class-framelocator.mdx index 5282e3eab77..69f8b5794b2 100644 --- a/nodejs/docs/api/class-framelocator.mdx +++ b/nodejs/docs/api/class-framelocator.mdx @@ -5,6 +5,7 @@ title: "FrameLocator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; FrameLocator represents a view to the `iframe` on the page. It captures the logic sufficient to retrieve the `iframe` and locate elements in that iframe. FrameLocator can be created with either [locator.contentFrame()](/api/class-locator.mdx#locator-content-frame), [page.frameLocator()](/api/class-page.mdx#page-frame-locator) or [locator.frameLocator()](/api/class-locator.mdx#locator-frame-locator) method. diff --git a/nodejs/docs/api/class-fullconfig.mdx b/nodejs/docs/api/class-fullconfig.mdx index 39899fdd35f..49f5513961f 100644 --- a/nodejs/docs/api/class-fullconfig.mdx +++ b/nodejs/docs/api/class-fullconfig.mdx @@ -5,6 +5,7 @@ title: "FullConfig" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Resolved configuration which is accessible via [testInfo.config](/api/class-testinfo.mdx#test-info-config) and is passed to the test reporters. To see the format of Playwright configuration file, please see [TestConfig] instead. diff --git a/nodejs/docs/api/class-fullproject.mdx b/nodejs/docs/api/class-fullproject.mdx index edc9d6deb17..f4b8a0115af 100644 --- a/nodejs/docs/api/class-fullproject.mdx +++ b/nodejs/docs/api/class-fullproject.mdx @@ -5,6 +5,7 @@ title: "FullProject" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Runtime representation of the test project configuration. It is accessible in the tests via [testInfo.project](/api/class-testinfo.mdx#test-info-project) and [workerInfo.project](/api/class-workerinfo.mdx#worker-info-project) and is passed to the test reporters. To see the format of the project in the Playwright configuration file please see [TestProject] instead. diff --git a/nodejs/docs/api/class-genericassertions.mdx b/nodejs/docs/api/class-genericassertions.mdx index 52e3c4d3761..9c54b167410 100644 --- a/nodejs/docs/api/class-genericassertions.mdx +++ b/nodejs/docs/api/class-genericassertions.mdx @@ -5,6 +5,7 @@ title: "GenericAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [GenericAssertions] class provides assertion methods that can be used to make assertions about any values in the tests. A new instance of [GenericAssertions] is created by calling [expect()](/api/class-playwrightassertions.mdx#playwright-assertions-expect-generic): diff --git a/nodejs/docs/api/class-jshandle.mdx b/nodejs/docs/api/class-jshandle.mdx index 6139cef830c..787157e3f08 100644 --- a/nodejs/docs/api/class-jshandle.mdx +++ b/nodejs/docs/api/class-jshandle.mdx @@ -5,6 +5,7 @@ title: "JSHandle" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; JSHandle represents an in-page JavaScript object. JSHandles can be created with the [page.evaluateHandle()](/api/class-page.mdx#page-evaluate-handle) method. diff --git a/nodejs/docs/api/class-keyboard.mdx b/nodejs/docs/api/class-keyboard.mdx index 850dfba6383..ee604a40370 100644 --- a/nodejs/docs/api/class-keyboard.mdx +++ b/nodejs/docs/api/class-keyboard.mdx @@ -5,6 +5,7 @@ title: "Keyboard" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Keyboard provides an api for managing a virtual keyboard. The high level api is [keyboard.type()](/api/class-keyboard.mdx#keyboard-type), which takes raw characters and generates proper `keydown`, `keypress`/`input`, and `keyup` events on your page. diff --git a/nodejs/docs/api/class-location.mdx b/nodejs/docs/api/class-location.mdx index c44e9ecbc0f..4f6f8fc9d02 100644 --- a/nodejs/docs/api/class-location.mdx +++ b/nodejs/docs/api/class-location.mdx @@ -5,6 +5,7 @@ title: "Location" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Represents a location in the source code where [TestCase] or [Suite] is defined. diff --git a/nodejs/docs/api/class-locator.mdx b/nodejs/docs/api/class-locator.mdx index 19208a39d5b..152987c69e3 100644 --- a/nodejs/docs/api/class-locator.mdx +++ b/nodejs/docs/api/class-locator.mdx @@ -5,6 +5,7 @@ title: "Locator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Locators are the central piece of Playwright's auto-waiting and retry-ability. In a nutshell, locators represent a way to find element(s) on the page at any moment. A locator can be created with the [page.locator()](/api/class-page.mdx#page-locator) method. diff --git a/nodejs/docs/api/class-locatorassertions.mdx b/nodejs/docs/api/class-locatorassertions.mdx index e23f2f82614..a4b2a0b2fc9 100644 --- a/nodejs/docs/api/class-locatorassertions.mdx +++ b/nodejs/docs/api/class-locatorassertions.mdx @@ -5,6 +5,7 @@ title: "LocatorAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [LocatorAssertions] class provides assertion methods that can be used to make assertions about the [Locator] state in the tests. diff --git a/nodejs/docs/api/class-logger.mdx b/nodejs/docs/api/class-logger.mdx index c549adb1ce6..d2d2284d759 100644 --- a/nodejs/docs/api/class-logger.mdx +++ b/nodejs/docs/api/class-logger.mdx @@ -5,6 +5,7 @@ title: "Logger" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; :::warning[Deprecated] diff --git a/nodejs/docs/api/class-mouse.mdx b/nodejs/docs/api/class-mouse.mdx index 46415239c00..fe4183a6f11 100644 --- a/nodejs/docs/api/class-mouse.mdx +++ b/nodejs/docs/api/class-mouse.mdx @@ -5,6 +5,7 @@ title: "Mouse" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. diff --git a/nodejs/docs/api/class-page.mdx b/nodejs/docs/api/class-page.mdx index 27f1d735a29..3515ccdb948 100644 --- a/nodejs/docs/api/class-page.mdx +++ b/nodejs/docs/api/class-page.mdx @@ -5,6 +5,7 @@ title: "Page" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Page provides methods to interact with a single tab in a [Browser], or an [extension background page](https://developer.chrome.com/extensions/background_pages) in Chromium. One [Browser] instance might have multiple [Page] instances. diff --git a/nodejs/docs/api/class-pageassertions.mdx b/nodejs/docs/api/class-pageassertions.mdx index 5c71ee88b6d..8021bc38bbd 100644 --- a/nodejs/docs/api/class-pageassertions.mdx +++ b/nodejs/docs/api/class-pageassertions.mdx @@ -5,6 +5,7 @@ title: "PageAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [PageAssertions] class provides assertion methods that can be used to make assertions about the [Page] state in the tests. diff --git a/nodejs/docs/api/class-playwright.mdx b/nodejs/docs/api/class-playwright.mdx index 50abdcfeb58..7cdd1af90b8 100644 --- a/nodejs/docs/api/class-playwright.mdx +++ b/nodejs/docs/api/class-playwright.mdx @@ -5,6 +5,7 @@ title: "Playwright Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright module provides a method to launch a browser instance. The following is a typical example of using Playwright to drive automation: diff --git a/nodejs/docs/api/class-playwrightassertions.mdx b/nodejs/docs/api/class-playwrightassertions.mdx index 975832568a5..1de27d743f3 100644 --- a/nodejs/docs/api/class-playwrightassertions.mdx +++ b/nodejs/docs/api/class-playwrightassertions.mdx @@ -5,6 +5,7 @@ title: "PlaywrightAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright gives you Web-First Assertions with convenience methods for creating assertions that will wait and retry until the expected condition is met. diff --git a/nodejs/docs/api/class-reporter.mdx b/nodejs/docs/api/class-reporter.mdx index 20dea760129..a2010f95dd9 100644 --- a/nodejs/docs/api/class-reporter.mdx +++ b/nodejs/docs/api/class-reporter.mdx @@ -5,6 +5,7 @@ title: "Reporter" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Test runner notifies the reporter about various events during test execution. All methods of the reporter are optional. diff --git a/nodejs/docs/api/class-request.mdx b/nodejs/docs/api/class-request.mdx index 097954e0605..df138a0afdf 100644 --- a/nodejs/docs/api/class-request.mdx +++ b/nodejs/docs/api/class-request.mdx @@ -5,6 +5,7 @@ title: "Request" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever the page sends a request for a network resource the following sequence of events are emitted by [Page]: diff --git a/nodejs/docs/api/class-response.mdx b/nodejs/docs/api/class-response.mdx index 9708a479779..73d6ef15581 100644 --- a/nodejs/docs/api/class-response.mdx +++ b/nodejs/docs/api/class-response.mdx @@ -5,6 +5,7 @@ title: "Response" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Response] class represents responses which are received by page. diff --git a/nodejs/docs/api/class-route.mdx b/nodejs/docs/api/class-route.mdx index 268a3beb783..3ea6f06e939 100644 --- a/nodejs/docs/api/class-route.mdx +++ b/nodejs/docs/api/class-route.mdx @@ -5,6 +5,7 @@ title: "Route" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever a network route is set up with [page.route()](/api/class-page.mdx#page-route) or [browserContext.route()](/api/class-browsercontext.mdx#browser-context-route), the `Route` object allows to handle the route. diff --git a/nodejs/docs/api/class-selectors.mdx b/nodejs/docs/api/class-selectors.mdx index 5408cb3db3b..cf296111e6f 100644 --- a/nodejs/docs/api/class-selectors.mdx +++ b/nodejs/docs/api/class-selectors.mdx @@ -5,6 +5,7 @@ title: "Selectors" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Selectors can be used to install custom selector engines. See [extensibility](../extensibility.mdx) for more information. diff --git a/nodejs/docs/api/class-snapshotassertions.mdx b/nodejs/docs/api/class-snapshotassertions.mdx index 25a2815b07a..eb127019ae4 100644 --- a/nodejs/docs/api/class-snapshotassertions.mdx +++ b/nodejs/docs/api/class-snapshotassertions.mdx @@ -5,6 +5,7 @@ title: "SnapshotAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright provides methods for comparing page and element screenshots with expected values stored in files. diff --git a/nodejs/docs/api/class-suite.mdx b/nodejs/docs/api/class-suite.mdx index 5e78d23b6ae..4d9f0233696 100644 --- a/nodejs/docs/api/class-suite.mdx +++ b/nodejs/docs/api/class-suite.mdx @@ -5,6 +5,7 @@ title: "Suite" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; `Suite` is a group of tests. All tests in Playwright Test form the following hierarchy: diff --git a/nodejs/docs/api/class-test.mdx b/nodejs/docs/api/class-test.mdx index 43e3f6f0c80..87e1996a3d6 100644 --- a/nodejs/docs/api/class-test.mdx +++ b/nodejs/docs/api/class-test.mdx @@ -5,6 +5,7 @@ title: "Playwright Test" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright Test provides a `test` function to declare tests and `expect` function to write assertions. diff --git a/nodejs/docs/api/class-testcase.mdx b/nodejs/docs/api/class-testcase.mdx index 7b0079fe2ba..e1dae8bdfe9 100644 --- a/nodejs/docs/api/class-testcase.mdx +++ b/nodejs/docs/api/class-testcase.mdx @@ -5,6 +5,7 @@ title: "TestCase" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; `TestCase` corresponds to every [test()](/api/class-test.mdx#test-call) call in a test file. When a single [test()](/api/class-test.mdx#test-call) is running in multiple projects or repeated multiple times, it will have multiple `TestCase` objects in corresponding projects' suites. diff --git a/nodejs/docs/api/class-testconfig.mdx b/nodejs/docs/api/class-testconfig.mdx index 0a2f60f6469..9962fa43c00 100644 --- a/nodejs/docs/api/class-testconfig.mdx +++ b/nodejs/docs/api/class-testconfig.mdx @@ -5,6 +5,7 @@ title: "TestConfig" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright Test provides many options to configure how your tests are collected and executed, for example `timeout` or `testDir`. These options are described in the [TestConfig] object in the [configuration file](../test-configuration.mdx). This type describes format of the configuration file, to access resolved configuration parameters at run time use [FullConfig]. diff --git a/nodejs/docs/api/class-testerror.mdx b/nodejs/docs/api/class-testerror.mdx index cf73cf29366..a5c57df7fe7 100644 --- a/nodejs/docs/api/class-testerror.mdx +++ b/nodejs/docs/api/class-testerror.mdx @@ -5,6 +5,7 @@ title: "TestError" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Information about an error thrown during test execution. diff --git a/nodejs/docs/api/class-testinfo.mdx b/nodejs/docs/api/class-testinfo.mdx index 54fe20911a8..dc07deff8e9 100644 --- a/nodejs/docs/api/class-testinfo.mdx +++ b/nodejs/docs/api/class-testinfo.mdx @@ -5,6 +5,7 @@ title: "TestInfo" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; `TestInfo` contains information about currently running test. It is available to test functions, [test.beforeEach()](/api/class-test.mdx#test-before-each), [test.afterEach()](/api/class-test.mdx#test-after-each), [test.beforeAll()](/api/class-test.mdx#test-before-all) and [test.afterAll()](/api/class-test.mdx#test-after-all) hooks, and test-scoped fixtures. `TestInfo` provides utilities to control test execution: attach files, update test timeout, determine which test is currently running and whether it was retried, etc. diff --git a/nodejs/docs/api/class-testinfoerror.mdx b/nodejs/docs/api/class-testinfoerror.mdx index ea196dca906..07331bccada 100644 --- a/nodejs/docs/api/class-testinfoerror.mdx +++ b/nodejs/docs/api/class-testinfoerror.mdx @@ -5,6 +5,7 @@ title: "TestInfoError" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Information about an error thrown during test execution. diff --git a/nodejs/docs/api/class-testoptions.mdx b/nodejs/docs/api/class-testoptions.mdx index b5065a8c32d..71f6f4e799f 100644 --- a/nodejs/docs/api/class-testoptions.mdx +++ b/nodejs/docs/api/class-testoptions.mdx @@ -5,6 +5,7 @@ title: "TestOptions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright Test provides many options to configure test environment, [Browser], [BrowserContext] and more. diff --git a/nodejs/docs/api/class-testproject.mdx b/nodejs/docs/api/class-testproject.mdx index d2775b2a2b8..00ecca5a422 100644 --- a/nodejs/docs/api/class-testproject.mdx +++ b/nodejs/docs/api/class-testproject.mdx @@ -5,6 +5,7 @@ title: "TestProject" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright Test supports running multiple test projects at the same time. This is useful for running tests in multiple configurations. For example, consider running tests against multiple browsers. This type describes format of a project in the configuration file, to access resolved configuration parameters at run time use [FullProject]. diff --git a/nodejs/docs/api/class-testresult.mdx b/nodejs/docs/api/class-testresult.mdx index 9361fbeba0d..4a25307321c 100644 --- a/nodejs/docs/api/class-testresult.mdx +++ b/nodejs/docs/api/class-testresult.mdx @@ -5,6 +5,7 @@ title: "TestResult" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; A result of a single [TestCase] run. diff --git a/nodejs/docs/api/class-teststep.mdx b/nodejs/docs/api/class-teststep.mdx index 0175c490198..44eace4b806 100644 --- a/nodejs/docs/api/class-teststep.mdx +++ b/nodejs/docs/api/class-teststep.mdx @@ -5,6 +5,7 @@ title: "TestStep" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Represents a step in the [TestRun]. diff --git a/nodejs/docs/api/class-teststepinfo.mdx b/nodejs/docs/api/class-teststepinfo.mdx index b23a4a31eef..59c8cf7cd37 100644 --- a/nodejs/docs/api/class-teststepinfo.mdx +++ b/nodejs/docs/api/class-teststepinfo.mdx @@ -5,6 +5,7 @@ title: "TestStepInfo" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; `TestStepInfo` contains information about currently running test step. It is passed as an argument to the step function. `TestStepInfo` provides utilities to control test step execution. diff --git a/nodejs/docs/api/class-timeouterror.mdx b/nodejs/docs/api/class-timeouterror.mdx index 04896071a00..9f4968d8a50 100644 --- a/nodejs/docs/api/class-timeouterror.mdx +++ b/nodejs/docs/api/class-timeouterror.mdx @@ -5,6 +5,7 @@ title: "TimeoutError" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; * extends: [Error] diff --git a/nodejs/docs/api/class-touchscreen.mdx b/nodejs/docs/api/class-touchscreen.mdx index 8edddf5a38b..77bd35fae2d 100644 --- a/nodejs/docs/api/class-touchscreen.mdx +++ b/nodejs/docs/api/class-touchscreen.mdx @@ -5,6 +5,7 @@ title: "Touchscreen" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport. Methods on the touchscreen can only be used in browser contexts that have been initialized with `hasTouch` set to true. diff --git a/nodejs/docs/api/class-tracing.mdx b/nodejs/docs/api/class-tracing.mdx index 45ace077818..7a44b2d5b9b 100644 --- a/nodejs/docs/api/class-tracing.mdx +++ b/nodejs/docs/api/class-tracing.mdx @@ -5,6 +5,7 @@ title: "Tracing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; API for collecting and saving Playwright traces. Playwright traces can be opened in [Trace Viewer](../trace-viewer.mdx) after Playwright script runs. diff --git a/nodejs/docs/api/class-video.mdx b/nodejs/docs/api/class-video.mdx index ca8cfcd9a02..f1edfd33fd6 100644 --- a/nodejs/docs/api/class-video.mdx +++ b/nodejs/docs/api/class-video.mdx @@ -5,6 +5,7 @@ title: "Video" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; When browser context is created with the `recordVideo` option, each page has a video object associated with it. diff --git a/nodejs/docs/api/class-weberror.mdx b/nodejs/docs/api/class-weberror.mdx index 36ac8ab3872..0c21d029b91 100644 --- a/nodejs/docs/api/class-weberror.mdx +++ b/nodejs/docs/api/class-weberror.mdx @@ -5,6 +5,7 @@ title: "WebError" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [WebError] class represents an unhandled exception thrown in the page. It is dispatched via the [browserContext.on('weberror')](/api/class-browsercontext.mdx#browser-context-event-web-error) event. diff --git a/nodejs/docs/api/class-websocket.mdx b/nodejs/docs/api/class-websocket.mdx index a5d457bbdee..5da1802bdf6 100644 --- a/nodejs/docs/api/class-websocket.mdx +++ b/nodejs/docs/api/class-websocket.mdx @@ -5,6 +5,7 @@ title: "WebSocket" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [WebSocket] class represents WebSocket connections within a page. It provides the ability to inspect and manipulate the data being transmitted and received. diff --git a/nodejs/docs/api/class-websocketroute.mdx b/nodejs/docs/api/class-websocketroute.mdx index 12be0f5e2da..69bba2f7e19 100644 --- a/nodejs/docs/api/class-websocketroute.mdx +++ b/nodejs/docs/api/class-websocketroute.mdx @@ -5,6 +5,7 @@ title: "WebSocketRoute" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever a [`WebSocket`](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) route is set up with [page.routeWebSocket()](/api/class-page.mdx#page-route-web-socket) or [browserContext.routeWebSocket()](/api/class-browsercontext.mdx#browser-context-route-web-socket), the `WebSocketRoute` object allows to handle the WebSocket, like an actual server would do. diff --git a/nodejs/docs/api/class-worker.mdx b/nodejs/docs/api/class-worker.mdx index d540273eec9..94f54126179 100644 --- a/nodejs/docs/api/class-worker.mdx +++ b/nodejs/docs/api/class-worker.mdx @@ -5,6 +5,7 @@ title: "Worker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Worker class represents a [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). `worker` event is emitted on the page object to signal a worker creation. `close` event is emitted on the worker object when the worker is gone. diff --git a/nodejs/docs/api/class-workerinfo.mdx b/nodejs/docs/api/class-workerinfo.mdx index c462f54b206..1217a30fb50 100644 --- a/nodejs/docs/api/class-workerinfo.mdx +++ b/nodejs/docs/api/class-workerinfo.mdx @@ -5,6 +5,7 @@ title: "WorkerInfo" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; `WorkerInfo` contains information about the worker that is running tests and is available to worker-scoped fixtures. `WorkerInfo` is a subset of [TestInfo] that is available in many other places. diff --git a/nodejs/docs/aria-snapshots.mdx b/nodejs/docs/aria-snapshots.mdx index f6034990164..3b4f5bdbb80 100644 --- a/nodejs/docs/aria-snapshots.mdx +++ b/nodejs/docs/aria-snapshots.mdx @@ -5,7 +5,7 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/auth.mdx b/nodejs/docs/auth.mdx index 378b7cfab82..5f6c767fe5c 100644 --- a/nodejs/docs/auth.mdx +++ b/nodejs/docs/auth.mdx @@ -5,7 +5,7 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/best-practices.mdx b/nodejs/docs/best-practices.mdx index 3144fa4312e..7df9fb05c7f 100644 --- a/nodejs/docs/best-practices.mdx +++ b/nodejs/docs/best-practices.mdx @@ -5,7 +5,7 @@ title: "Best Practices" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/browser-contexts.mdx b/nodejs/docs/browser-contexts.mdx index 1ef10d2a58a..c9657d019e9 100644 --- a/nodejs/docs/browser-contexts.mdx +++ b/nodejs/docs/browser-contexts.mdx @@ -5,7 +5,7 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/browsers.mdx b/nodejs/docs/browsers.mdx index baa8711c763..16ec7a5ee62 100644 --- a/nodejs/docs/browsers.mdx +++ b/nodejs/docs/browsers.mdx @@ -5,7 +5,7 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/canary-releases.mdx b/nodejs/docs/canary-releases.mdx index 9fb67e92718..4bc9c475344 100644 --- a/nodejs/docs/canary-releases.mdx +++ b/nodejs/docs/canary-releases.mdx @@ -5,7 +5,7 @@ title: "Canary releases" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/chrome-extensions.mdx b/nodejs/docs/chrome-extensions.mdx index eb7f9afa62d..38f87bb2f72 100644 --- a/nodejs/docs/chrome-extensions.mdx +++ b/nodejs/docs/chrome-extensions.mdx @@ -5,7 +5,7 @@ title: "Chrome extensions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/ci-intro.mdx b/nodejs/docs/ci-intro.mdx index 1fac1ebbd8e..abbeafdf1ba 100644 --- a/nodejs/docs/ci-intro.mdx +++ b/nodejs/docs/ci-intro.mdx @@ -5,7 +5,7 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/ci.mdx b/nodejs/docs/ci.mdx index e1965c41932..2dead782b72 100644 --- a/nodejs/docs/ci.mdx +++ b/nodejs/docs/ci.mdx @@ -5,7 +5,7 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -102,7 +102,7 @@ jobs: name: 'Playwright Tests' runs-on: ubuntu-latest container: - image: mcr.microsoft.com/playwright:v1.54.1-noble + image: mcr.microsoft.com/playwright:v1.54.2-noble options: --user 1001 steps: - uses: actions/checkout@v4 @@ -336,7 +336,7 @@ trigger: pool: vmImage: ubuntu-latest -container: mcr.microsoft.com/playwright:v1.54.1-noble +container: mcr.microsoft.com/playwright:v1.54.2-noble steps: - task: NodeTool@0 @@ -360,7 +360,7 @@ Running Playwright on CircleCI is very similar to running on GitHub Actions. In executors: pw-noble-development: docker: - - image: mcr.microsoft.com/playwright:v1.54.1-noble + - image: mcr.microsoft.com/playwright:v1.54.2-noble ``` Note: When using the docker agent definition, you are specifying the resource class of where playwright runs to the 'medium' tier [here](https://circleci.com/docs/configuration-reference?#docker-execution-environment). The default behavior of Playwright is to set the number of workers to the detected core count (2 in the case of the medium tier). Overriding the number of workers to greater than this number will cause unnecessary timeouts and failures. @@ -383,7 +383,7 @@ Jenkins supports Docker agents for pipelines. Use the [Playwright Docker image]( ```groovy pipeline { - agent { docker { image 'mcr.microsoft.com/playwright:v1.54.1-noble' } } + agent { docker { image 'mcr.microsoft.com/playwright:v1.54.2-noble' } } stages { stage('e2e-tests') { steps { @@ -400,7 +400,7 @@ pipeline { Bitbucket Pipelines can use public [Docker images as build environments](https://confluence.atlassian.com/bitbucket/use-docker-images-as-build-environments-792298897.html). To run Playwright tests on Bitbucket, use our public Docker image ([see Dockerfile](./docker.mdx)). ```yml -image: mcr.microsoft.com/playwright:v1.54.1-noble +image: mcr.microsoft.com/playwright:v1.54.2-noble ``` ### GitLab CI @@ -413,7 +413,7 @@ stages: tests: stage: test - image: mcr.microsoft.com/playwright:v1.54.1-noble + image: mcr.microsoft.com/playwright:v1.54.2-noble script: ... ``` @@ -428,7 +428,7 @@ stages: tests: stage: test - image: mcr.microsoft.com/playwright:v1.54.1-noble + image: mcr.microsoft.com/playwright:v1.54.2-noble parallel: 7 script: - npm ci @@ -443,7 +443,7 @@ stages: tests: stage: test - image: mcr.microsoft.com/playwright:v1.54.1-noble + image: mcr.microsoft.com/playwright:v1.54.2-noble parallel: matrix: - PROJECT: ['chromium', 'webkit'] @@ -459,7 +459,7 @@ To run Playwright tests on Google Cloud Build, use our public Docker image ([see ```yml steps: -- name: mcr.microsoft.com/playwright:v1.54.1-noble +- name: mcr.microsoft.com/playwright:v1.54.2-noble script: ... env: @@ -477,7 +477,7 @@ type: docker steps: - name: test - image: mcr.microsoft.com/playwright:v1.54.1-noble + image: mcr.microsoft.com/playwright:v1.54.2-noble commands: - npx playwright test ``` diff --git a/nodejs/docs/clock.mdx b/nodejs/docs/clock.mdx index 3e7d543b013..38168f57943 100644 --- a/nodejs/docs/clock.mdx +++ b/nodejs/docs/clock.mdx @@ -5,7 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/codegen-intro.mdx b/nodejs/docs/codegen-intro.mdx index a47076ef12a..428ab453539 100644 --- a/nodejs/docs/codegen-intro.mdx +++ b/nodejs/docs/codegen-intro.mdx @@ -5,7 +5,7 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/codegen.mdx b/nodejs/docs/codegen.mdx index 3c3750e82a5..6a556a64feb 100644 --- a/nodejs/docs/codegen.mdx +++ b/nodejs/docs/codegen.mdx @@ -5,7 +5,7 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/debug.mdx b/nodejs/docs/debug.mdx index 2cbd7cebbed..aaed5a8a36d 100644 --- a/nodejs/docs/debug.mdx +++ b/nodejs/docs/debug.mdx @@ -5,7 +5,7 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## VS Code debugger diff --git a/nodejs/docs/dialogs.mdx b/nodejs/docs/dialogs.mdx index 0853eb12cca..941c27338d5 100644 --- a/nodejs/docs/dialogs.mdx +++ b/nodejs/docs/dialogs.mdx @@ -5,7 +5,7 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/docker.mdx b/nodejs/docs/docker.mdx index 04099ac9ae5..a55557908f8 100644 --- a/nodejs/docs/docker.mdx +++ b/nodejs/docs/docker.mdx @@ -5,7 +5,7 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -23,7 +23,7 @@ This Docker image is intended to be used for testing and development purposes on ### Pull the image ```bash -docker pull mcr.microsoft.com/playwright:v1.54.1-noble +docker pull mcr.microsoft.com/playwright:v1.54.2-noble ``` ### Run the image @@ -35,7 +35,7 @@ By default, the Docker image will use the `root` user to run the browsers. This On trusted websites, you can avoid creating a separate user and use root for it since you trust the code which will run on the browsers. ```bash -docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.54.1-noble /bin/bash +docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.54.2-noble /bin/bash ``` #### Crawling and scraping @@ -43,7 +43,7 @@ docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.54.1-noble /bin/b On untrusted websites, it's recommended to use a separate user for launching the browsers in combination with the seccomp profile. Inside the container or if you are using the Docker image as a base image you have to use `adduser` for it. ```bash -docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.54.1-noble /bin/bash +docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.54.2-noble /bin/bash ``` [`seccomp_profile.json`](https://github.com/microsoft/playwright/blob/main/utils/docker/seccomp_profile.json) is needed to run Chromium with sandbox. This is a [default Docker seccomp profile](https://github.com/docker/engine/blob/d0d99b04cf6e00ed3fc27e81fc3d94e7eda70af3/profiles/seccomp/default.json) with extra user namespace cloning permissions: @@ -83,7 +83,7 @@ You can run Playwright Server in Docker while keeping your tests running on the Start the Playwright Server in Docker: ```bash -docker run -p 3000:3000 --rm --init -it --workdir /home/pwuser --user pwuser mcr.microsoft.com/playwright:v1.54.1-noble /bin/sh -c "npx -y playwright@1.54.1 run-server --port 3000 --host 0.0.0.0" +docker run -p 3000:3000 --rm --init -it --workdir /home/pwuser --user pwuser mcr.microsoft.com/playwright:v1.54.2-noble /bin/sh -c "npx -y playwright@1.54.2 run-server --port 3000 --host 0.0.0.0" ``` #### Connecting to the Server @@ -106,7 +106,7 @@ const browser = await playwright['chromium'].connect('ws://127.0.0.1:3000/'); If you need to access local servers from within the Docker container: ```bash -docker run --add-host=hostmachine:host-gateway -p 3000:3000 --rm --init -it --workdir /home/pwuser --user pwuser mcr.microsoft.com/playwright:v1.54.1-noble /bin/sh -c "npx -y playwright@1.54.1 run-server --port 3000 --host 0.0.0.0" +docker run --add-host=hostmachine:host-gateway -p 3000:3000 --rm --init -it --workdir /home/pwuser --user pwuser mcr.microsoft.com/playwright:v1.54.2-noble /bin/sh -c "npx -y playwright@1.54.2 run-server --port 3000 --host 0.0.0.0" ``` This makes `hostmachine` point to the host's localhost. Your tests should use `hostmachine` instead of `localhost` when accessing local servers. @@ -121,9 +121,9 @@ When running tests remotely, ensure the Playwright version in your tests matches See [all available image tags]. We currently publish images with the following tags: -- `:v1.54.1` - Playwright v1.54.1 release docker image based on Ubuntu 24.04 LTS (Noble Numbat). -- `:v1.54.1-noble` - Playwright v1.54.1 release docker image based on Ubuntu 24.04 LTS (Noble Numbat). -- `:v1.54.1-jammy` - Playwright v1.54.1 release docker image based on Ubuntu 22.04 LTS (Jammy Jellyfish). +- `:v1.54.2` - Playwright v1.54.2 release docker image based on Ubuntu 24.04 LTS (Noble Numbat). +- `:v1.54.2-noble` - Playwright v1.54.2 release docker image based on Ubuntu 24.04 LTS (Noble Numbat). +- `:v1.54.2-jammy` - Playwright v1.54.2 release docker image based on Ubuntu 22.04 LTS (Jammy Jellyfish). :::note @@ -147,7 +147,7 @@ To run Playwright inside Docker, you need to have Node.js, [Playwright browsers] ```Dockerfile FROM node:20-bookworm -RUN npx -y playwright@1.54.1 install --with-deps +RUN npx -y playwright@1.54.2 install --with-deps ``` diff --git a/nodejs/docs/downloads.mdx b/nodejs/docs/downloads.mdx index e71b5fc7329..f7cc084704f 100644 --- a/nodejs/docs/downloads.mdx +++ b/nodejs/docs/downloads.mdx @@ -5,7 +5,7 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/emulation.mdx b/nodejs/docs/emulation.mdx index 83b528f3e79..dae8dd522ea 100644 --- a/nodejs/docs/emulation.mdx +++ b/nodejs/docs/emulation.mdx @@ -5,7 +5,7 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/evaluating.mdx b/nodejs/docs/evaluating.mdx index 4f1e2796058..e63ae514dc8 100644 --- a/nodejs/docs/evaluating.mdx +++ b/nodejs/docs/evaluating.mdx @@ -5,7 +5,7 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/events.mdx b/nodejs/docs/events.mdx index aa6c314bdd0..fed61817564 100644 --- a/nodejs/docs/events.mdx +++ b/nodejs/docs/events.mdx @@ -5,7 +5,7 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/extensibility.mdx b/nodejs/docs/extensibility.mdx index e55fe8904b4..8337fe51a7b 100644 --- a/nodejs/docs/extensibility.mdx +++ b/nodejs/docs/extensibility.mdx @@ -5,7 +5,7 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Custom selector engines diff --git a/nodejs/docs/frames.mdx b/nodejs/docs/frames.mdx index 1059faabeac..f8ed832f565 100644 --- a/nodejs/docs/frames.mdx +++ b/nodejs/docs/frames.mdx @@ -5,7 +5,7 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/getting-started-vscode.mdx b/nodejs/docs/getting-started-vscode.mdx index 0be950e1f5b..08f874d15da 100644 --- a/nodejs/docs/getting-started-vscode.mdx +++ b/nodejs/docs/getting-started-vscode.mdx @@ -5,7 +5,7 @@ title: "Getting started - VS Code" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/handles.mdx b/nodejs/docs/handles.mdx index e6c3e1c2cf7..08abb06c6a7 100644 --- a/nodejs/docs/handles.mdx +++ b/nodejs/docs/handles.mdx @@ -5,7 +5,7 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/input.mdx b/nodejs/docs/input.mdx index 9ed6984f82a..0f4bf6ee750 100644 --- a/nodejs/docs/input.mdx +++ b/nodejs/docs/input.mdx @@ -5,7 +5,7 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/intro.mdx b/nodejs/docs/intro.mdx index 9662e8ef835..ab3d10e9e93 100644 --- a/nodejs/docs/intro.mdx +++ b/nodejs/docs/intro.mdx @@ -5,7 +5,7 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/languages.mdx b/nodejs/docs/languages.mdx index 37e518c53a6..1b2e2e9a6cd 100644 --- a/nodejs/docs/languages.mdx +++ b/nodejs/docs/languages.mdx @@ -5,7 +5,7 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/library.mdx b/nodejs/docs/library.mdx index 879d1555feb..1a3ed3254a9 100644 --- a/nodejs/docs/library.mdx +++ b/nodejs/docs/library.mdx @@ -5,7 +5,7 @@ title: "Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/locators.mdx b/nodejs/docs/locators.mdx index 61661ef198c..f4cbaa6716f 100644 --- a/nodejs/docs/locators.mdx +++ b/nodejs/docs/locators.mdx @@ -5,7 +5,7 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/mock-browser.mdx b/nodejs/docs/mock-browser.mdx index 41775ea5709..e35fefa148e 100644 --- a/nodejs/docs/mock-browser.mdx +++ b/nodejs/docs/mock-browser.mdx @@ -5,7 +5,7 @@ title: "Mock browser APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/mock.mdx b/nodejs/docs/mock.mdx index 7b90da30e8b..bb6b534e71c 100644 --- a/nodejs/docs/mock.mdx +++ b/nodejs/docs/mock.mdx @@ -5,7 +5,7 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/navigations.mdx b/nodejs/docs/navigations.mdx index 33157b742a8..40dadf27e0c 100644 --- a/nodejs/docs/navigations.mdx +++ b/nodejs/docs/navigations.mdx @@ -5,7 +5,7 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/network.mdx b/nodejs/docs/network.mdx index 61732e40db3..9dea85d7e2c 100644 --- a/nodejs/docs/network.mdx +++ b/nodejs/docs/network.mdx @@ -5,7 +5,7 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/other-locators.mdx b/nodejs/docs/other-locators.mdx index 534d90329cc..ba45ea8b3df 100644 --- a/nodejs/docs/other-locators.mdx +++ b/nodejs/docs/other-locators.mdx @@ -5,7 +5,7 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/pages.mdx b/nodejs/docs/pages.mdx index b1bce517c6a..11e193b4982 100644 --- a/nodejs/docs/pages.mdx +++ b/nodejs/docs/pages.mdx @@ -5,7 +5,7 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Pages diff --git a/nodejs/docs/pom.mdx b/nodejs/docs/pom.mdx index 3cf29511c52..cace62eb028 100644 --- a/nodejs/docs/pom.mdx +++ b/nodejs/docs/pom.mdx @@ -5,7 +5,7 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/protractor.mdx b/nodejs/docs/protractor.mdx index 41f8bb839f8..69e4e8eeb81 100644 --- a/nodejs/docs/protractor.mdx +++ b/nodejs/docs/protractor.mdx @@ -5,7 +5,7 @@ title: "Migrating from Protractor" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Migration Principles - No need for "webdriver-manager" / Selenium. diff --git a/nodejs/docs/puppeteer.mdx b/nodejs/docs/puppeteer.mdx index 62ade4e0e2d..3049d28c196 100644 --- a/nodejs/docs/puppeteer.mdx +++ b/nodejs/docs/puppeteer.mdx @@ -5,7 +5,7 @@ title: "Migrating from Puppeteer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Migration Principles diff --git a/nodejs/docs/release-notes.mdx b/nodejs/docs/release-notes.mdx index 73d186f549a..b22e522cb98 100644 --- a/nodejs/docs/release-notes.mdx +++ b/nodejs/docs/release-notes.mdx @@ -6,7 +6,7 @@ toc_max_heading_level: 2 import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/running-tests.mdx b/nodejs/docs/running-tests.mdx index ce829bb1dbc..091624e6cb2 100644 --- a/nodejs/docs/running-tests.mdx +++ b/nodejs/docs/running-tests.mdx @@ -5,7 +5,7 @@ title: "Running and debugging tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/screenshots.mdx b/nodejs/docs/screenshots.mdx index fea9c98c2ef..0b19d461946 100644 --- a/nodejs/docs/screenshots.mdx +++ b/nodejs/docs/screenshots.mdx @@ -5,7 +5,7 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/selenium-grid.mdx b/nodejs/docs/selenium-grid.mdx index 6e13e0964c6..90fe66f6688 100644 --- a/nodejs/docs/selenium-grid.mdx +++ b/nodejs/docs/selenium-grid.mdx @@ -5,7 +5,7 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/service-workers-experimental-network-events.mdx b/nodejs/docs/service-workers-experimental-network-events.mdx index 9c15c5bded5..314980bda16 100644 --- a/nodejs/docs/service-workers-experimental-network-events.mdx +++ b/nodejs/docs/service-workers-experimental-network-events.mdx @@ -5,7 +5,7 @@ title: "(Experimental) Service Worker Network Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-annotations.mdx b/nodejs/docs/test-annotations.mdx index 8f711e6693e..0bc81e7a43a 100644 --- a/nodejs/docs/test-annotations.mdx +++ b/nodejs/docs/test-annotations.mdx @@ -5,7 +5,7 @@ title: "Annotations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-assertions.mdx b/nodejs/docs/test-assertions.mdx index b417d4077a7..eae79cfef6e 100644 --- a/nodejs/docs/test-assertions.mdx +++ b/nodejs/docs/test-assertions.mdx @@ -5,7 +5,7 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-cli.mdx b/nodejs/docs/test-cli.mdx index 8e7ec450129..65a62b630f3 100644 --- a/nodejs/docs/test-cli.mdx +++ b/nodejs/docs/test-cli.mdx @@ -5,7 +5,7 @@ title: "Command line" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright provides a powerful command line interface for running tests, generating code, debugging, and more. The most up to date list of commands and arguments available on the CLI can always be retrieved via `npx playwright --help`. diff --git a/nodejs/docs/test-components.mdx b/nodejs/docs/test-components.mdx index 5279ec18e49..b20992e9fec 100644 --- a/nodejs/docs/test-components.mdx +++ b/nodejs/docs/test-components.mdx @@ -5,7 +5,7 @@ title: "Components (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/test-configuration.mdx b/nodejs/docs/test-configuration.mdx index d1df8a0561a..6d7a5abbcf8 100644 --- a/nodejs/docs/test-configuration.mdx +++ b/nodejs/docs/test-configuration.mdx @@ -5,7 +5,7 @@ title: "Test configuration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-fixtures.mdx b/nodejs/docs/test-fixtures.mdx index 81d9b359c8b..84ed142247b 100644 --- a/nodejs/docs/test-fixtures.mdx +++ b/nodejs/docs/test-fixtures.mdx @@ -5,7 +5,7 @@ title: "Fixtures" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-global-setup-teardown.mdx b/nodejs/docs/test-global-setup-teardown.mdx index 21ad26b197c..b4314ef9b7e 100644 --- a/nodejs/docs/test-global-setup-teardown.mdx +++ b/nodejs/docs/test-global-setup-teardown.mdx @@ -5,7 +5,7 @@ title: "Global setup and teardown" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-parallel.mdx b/nodejs/docs/test-parallel.mdx index a8613b56e49..602f1630e86 100644 --- a/nodejs/docs/test-parallel.mdx +++ b/nodejs/docs/test-parallel.mdx @@ -5,7 +5,7 @@ title: "Parallelism" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-parameterize.mdx b/nodejs/docs/test-parameterize.mdx index eb8c5b4dc7e..39f3af53b8c 100644 --- a/nodejs/docs/test-parameterize.mdx +++ b/nodejs/docs/test-parameterize.mdx @@ -5,7 +5,7 @@ title: "Parameterize tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-projects.mdx b/nodejs/docs/test-projects.mdx index 68d77e55790..0c18a730e13 100644 --- a/nodejs/docs/test-projects.mdx +++ b/nodejs/docs/test-projects.mdx @@ -5,7 +5,7 @@ title: "Projects" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-reporters.mdx b/nodejs/docs/test-reporters.mdx index 5d1e91a2f01..51d5174dfa0 100644 --- a/nodejs/docs/test-reporters.mdx +++ b/nodejs/docs/test-reporters.mdx @@ -5,7 +5,7 @@ title: "Reporters" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-retries.mdx b/nodejs/docs/test-retries.mdx index 4900b24d922..c669ed024b3 100644 --- a/nodejs/docs/test-retries.mdx +++ b/nodejs/docs/test-retries.mdx @@ -5,7 +5,7 @@ title: "Retries" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-sharding.mdx b/nodejs/docs/test-sharding.mdx index aaf7dbe558e..d20f8c0a79a 100644 --- a/nodejs/docs/test-sharding.mdx +++ b/nodejs/docs/test-sharding.mdx @@ -5,7 +5,7 @@ title: "Sharding" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-snapshots.mdx b/nodejs/docs/test-snapshots.mdx index 7f80dee0f65..e3c1304744e 100644 --- a/nodejs/docs/test-snapshots.mdx +++ b/nodejs/docs/test-snapshots.mdx @@ -5,7 +5,7 @@ title: "Visual comparisons" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-timeouts.mdx b/nodejs/docs/test-timeouts.mdx index 1bc7b9c5320..8be9ee55a6c 100644 --- a/nodejs/docs/test-timeouts.mdx +++ b/nodejs/docs/test-timeouts.mdx @@ -5,7 +5,7 @@ title: "Timeouts" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright Test has multiple configurable timeouts for various tasks. diff --git a/nodejs/docs/test-typescript.mdx b/nodejs/docs/test-typescript.mdx index 4085ca714d6..14b3ce1d8bd 100644 --- a/nodejs/docs/test-typescript.mdx +++ b/nodejs/docs/test-typescript.mdx @@ -5,7 +5,7 @@ title: "TypeScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-ui-mode.mdx b/nodejs/docs/test-ui-mode.mdx index 1d7b57f6b35..3b9ecf1efc9 100644 --- a/nodejs/docs/test-ui-mode.mdx +++ b/nodejs/docs/test-ui-mode.mdx @@ -5,7 +5,7 @@ title: "UI Mode" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/test-use-options.mdx b/nodejs/docs/test-use-options.mdx index 648a0389dba..4840d67a296 100644 --- a/nodejs/docs/test-use-options.mdx +++ b/nodejs/docs/test-use-options.mdx @@ -5,7 +5,7 @@ title: "Test use options" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-webserver.mdx b/nodejs/docs/test-webserver.mdx index 0d95317940b..d267f90feae 100644 --- a/nodejs/docs/test-webserver.mdx +++ b/nodejs/docs/test-webserver.mdx @@ -5,7 +5,7 @@ title: "Web server" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/testing-library.mdx b/nodejs/docs/testing-library.mdx index e53831f1a84..fc64e811ee8 100644 --- a/nodejs/docs/testing-library.mdx +++ b/nodejs/docs/testing-library.mdx @@ -5,7 +5,7 @@ title: "Migrating from Testing Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Migration principles diff --git a/nodejs/docs/touch-events.mdx b/nodejs/docs/touch-events.mdx index cbb578ae579..3f6444539e4 100644 --- a/nodejs/docs/touch-events.mdx +++ b/nodejs/docs/touch-events.mdx @@ -5,7 +5,7 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/trace-viewer-intro.mdx b/nodejs/docs/trace-viewer-intro.mdx index a8c8de9959f..d40c1866eb7 100644 --- a/nodejs/docs/trace-viewer-intro.mdx +++ b/nodejs/docs/trace-viewer-intro.mdx @@ -5,7 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/trace-viewer.mdx b/nodejs/docs/trace-viewer.mdx index 5defdb0725a..a49c77d8f10 100644 --- a/nodejs/docs/trace-viewer.mdx +++ b/nodejs/docs/trace-viewer.mdx @@ -5,7 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/videos.mdx b/nodejs/docs/videos.mdx index ed18d423f35..97f36629f14 100644 --- a/nodejs/docs/videos.mdx +++ b/nodejs/docs/videos.mdx @@ -5,7 +5,7 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/webview2.mdx b/nodejs/docs/webview2.mdx index 5d45eacb449..08057683c7a 100644 --- a/nodejs/docs/webview2.mdx +++ b/nodejs/docs/webview2.mdx @@ -5,7 +5,7 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/writing-tests.mdx b/nodejs/docs/writing-tests.mdx index 547f15e8712..13ff0fa89e7 100644 --- a/nodejs/docs/writing-tests.mdx +++ b/nodejs/docs/writing-tests.mdx @@ -5,7 +5,7 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/actionability.mdx b/python/docs/actionability.mdx index 1ff968ec458..25e11bb11c3 100644 --- a/python/docs/actionability.mdx +++ b/python/docs/actionability.mdx @@ -5,7 +5,7 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/api-testing.mdx b/python/docs/api-testing.mdx index d97151cb0e4..d8d01a10e77 100644 --- a/python/docs/api-testing.mdx +++ b/python/docs/api-testing.mdx @@ -5,7 +5,7 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/api/class-accessibility.mdx b/python/docs/api/class-accessibility.mdx index 99816e181ec..65d0b8bd920 100644 --- a/python/docs/api/class-accessibility.mdx +++ b/python/docs/api/class-accessibility.mdx @@ -5,6 +5,7 @@ title: "Accessibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; :::warning[Deprecated] diff --git a/python/docs/api/class-apirequest.mdx b/python/docs/api/class-apirequest.mdx index bc8ff32e1a1..1aca54a8756 100644 --- a/python/docs/api/class-apirequest.mdx +++ b/python/docs/api/class-apirequest.mdx @@ -5,6 +5,7 @@ title: "APIRequest" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Exposes API that can be used for the Web API testing. This class is used for creating [APIRequestContext] instance which in turn can be used for sending web requests. An instance of this class can be obtained via [playwright.request](/api/class-playwright.mdx#playwright-request). For more information see [APIRequestContext]. diff --git a/python/docs/api/class-apirequestcontext.mdx b/python/docs/api/class-apirequestcontext.mdx index ae545e9920b..7ddd1d11124 100644 --- a/python/docs/api/class-apirequestcontext.mdx +++ b/python/docs/api/class-apirequestcontext.mdx @@ -5,6 +5,7 @@ title: "APIRequestContext" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; This API is used for the Web API testing. You can use it to trigger API endpoints, configure micro-services, prepare environment or the service to your e2e test. diff --git a/python/docs/api/class-apiresponse.mdx b/python/docs/api/class-apiresponse.mdx index 55e1dc1f8e3..ed8442f0682 100644 --- a/python/docs/api/class-apiresponse.mdx +++ b/python/docs/api/class-apiresponse.mdx @@ -5,6 +5,7 @@ title: "APIResponse" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [APIResponse] class represents responses returned by [api_request_context.get()](/api/class-apirequestcontext.mdx#api-request-context-get) and similar methods. diff --git a/python/docs/api/class-apiresponseassertions.mdx b/python/docs/api/class-apiresponseassertions.mdx index ee3282a9682..03d8af7a0aa 100644 --- a/python/docs/api/class-apiresponseassertions.mdx +++ b/python/docs/api/class-apiresponseassertions.mdx @@ -5,6 +5,7 @@ title: "APIResponseAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [APIResponseAssertions] class provides assertion methods that can be used to make assertions about the [APIResponse] in the tests. diff --git a/python/docs/api/class-browser.mdx b/python/docs/api/class-browser.mdx index 7eaa1495251..ec14e0ad221 100644 --- a/python/docs/api/class-browser.mdx +++ b/python/docs/api/class-browser.mdx @@ -5,6 +5,7 @@ title: "Browser" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; A Browser is created via [browser_type.launch()](/api/class-browsertype.mdx#browser-type-launch). An example of using a [Browser] to create a [Page]: diff --git a/python/docs/api/class-browsercontext.mdx b/python/docs/api/class-browsercontext.mdx index 6d3d5e37dcd..177ac6091a2 100644 --- a/python/docs/api/class-browsercontext.mdx +++ b/python/docs/api/class-browsercontext.mdx @@ -5,6 +5,7 @@ title: "BrowserContext" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; BrowserContexts provide a way to operate multiple independent browser sessions. diff --git a/python/docs/api/class-browsertype.mdx b/python/docs/api/class-browsertype.mdx index 34ce34080fd..08a909f3d43 100644 --- a/python/docs/api/class-browsertype.mdx +++ b/python/docs/api/class-browsertype.mdx @@ -5,6 +5,7 @@ title: "BrowserType" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; BrowserType provides methods to launch a specific browser instance or connect to an existing one. The following is a typical example of using Playwright to drive automation: diff --git a/python/docs/api/class-cdpsession.mdx b/python/docs/api/class-cdpsession.mdx index c9a4ff6dae0..03ef6d2532b 100644 --- a/python/docs/api/class-cdpsession.mdx +++ b/python/docs/api/class-cdpsession.mdx @@ -5,6 +5,7 @@ title: "CDPSession" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The `CDPSession` instances are used to talk raw Chrome Devtools Protocol: diff --git a/python/docs/api/class-clock.mdx b/python/docs/api/class-clock.mdx index bce83b3aab9..5eddfbf456c 100644 --- a/python/docs/api/class-clock.mdx +++ b/python/docs/api/class-clock.mdx @@ -5,6 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Accurately simulating time-dependent behavior is essential for verifying the correctness of applications. Learn more about [clock emulation](../clock.mdx). diff --git a/python/docs/api/class-consolemessage.mdx b/python/docs/api/class-consolemessage.mdx index c59988a3847..7582d15d1f4 100644 --- a/python/docs/api/class-consolemessage.mdx +++ b/python/docs/api/class-consolemessage.mdx @@ -5,6 +5,7 @@ title: "ConsoleMessage" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [ConsoleMessage] objects are dispatched by page via the [page.on("console")](/api/class-page.mdx#page-event-console) event. For each console message logged in the page there will be corresponding event in the Playwright context. diff --git a/python/docs/api/class-dialog.mdx b/python/docs/api/class-dialog.mdx index 42f2736e568..e90458e3167 100644 --- a/python/docs/api/class-dialog.mdx +++ b/python/docs/api/class-dialog.mdx @@ -5,6 +5,7 @@ title: "Dialog" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Dialog] objects are dispatched by page via the [page.on("dialog")](/api/class-page.mdx#page-event-dialog) event. diff --git a/python/docs/api/class-download.mdx b/python/docs/api/class-download.mdx index 8c5089e052c..5d954176d1a 100644 --- a/python/docs/api/class-download.mdx +++ b/python/docs/api/class-download.mdx @@ -5,6 +5,7 @@ title: "Download" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Download] objects are dispatched by page via the [page.on("download")](/api/class-page.mdx#page-event-download) event. diff --git a/python/docs/api/class-elementhandle.mdx b/python/docs/api/class-elementhandle.mdx index 140ffd377a2..b268ba1da91 100644 --- a/python/docs/api/class-elementhandle.mdx +++ b/python/docs/api/class-elementhandle.mdx @@ -5,6 +5,7 @@ title: "ElementHandle" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; * extends: [JSHandle] diff --git a/python/docs/api/class-error.mdx b/python/docs/api/class-error.mdx index 7afaa2c2102..fe5887318ab 100644 --- a/python/docs/api/class-error.mdx +++ b/python/docs/api/class-error.mdx @@ -5,6 +5,7 @@ title: "Error" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; * extends: [Exception] diff --git a/python/docs/api/class-filechooser.mdx b/python/docs/api/class-filechooser.mdx index 686484d1323..0f802243a24 100644 --- a/python/docs/api/class-filechooser.mdx +++ b/python/docs/api/class-filechooser.mdx @@ -5,6 +5,7 @@ title: "FileChooser" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [FileChooser] objects are dispatched by the page in the [page.on("filechooser")](/api/class-page.mdx#page-event-file-chooser) event. diff --git a/python/docs/api/class-frame.mdx b/python/docs/api/class-frame.mdx index efffa94f093..b2553eddbff 100644 --- a/python/docs/api/class-frame.mdx +++ b/python/docs/api/class-frame.mdx @@ -5,6 +5,7 @@ title: "Frame" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; At every point of time, page exposes its current frame tree via the [page.main_frame](/api/class-page.mdx#page-main-frame) and [frame.child_frames](/api/class-frame.mdx#frame-child-frames) methods. diff --git a/python/docs/api/class-framelocator.mdx b/python/docs/api/class-framelocator.mdx index 6c8a9e9b184..0f8466fe30d 100644 --- a/python/docs/api/class-framelocator.mdx +++ b/python/docs/api/class-framelocator.mdx @@ -5,6 +5,7 @@ title: "FrameLocator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; FrameLocator represents a view to the `iframe` on the page. It captures the logic sufficient to retrieve the `iframe` and locate elements in that iframe. FrameLocator can be created with either [locator.content_frame](/api/class-locator.mdx#locator-content-frame), [page.frame_locator()](/api/class-page.mdx#page-frame-locator) or [locator.frame_locator()](/api/class-locator.mdx#locator-frame-locator) method. diff --git a/python/docs/api/class-jshandle.mdx b/python/docs/api/class-jshandle.mdx index fb7c05dd4b0..16d2048fe4b 100644 --- a/python/docs/api/class-jshandle.mdx +++ b/python/docs/api/class-jshandle.mdx @@ -5,6 +5,7 @@ title: "JSHandle" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; JSHandle represents an in-page JavaScript object. JSHandles can be created with the [page.evaluate_handle()](/api/class-page.mdx#page-evaluate-handle) method. diff --git a/python/docs/api/class-keyboard.mdx b/python/docs/api/class-keyboard.mdx index 081287e132d..75a3f8d9166 100644 --- a/python/docs/api/class-keyboard.mdx +++ b/python/docs/api/class-keyboard.mdx @@ -5,6 +5,7 @@ title: "Keyboard" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Keyboard provides an api for managing a virtual keyboard. The high level api is [keyboard.type()](/api/class-keyboard.mdx#keyboard-type), which takes raw characters and generates proper `keydown`, `keypress`/`input`, and `keyup` events on your page. diff --git a/python/docs/api/class-locator.mdx b/python/docs/api/class-locator.mdx index 65f0f774aea..bb2976d3c48 100644 --- a/python/docs/api/class-locator.mdx +++ b/python/docs/api/class-locator.mdx @@ -5,6 +5,7 @@ title: "Locator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Locators are the central piece of Playwright's auto-waiting and retry-ability. In a nutshell, locators represent a way to find element(s) on the page at any moment. A locator can be created with the [page.locator()](/api/class-page.mdx#page-locator) method. diff --git a/python/docs/api/class-locatorassertions.mdx b/python/docs/api/class-locatorassertions.mdx index 038085b15ca..f918e2147c0 100644 --- a/python/docs/api/class-locatorassertions.mdx +++ b/python/docs/api/class-locatorassertions.mdx @@ -5,6 +5,7 @@ title: "LocatorAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [LocatorAssertions] class provides assertion methods that can be used to make assertions about the [Locator] state in the tests. diff --git a/python/docs/api/class-mouse.mdx b/python/docs/api/class-mouse.mdx index 48a001261bd..56fe66fd9ff 100644 --- a/python/docs/api/class-mouse.mdx +++ b/python/docs/api/class-mouse.mdx @@ -5,6 +5,7 @@ title: "Mouse" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport. diff --git a/python/docs/api/class-page.mdx b/python/docs/api/class-page.mdx index 1b44d8dcb6e..c266d79388f 100644 --- a/python/docs/api/class-page.mdx +++ b/python/docs/api/class-page.mdx @@ -5,6 +5,7 @@ title: "Page" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Page provides methods to interact with a single tab in a [Browser], or an [extension background page](https://developer.chrome.com/extensions/background_pages) in Chromium. One [Browser] instance might have multiple [Page] instances. diff --git a/python/docs/api/class-pageassertions.mdx b/python/docs/api/class-pageassertions.mdx index c4ccdb63773..94f14471ed4 100644 --- a/python/docs/api/class-pageassertions.mdx +++ b/python/docs/api/class-pageassertions.mdx @@ -5,6 +5,7 @@ title: "PageAssertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [PageAssertions] class provides assertion methods that can be used to make assertions about the [Page] state in the tests. diff --git a/python/docs/api/class-playwright.mdx b/python/docs/api/class-playwright.mdx index 34e089eedde..de7f24ef3f4 100644 --- a/python/docs/api/class-playwright.mdx +++ b/python/docs/api/class-playwright.mdx @@ -5,6 +5,7 @@ title: "Playwright" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Playwright module provides a method to launch a browser instance. The following is a typical example of using Playwright to drive automation: diff --git a/python/docs/api/class-request.mdx b/python/docs/api/class-request.mdx index 98610ce4a86..1c85734a622 100644 --- a/python/docs/api/class-request.mdx +++ b/python/docs/api/class-request.mdx @@ -5,6 +5,7 @@ title: "Request" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever the page sends a request for a network resource the following sequence of events are emitted by [Page]: diff --git a/python/docs/api/class-response.mdx b/python/docs/api/class-response.mdx index 415c87769a6..2aaa41f43e2 100644 --- a/python/docs/api/class-response.mdx +++ b/python/docs/api/class-response.mdx @@ -5,6 +5,7 @@ title: "Response" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [Response] class represents responses which are received by page. diff --git a/python/docs/api/class-route.mdx b/python/docs/api/class-route.mdx index eb4f23c7b3d..9de5bcee50b 100644 --- a/python/docs/api/class-route.mdx +++ b/python/docs/api/class-route.mdx @@ -5,6 +5,7 @@ title: "Route" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever a network route is set up with [page.route()](/api/class-page.mdx#page-route) or [browser_context.route()](/api/class-browsercontext.mdx#browser-context-route), the `Route` object allows to handle the route. diff --git a/python/docs/api/class-selectors.mdx b/python/docs/api/class-selectors.mdx index fd640114f3c..18af6b334de 100644 --- a/python/docs/api/class-selectors.mdx +++ b/python/docs/api/class-selectors.mdx @@ -5,6 +5,7 @@ title: "Selectors" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Selectors can be used to install custom selector engines. See [extensibility](../extensibility.mdx) for more information. diff --git a/python/docs/api/class-timeouterror.mdx b/python/docs/api/class-timeouterror.mdx index 813d2b1fb7f..857c1fdf088 100644 --- a/python/docs/api/class-timeouterror.mdx +++ b/python/docs/api/class-timeouterror.mdx @@ -5,6 +5,7 @@ title: "TimeoutError" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; * extends: [Error] diff --git a/python/docs/api/class-touchscreen.mdx b/python/docs/api/class-touchscreen.mdx index 91aa8b53b0e..1c413ca227d 100644 --- a/python/docs/api/class-touchscreen.mdx +++ b/python/docs/api/class-touchscreen.mdx @@ -5,6 +5,7 @@ title: "Touchscreen" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Touchscreen class operates in main-frame CSS pixels relative to the top-left corner of the viewport. Methods on the touchscreen can only be used in browser contexts that have been initialized with `hasTouch` set to true. diff --git a/python/docs/api/class-tracing.mdx b/python/docs/api/class-tracing.mdx index e81235ccc09..a07e89c645a 100644 --- a/python/docs/api/class-tracing.mdx +++ b/python/docs/api/class-tracing.mdx @@ -5,6 +5,7 @@ title: "Tracing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; API for collecting and saving Playwright traces. Playwright traces can be opened in [Trace Viewer](../trace-viewer.mdx) after Playwright script runs. diff --git a/python/docs/api/class-video.mdx b/python/docs/api/class-video.mdx index 616fbab6943..29e36dbcf35 100644 --- a/python/docs/api/class-video.mdx +++ b/python/docs/api/class-video.mdx @@ -5,6 +5,7 @@ title: "Video" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; When browser context is created with the `recordVideo` option, each page has a video object associated with it. diff --git a/python/docs/api/class-weberror.mdx b/python/docs/api/class-weberror.mdx index d5e3a5ba047..12df8589282 100644 --- a/python/docs/api/class-weberror.mdx +++ b/python/docs/api/class-weberror.mdx @@ -5,6 +5,7 @@ title: "WebError" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; [WebError] class represents an unhandled exception thrown in the page. It is dispatched via the [browser_context.on("weberror")](/api/class-browsercontext.mdx#browser-context-event-web-error) event. diff --git a/python/docs/api/class-websocket.mdx b/python/docs/api/class-websocket.mdx index 7a7feca871e..8af12b5b3a9 100644 --- a/python/docs/api/class-websocket.mdx +++ b/python/docs/api/class-websocket.mdx @@ -5,6 +5,7 @@ title: "WebSocket" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The [WebSocket] class represents WebSocket connections within a page. It provides the ability to inspect and manipulate the data being transmitted and received. diff --git a/python/docs/api/class-websocketroute.mdx b/python/docs/api/class-websocketroute.mdx index 4bbf1e75a35..a19c343ff50 100644 --- a/python/docs/api/class-websocketroute.mdx +++ b/python/docs/api/class-websocketroute.mdx @@ -5,6 +5,7 @@ title: "WebSocketRoute" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; Whenever a [`WebSocket`](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket) route is set up with [page.route_web_socket()](/api/class-page.mdx#page-route-web-socket) or [browser_context.route_web_socket()](/api/class-browsercontext.mdx#browser-context-route-web-socket), the `WebSocketRoute` object allows to handle the WebSocket, like an actual server would do. diff --git a/python/docs/api/class-worker.mdx b/python/docs/api/class-worker.mdx index e628e7adecb..e8669406024 100644 --- a/python/docs/api/class-worker.mdx +++ b/python/docs/api/class-worker.mdx @@ -5,6 +5,7 @@ title: "Worker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; The Worker class represents a [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API). `worker` event is emitted on the page object to signal a worker creation. `close` event is emitted on the worker object when the worker is gone. diff --git a/python/docs/aria-snapshots.mdx b/python/docs/aria-snapshots.mdx index 0954560d4db..8878f8a0163 100644 --- a/python/docs/aria-snapshots.mdx +++ b/python/docs/aria-snapshots.mdx @@ -5,7 +5,7 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/python/docs/auth.mdx b/python/docs/auth.mdx index 0549dcf14f2..25ef3b6938c 100644 --- a/python/docs/auth.mdx +++ b/python/docs/auth.mdx @@ -5,7 +5,7 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/browser-contexts.mdx b/python/docs/browser-contexts.mdx index 3e3be240d56..5089593fc15 100644 --- a/python/docs/browser-contexts.mdx +++ b/python/docs/browser-contexts.mdx @@ -5,7 +5,7 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/browsers.mdx b/python/docs/browsers.mdx index 12c7d0ffbae..3c9256471e4 100644 --- a/python/docs/browsers.mdx +++ b/python/docs/browsers.mdx @@ -5,7 +5,7 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/chrome-extensions.mdx b/python/docs/chrome-extensions.mdx index f7f4bca9f0b..0f2578c2182 100644 --- a/python/docs/chrome-extensions.mdx +++ b/python/docs/chrome-extensions.mdx @@ -5,7 +5,7 @@ title: "Chrome extensions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/ci-intro.mdx b/python/docs/ci-intro.mdx index 76049466676..046b5560acb 100644 --- a/python/docs/ci-intro.mdx +++ b/python/docs/ci-intro.mdx @@ -5,7 +5,7 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/ci.mdx b/python/docs/ci.mdx index 8b79e558d45..33ff25c48fb 100644 --- a/python/docs/ci.mdx +++ b/python/docs/ci.mdx @@ -5,7 +5,7 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/clock.mdx b/python/docs/clock.mdx index cd8cb67bb6c..66d99e87181 100644 --- a/python/docs/clock.mdx +++ b/python/docs/clock.mdx @@ -5,7 +5,7 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/python/docs/codegen-intro.mdx b/python/docs/codegen-intro.mdx index fea6fe356fe..fe51684102d 100644 --- a/python/docs/codegen-intro.mdx +++ b/python/docs/codegen-intro.mdx @@ -5,7 +5,7 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/codegen.mdx b/python/docs/codegen.mdx index b68e43fa5f1..3f037f761c2 100644 --- a/python/docs/codegen.mdx +++ b/python/docs/codegen.mdx @@ -5,7 +5,7 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/python/docs/debug.mdx b/python/docs/debug.mdx index 5224263debb..bc9bbbd987e 100644 --- a/python/docs/debug.mdx +++ b/python/docs/debug.mdx @@ -5,7 +5,7 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Playwright Inspector diff --git a/python/docs/dialogs.mdx b/python/docs/dialogs.mdx index 1375c79df53..50ea679eaa2 100644 --- a/python/docs/dialogs.mdx +++ b/python/docs/dialogs.mdx @@ -5,7 +5,7 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/docker.mdx b/python/docs/docker.mdx index 38a63bef9f2..b2b430b4a04 100644 --- a/python/docs/docker.mdx +++ b/python/docs/docker.mdx @@ -5,7 +5,7 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/downloads.mdx b/python/docs/downloads.mdx index d4491284e36..e88652a7151 100644 --- a/python/docs/downloads.mdx +++ b/python/docs/downloads.mdx @@ -5,7 +5,7 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/emulation.mdx b/python/docs/emulation.mdx index e7255e03781..7badd034ff9 100644 --- a/python/docs/emulation.mdx +++ b/python/docs/emulation.mdx @@ -5,7 +5,7 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/evaluating.mdx b/python/docs/evaluating.mdx index 9515b87a2ee..6adeeca259e 100644 --- a/python/docs/evaluating.mdx +++ b/python/docs/evaluating.mdx @@ -5,7 +5,7 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/events.mdx b/python/docs/events.mdx index 9d81f225b0f..c311ff40c9a 100644 --- a/python/docs/events.mdx +++ b/python/docs/events.mdx @@ -5,7 +5,7 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/extensibility.mdx b/python/docs/extensibility.mdx index 08da2d5fc26..6ccaa5ec357 100644 --- a/python/docs/extensibility.mdx +++ b/python/docs/extensibility.mdx @@ -5,7 +5,7 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Custom selector engines diff --git a/python/docs/frames.mdx b/python/docs/frames.mdx index fb45670523c..5b69af2fbf9 100644 --- a/python/docs/frames.mdx +++ b/python/docs/frames.mdx @@ -5,7 +5,7 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/handles.mdx b/python/docs/handles.mdx index e5d585762d4..f7d456f46de 100644 --- a/python/docs/handles.mdx +++ b/python/docs/handles.mdx @@ -5,7 +5,7 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/input.mdx b/python/docs/input.mdx index 0c605c39230..bc89cfbd838 100644 --- a/python/docs/input.mdx +++ b/python/docs/input.mdx @@ -5,7 +5,7 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/intro.mdx b/python/docs/intro.mdx index 7d3def580db..8787a409323 100644 --- a/python/docs/intro.mdx +++ b/python/docs/intro.mdx @@ -5,7 +5,7 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/languages.mdx b/python/docs/languages.mdx index 9a5ae275d7c..4e49c07dd46 100644 --- a/python/docs/languages.mdx +++ b/python/docs/languages.mdx @@ -5,7 +5,7 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/library.mdx b/python/docs/library.mdx index 464f9834566..c6af81b8610 100644 --- a/python/docs/library.mdx +++ b/python/docs/library.mdx @@ -5,7 +5,7 @@ title: "Getting started - Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Installation diff --git a/python/docs/locators.mdx b/python/docs/locators.mdx index ae803986613..0326b44caaf 100644 --- a/python/docs/locators.mdx +++ b/python/docs/locators.mdx @@ -5,7 +5,7 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/mock.mdx b/python/docs/mock.mdx index ff9cd4bad12..8a08803b7cb 100644 --- a/python/docs/mock.mdx +++ b/python/docs/mock.mdx @@ -5,7 +5,7 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/navigations.mdx b/python/docs/navigations.mdx index 761509adeaf..3638c259b94 100644 --- a/python/docs/navigations.mdx +++ b/python/docs/navigations.mdx @@ -5,7 +5,7 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/network.mdx b/python/docs/network.mdx index f5a6fbcb641..0d9fd64c55f 100644 --- a/python/docs/network.mdx +++ b/python/docs/network.mdx @@ -5,7 +5,7 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/other-locators.mdx b/python/docs/other-locators.mdx index b065398b847..a7d4f5bd78b 100644 --- a/python/docs/other-locators.mdx +++ b/python/docs/other-locators.mdx @@ -5,7 +5,7 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/pages.mdx b/python/docs/pages.mdx index 6f5a7512ceb..f4f020b337a 100644 --- a/python/docs/pages.mdx +++ b/python/docs/pages.mdx @@ -5,7 +5,7 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Pages diff --git a/python/docs/pom.mdx b/python/docs/pom.mdx index 91361725ec2..2784b23fbe8 100644 --- a/python/docs/pom.mdx +++ b/python/docs/pom.mdx @@ -5,7 +5,7 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/release-notes.mdx b/python/docs/release-notes.mdx index 2ae9b232e5c..7a6484ba355 100644 --- a/python/docs/release-notes.mdx +++ b/python/docs/release-notes.mdx @@ -6,7 +6,7 @@ toc_max_heading_level: 2 import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Version 1.54 diff --git a/python/docs/running-tests.mdx b/python/docs/running-tests.mdx index f444c589dfc..12785f08e3f 100644 --- a/python/docs/running-tests.mdx +++ b/python/docs/running-tests.mdx @@ -5,7 +5,7 @@ title: "Running and debugging tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/screenshots.mdx b/python/docs/screenshots.mdx index 74d919949d3..cdc96b1cfee 100644 --- a/python/docs/screenshots.mdx +++ b/python/docs/screenshots.mdx @@ -5,7 +5,7 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/selenium-grid.mdx b/python/docs/selenium-grid.mdx index 9bfebd0cc5b..51953bee4f4 100644 --- a/python/docs/selenium-grid.mdx +++ b/python/docs/selenium-grid.mdx @@ -5,7 +5,7 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/test-assertions.mdx b/python/docs/test-assertions.mdx index 1fb8f9cf601..7d7c5369fac 100644 --- a/python/docs/test-assertions.mdx +++ b/python/docs/test-assertions.mdx @@ -5,7 +5,7 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## List of assertions diff --git a/python/docs/test-runners.mdx b/python/docs/test-runners.mdx index 84d2145cba1..878eb506cf6 100644 --- a/python/docs/test-runners.mdx +++ b/python/docs/test-runners.mdx @@ -5,7 +5,7 @@ title: "Pytest Plugin Reference" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/touch-events.mdx b/python/docs/touch-events.mdx index 0accd3b11eb..f6bd40ea3ef 100644 --- a/python/docs/touch-events.mdx +++ b/python/docs/touch-events.mdx @@ -5,7 +5,7 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/trace-viewer-intro.mdx b/python/docs/trace-viewer-intro.mdx index 48884fa2cb3..e4cc5056fd9 100644 --- a/python/docs/trace-viewer-intro.mdx +++ b/python/docs/trace-viewer-intro.mdx @@ -5,7 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/trace-viewer.mdx b/python/docs/trace-viewer.mdx index 7e10f4c486b..37823d0bbf5 100644 --- a/python/docs/trace-viewer.mdx +++ b/python/docs/trace-viewer.mdx @@ -5,7 +5,7 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/python/docs/videos.mdx b/python/docs/videos.mdx index ae04330710d..b9ac7c9c403 100644 --- a/python/docs/videos.mdx +++ b/python/docs/videos.mdx @@ -5,7 +5,7 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/webview2.mdx b/python/docs/webview2.mdx index 28b4238286f..4d78a9e7bba 100644 --- a/python/docs/webview2.mdx +++ b/python/docs/webview2.mdx @@ -5,7 +5,7 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/writing-tests.mdx b/python/docs/writing-tests.mdx index abef3d04157..fff7b161a88 100644 --- a/python/docs/writing-tests.mdx +++ b/python/docs/writing-tests.mdx @@ -5,7 +5,7 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage'; +import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docusaurus.config.ts b/python/docusaurus.config.ts index 1bb4a0e504c..a6ca1ca4b36 100644 --- a/python/docusaurus.config.ts +++ b/python/docusaurus.config.ts @@ -34,6 +34,15 @@ let plugins = [ }), ], require.resolve("@docusaurus/plugin-content-pages"), + [ + require.resolve('@docusaurus/plugin-ideal-image'), + { + max: 1024, + min: 640, + steps: 4, + disableInDev: false + } + ], ]; if (isProd) { diff --git a/src/generator.js b/src/generator.js index dbddbe5d515..5f3932fe5b8 100644 --- a/src/generator.js +++ b/src/generator.js @@ -146,6 +146,7 @@ title: "${this.formatter.rewriteClassTitle?.(clazz.name) || clazz.name}" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; +import ProgressiveImage from '@theme/ProgressiveImage'; `}); if (clazz.deprecated) { result.push({ @@ -450,7 +451,7 @@ ${this.documentation.renderLinksInText(member.discouraged)} import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@site/src/components/ProgressiveImage';`); +import ProgressiveImage from '@theme/ProgressiveImage';`); writeFileSyncCached(path.join(this.outDir, outName), this.rewriteVersion(this.mdxLinks(output))); } diff --git a/src/components/ProgressiveImage/index.tsx b/src/theme/ProgressiveImage/index.tsx similarity index 82% rename from src/components/ProgressiveImage/index.tsx rename to src/theme/ProgressiveImage/index.tsx index 642c84eca7e..36c25a3910e 100644 --- a/src/components/ProgressiveImage/index.tsx +++ b/src/theme/ProgressiveImage/index.tsx @@ -14,8 +14,8 @@ * limitations under the License. */ -import React from 'react'; -import Image from '@theme/IdealImageLegacy'; +import React from "react"; +import Image from "@theme-original/IdealImageLegacy"; function shouldAutoDownload() { return true; @@ -23,13 +23,13 @@ function shouldAutoDownload() { // This is duplicated from plugin-ideal-image in order to always enable automatic download // image prop is injected by the plugin-ideal-image Webpack plugin -function ProgressiveImage({ image: { preSrc, src }, alt }) { +export default function ProgressiveImage({ image: { preSrc, src }, alt }) { return ( {alt} ({ ...image, @@ -39,5 +39,3 @@ function ProgressiveImage({ image: { preSrc, src }, alt }) { /> ); } - -export default ProgressiveImage; From c7094810cd164d873ddcff0f1f219b7977c38436 Mon Sep 17 00:00:00 2001 From: Adam Gastineau Date: Fri, 1 Aug 2025 06:30:58 -0700 Subject: [PATCH 5/5] Drop unused width/height --- src/theme/ProgressiveImage/index.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/theme/ProgressiveImage/index.tsx b/src/theme/ProgressiveImage/index.tsx index 36c25a3910e..d5488168b2e 100644 --- a/src/theme/ProgressiveImage/index.tsx +++ b/src/theme/ProgressiveImage/index.tsx @@ -28,8 +28,6 @@ export default function ProgressiveImage({ image: { preSrc, src }, alt }) { {alt} ({ ...image,