diff --git a/dotnet/docs/actionability.mdx b/dotnet/docs/actionability.mdx index d12555758f3..62de3c36f0a 100644 --- a/dotnet/docs/actionability.mdx +++ b/dotnet/docs/actionability.mdx @@ -5,7 +5,6 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/api-testing.mdx b/dotnet/docs/api-testing.mdx index caf826b691c..53f8f232501 100644 --- a/dotnet/docs/api-testing.mdx +++ b/dotnet/docs/api-testing.mdx @@ -5,7 +5,6 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/api/class-accessibility.mdx b/dotnet/docs/api/class-accessibility.mdx index b989859c06e..be54f8d7c9e 100644 --- a/dotnet/docs/api/class-accessibility.mdx +++ b/dotnet/docs/api/class-accessibility.mdx @@ -5,7 +5,6 @@ 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 5af8dd1c77c..01989086592 100644 --- a/dotnet/docs/api/class-apirequest.mdx +++ b/dotnet/docs/api/class-apirequest.mdx @@ -5,7 +5,6 @@ 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 7aac00a3fc4..b583a1bf242 100644 --- a/dotnet/docs/api/class-apirequestcontext.mdx +++ b/dotnet/docs/api/class-apirequestcontext.mdx @@ -5,7 +5,6 @@ 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 fe29aa32cee..d18b3c8497b 100644 --- a/dotnet/docs/api/class-apiresponse.mdx +++ b/dotnet/docs/api/class-apiresponse.mdx @@ -5,7 +5,6 @@ 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 bb51496e1a8..b003204b53c 100644 --- a/dotnet/docs/api/class-apiresponseassertions.mdx +++ b/dotnet/docs/api/class-apiresponseassertions.mdx @@ -5,7 +5,6 @@ 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 032996c48f7..170d2ad2ac8 100644 --- a/dotnet/docs/api/class-browser.mdx +++ b/dotnet/docs/api/class-browser.mdx @@ -5,7 +5,6 @@ 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 6465fdd3b54..7ccec4d86a9 100644 --- a/dotnet/docs/api/class-browsercontext.mdx +++ b/dotnet/docs/api/class-browsercontext.mdx @@ -5,7 +5,6 @@ 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 b576416d2b6..9ccd0f5dd15 100644 --- a/dotnet/docs/api/class-browsertype.mdx +++ b/dotnet/docs/api/class-browsertype.mdx @@ -5,7 +5,6 @@ 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 5ebb93bc6ba..fcf218add1a 100644 --- a/dotnet/docs/api/class-cdpsession.mdx +++ b/dotnet/docs/api/class-cdpsession.mdx @@ -5,7 +5,6 @@ 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 2db7f37d770..018340872b1 100644 --- a/dotnet/docs/api/class-cdpsessionevent.mdx +++ b/dotnet/docs/api/class-cdpsessionevent.mdx @@ -5,7 +5,6 @@ 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 713c7a0a2bf..ed4ad039663 100644 --- a/dotnet/docs/api/class-clock.mdx +++ b/dotnet/docs/api/class-clock.mdx @@ -5,7 +5,6 @@ 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 424a5880baf..d468abddc16 100644 --- a/dotnet/docs/api/class-consolemessage.mdx +++ b/dotnet/docs/api/class-consolemessage.mdx @@ -5,7 +5,6 @@ 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 e8f598a308c..0c239aea28b 100644 --- a/dotnet/docs/api/class-dialog.mdx +++ b/dotnet/docs/api/class-dialog.mdx @@ -5,7 +5,6 @@ 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 a3cd0571e21..1ead454fc71 100644 --- a/dotnet/docs/api/class-download.mdx +++ b/dotnet/docs/api/class-download.mdx @@ -5,7 +5,6 @@ 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 247890d904d..406f1bb3a5c 100644 --- a/dotnet/docs/api/class-elementhandle.mdx +++ b/dotnet/docs/api/class-elementhandle.mdx @@ -5,7 +5,6 @@ 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 e9efa17d517..df3ad9642ab 100644 --- a/dotnet/docs/api/class-filechooser.mdx +++ b/dotnet/docs/api/class-filechooser.mdx @@ -5,7 +5,6 @@ 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 bb1ff1ff8e6..7419df2b6f5 100644 --- a/dotnet/docs/api/class-formdata.mdx +++ b/dotnet/docs/api/class-formdata.mdx @@ -5,7 +5,6 @@ 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 2f9d8d91b31..3b49f0a7f87 100644 --- a/dotnet/docs/api/class-frame.mdx +++ b/dotnet/docs/api/class-frame.mdx @@ -5,7 +5,6 @@ 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 d9574aa8ed2..df3f9feee08 100644 --- a/dotnet/docs/api/class-framelocator.mdx +++ b/dotnet/docs/api/class-framelocator.mdx @@ -5,7 +5,6 @@ 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 f3707490794..b289757ebad 100644 --- a/dotnet/docs/api/class-jshandle.mdx +++ b/dotnet/docs/api/class-jshandle.mdx @@ -5,7 +5,6 @@ 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 c82c326ec81..29c525e9cb2 100644 --- a/dotnet/docs/api/class-keyboard.mdx +++ b/dotnet/docs/api/class-keyboard.mdx @@ -5,7 +5,6 @@ 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 46d4d580d63..62f77c78daa 100644 --- a/dotnet/docs/api/class-locator.mdx +++ b/dotnet/docs/api/class-locator.mdx @@ -5,7 +5,6 @@ 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 07979a6c83b..5d69ecf63ff 100644 --- a/dotnet/docs/api/class-locatorassertions.mdx +++ b/dotnet/docs/api/class-locatorassertions.mdx @@ -5,7 +5,6 @@ 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 eb18625877c..ace213b7186 100644 --- a/dotnet/docs/api/class-mouse.mdx +++ b/dotnet/docs/api/class-mouse.mdx @@ -5,7 +5,6 @@ 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 e3f89690463..31b149e25b4 100644 --- a/dotnet/docs/api/class-page.mdx +++ b/dotnet/docs/api/class-page.mdx @@ -5,7 +5,6 @@ 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 bbd6921715c..9952a82d1fc 100644 --- a/dotnet/docs/api/class-pageassertions.mdx +++ b/dotnet/docs/api/class-pageassertions.mdx @@ -5,7 +5,6 @@ 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 80d716b4846..4b552226802 100644 --- a/dotnet/docs/api/class-playwright.mdx +++ b/dotnet/docs/api/class-playwright.mdx @@ -5,7 +5,6 @@ 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 731359e6ca9..cee9cdd51ca 100644 --- a/dotnet/docs/api/class-playwrightassertions.mdx +++ b/dotnet/docs/api/class-playwrightassertions.mdx @@ -5,7 +5,6 @@ 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 9e42852d09c..a346c9fe0a1 100644 --- a/dotnet/docs/api/class-request.mdx +++ b/dotnet/docs/api/class-request.mdx @@ -5,7 +5,6 @@ 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 5d51fc8756a..3b4f13d59d0 100644 --- a/dotnet/docs/api/class-response.mdx +++ b/dotnet/docs/api/class-response.mdx @@ -5,7 +5,6 @@ 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 5f8e803f5e4..78748892afd 100644 --- a/dotnet/docs/api/class-route.mdx +++ b/dotnet/docs/api/class-route.mdx @@ -5,7 +5,6 @@ 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 84096406f67..efee1d802b6 100644 --- a/dotnet/docs/api/class-selectors.mdx +++ b/dotnet/docs/api/class-selectors.mdx @@ -5,7 +5,6 @@ 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 723d1b04650..11864b08d11 100644 --- a/dotnet/docs/api/class-timeouterror.mdx +++ b/dotnet/docs/api/class-timeouterror.mdx @@ -5,7 +5,6 @@ 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 5ed2ffe0d9d..9a0fe300c8f 100644 --- a/dotnet/docs/api/class-touchscreen.mdx +++ b/dotnet/docs/api/class-touchscreen.mdx @@ -5,7 +5,6 @@ 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 9ed1d08bae2..da363d22ed2 100644 --- a/dotnet/docs/api/class-tracing.mdx +++ b/dotnet/docs/api/class-tracing.mdx @@ -5,7 +5,6 @@ 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 ece589175ee..a3d0ef4a679 100644 --- a/dotnet/docs/api/class-video.mdx +++ b/dotnet/docs/api/class-video.mdx @@ -5,7 +5,6 @@ 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 2eda5340524..bbe73bf2d2b 100644 --- a/dotnet/docs/api/class-weberror.mdx +++ b/dotnet/docs/api/class-weberror.mdx @@ -5,7 +5,6 @@ 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 6a068700f73..8ca4fb4a0c9 100644 --- a/dotnet/docs/api/class-websocket.mdx +++ b/dotnet/docs/api/class-websocket.mdx @@ -5,7 +5,6 @@ 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 ee59e81ab76..24903141f97 100644 --- a/dotnet/docs/api/class-websocketframe.mdx +++ b/dotnet/docs/api/class-websocketframe.mdx @@ -5,7 +5,6 @@ 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 5958716f5ed..0c0d8b2449b 100644 --- a/dotnet/docs/api/class-websocketroute.mdx +++ b/dotnet/docs/api/class-websocketroute.mdx @@ -5,7 +5,6 @@ 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 d16d830b939..11239d8db59 100644 --- a/dotnet/docs/api/class-worker.mdx +++ b/dotnet/docs/api/class-worker.mdx @@ -5,7 +5,6 @@ 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 ac3bc8b1384..60443a16e55 100644 --- a/dotnet/docs/aria-snapshots.mdx +++ b/dotnet/docs/aria-snapshots.mdx @@ -5,7 +5,6 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 241a9a792fb..b852bb26e1c 100644 --- a/dotnet/docs/auth.mdx +++ b/dotnet/docs/auth.mdx @@ -5,7 +5,6 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/browser-contexts.mdx b/dotnet/docs/browser-contexts.mdx index cf0a0c0035b..6ecd9a8c626 100644 --- a/dotnet/docs/browser-contexts.mdx +++ b/dotnet/docs/browser-contexts.mdx @@ -5,7 +5,6 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/browsers.mdx b/dotnet/docs/browsers.mdx index bf8638f5b62..56090e76f05 100644 --- a/dotnet/docs/browsers.mdx +++ b/dotnet/docs/browsers.mdx @@ -5,7 +5,6 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/ci-intro.mdx b/dotnet/docs/ci-intro.mdx index 650f034908d..c8a4abbe3e7 100644 --- a/dotnet/docs/ci-intro.mdx +++ b/dotnet/docs/ci-intro.mdx @@ -5,7 +5,6 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -84,7 +83,7 @@ Clicking on the workflow run shows you all the actions that GitHub performed and You can upload Traces which get created on your CI like GitHub Actions as artifacts. This requires [starting and stopping the trace](./trace-viewer-intro#recording-a-trace). We recommend only recording traces for failing tests. Once your traces have been uploaded to CI, they can then be downloaded and opened using [trace.playwright.dev](https://trace.playwright.dev), which is a statically hosted variant of the Trace Viewer. You can upload trace files using drag and drop. ###### - +![playwright trace viewer](../images/getting-started/trace-viewer-failed-test.png) ## Properly handling Secrets diff --git a/dotnet/docs/ci.mdx b/dotnet/docs/ci.mdx index 887b0479fc7..bd7fb4c8306 100644 --- a/dotnet/docs/ci.mdx +++ b/dotnet/docs/ci.mdx @@ -5,7 +5,6 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/clock.mdx b/dotnet/docs/clock.mdx index 28de6df39d8..07adfe38211 100644 --- a/dotnet/docs/clock.mdx +++ b/dotnet/docs/clock.mdx @@ -5,7 +5,6 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 2c90212ac51..5ab0448b62d 100644 --- a/dotnet/docs/codegen-intro.mdx +++ b/dotnet/docs/codegen-intro.mdx @@ -5,7 +5,6 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -35,7 +34,7 @@ With the test generator you can record: * `'assert value'` to assert that an element has a specific value ###### - +![recording a test](../images/getting-started/record-test-csharp.png) ###### When you finish interacting with the page, press the `'record'` button to stop recording and use the `'copy'` button to copy the generated code to your editor. @@ -54,7 +53,7 @@ You can generate [locators](/locators.mdx) with the test generator. * Use the copy button to copy the locator and paste it into your code ###### - +![picking a locator](../images/getting-started/pick-locator-csharp.png) ### Emulation diff --git a/dotnet/docs/codegen.mdx b/dotnet/docs/codegen.mdx index 13b6b7a3a0b..90f4855ac72 100644 --- a/dotnet/docs/codegen.mdx +++ b/dotnet/docs/codegen.mdx @@ -5,7 +5,6 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 b43913d25a0..83c159b1002 100644 --- a/dotnet/docs/debug.mdx +++ b/dotnet/docs/debug.mdx @@ -5,7 +5,6 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Playwright Inspector diff --git a/dotnet/docs/dialogs.mdx b/dotnet/docs/dialogs.mdx index 5bc777df326..4a330b54729 100644 --- a/dotnet/docs/dialogs.mdx +++ b/dotnet/docs/dialogs.mdx @@ -5,7 +5,6 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/docker.mdx b/dotnet/docs/docker.mdx index 724e9165744..23db20cf317 100644 --- a/dotnet/docs/docker.mdx +++ b/dotnet/docs/docker.mdx @@ -5,7 +5,6 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/downloads.mdx b/dotnet/docs/downloads.mdx index 99834b7cbe9..4b2511f751a 100644 --- a/dotnet/docs/downloads.mdx +++ b/dotnet/docs/downloads.mdx @@ -5,7 +5,6 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/emulation.mdx b/dotnet/docs/emulation.mdx index 019d3f0315d..c5a4d0e4443 100644 --- a/dotnet/docs/emulation.mdx +++ b/dotnet/docs/emulation.mdx @@ -5,7 +5,6 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/evaluating.mdx b/dotnet/docs/evaluating.mdx index 314f1bcd2ff..2b46f35f916 100644 --- a/dotnet/docs/evaluating.mdx +++ b/dotnet/docs/evaluating.mdx @@ -5,7 +5,6 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/events.mdx b/dotnet/docs/events.mdx index d4b10cf2d38..fcc18829fd4 100644 --- a/dotnet/docs/events.mdx +++ b/dotnet/docs/events.mdx @@ -5,7 +5,6 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/extensibility.mdx b/dotnet/docs/extensibility.mdx index 3d0c5a1ab4d..1e4f3948000 100644 --- a/dotnet/docs/extensibility.mdx +++ b/dotnet/docs/extensibility.mdx @@ -5,7 +5,6 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Custom selector engines diff --git a/dotnet/docs/frames.mdx b/dotnet/docs/frames.mdx index 9dfc8a4565a..84797a050e9 100644 --- a/dotnet/docs/frames.mdx +++ b/dotnet/docs/frames.mdx @@ -5,7 +5,6 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/handles.mdx b/dotnet/docs/handles.mdx index 8b295b098a5..6a8be5b34ce 100644 --- a/dotnet/docs/handles.mdx +++ b/dotnet/docs/handles.mdx @@ -5,7 +5,6 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/input.mdx b/dotnet/docs/input.mdx index d9c42227d97..61f5a13abcf 100644 --- a/dotnet/docs/input.mdx +++ b/dotnet/docs/input.mdx @@ -5,7 +5,6 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/intro.mdx b/dotnet/docs/intro.mdx index 2e9b7fcb158..e3fb73868ff 100644 --- a/dotnet/docs/intro.mdx +++ b/dotnet/docs/intro.mdx @@ -5,7 +5,6 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/languages.mdx b/dotnet/docs/languages.mdx index c960f672af7..5221e84969c 100644 --- a/dotnet/docs/languages.mdx +++ b/dotnet/docs/languages.mdx @@ -5,7 +5,6 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/library.mdx b/dotnet/docs/library.mdx index 6fb52d6b810..1738d4ff5e1 100644 --- a/dotnet/docs/library.mdx +++ b/dotnet/docs/library.mdx @@ -5,7 +5,6 @@ title: "Getting started - Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/locators.mdx b/dotnet/docs/locators.mdx index 428f37e816c..e961cb4d71a 100644 --- a/dotnet/docs/locators.mdx +++ b/dotnet/docs/locators.mdx @@ -5,7 +5,6 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/mock.mdx b/dotnet/docs/mock.mdx index fa848fec502..e5eda9b5e8d 100644 --- a/dotnet/docs/mock.mdx +++ b/dotnet/docs/mock.mdx @@ -5,7 +5,6 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/navigations.mdx b/dotnet/docs/navigations.mdx index a055e83aa0c..d60331e1370 100644 --- a/dotnet/docs/navigations.mdx +++ b/dotnet/docs/navigations.mdx @@ -5,7 +5,6 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/network.mdx b/dotnet/docs/network.mdx index 71dc7418188..512847ea620 100644 --- a/dotnet/docs/network.mdx +++ b/dotnet/docs/network.mdx @@ -5,7 +5,6 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/other-locators.mdx b/dotnet/docs/other-locators.mdx index 559bf545679..db5b844e308 100644 --- a/dotnet/docs/other-locators.mdx +++ b/dotnet/docs/other-locators.mdx @@ -5,7 +5,6 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/pages.mdx b/dotnet/docs/pages.mdx index 1d0356e9e55..beddf404289 100644 --- a/dotnet/docs/pages.mdx +++ b/dotnet/docs/pages.mdx @@ -5,7 +5,6 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Pages diff --git a/dotnet/docs/pom.mdx b/dotnet/docs/pom.mdx index 897fce0a5cf..da302a6704a 100644 --- a/dotnet/docs/pom.mdx +++ b/dotnet/docs/pom.mdx @@ -5,7 +5,6 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/release-notes.mdx b/dotnet/docs/release-notes.mdx index 50444db2dbb..8035fabe462 100644 --- a/dotnet/docs/release-notes.mdx +++ b/dotnet/docs/release-notes.mdx @@ -6,7 +6,6 @@ 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 '@theme/ProgressiveImage'; ## Version 1.55 diff --git a/dotnet/docs/running-tests.mdx b/dotnet/docs/running-tests.mdx index 4f9b3aa6034..4616c3891cd 100644 --- a/dotnet/docs/running-tests.mdx +++ b/dotnet/docs/running-tests.mdx @@ -5,7 +5,6 @@ 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 '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/screenshots.mdx b/dotnet/docs/screenshots.mdx index 42306845089..c72ce7fdfec 100644 --- a/dotnet/docs/screenshots.mdx +++ b/dotnet/docs/screenshots.mdx @@ -5,7 +5,6 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/selenium-grid.mdx b/dotnet/docs/selenium-grid.mdx index 0a65242b49a..36dd5988d41 100644 --- a/dotnet/docs/selenium-grid.mdx +++ b/dotnet/docs/selenium-grid.mdx @@ -5,7 +5,6 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/test-assertions.mdx b/dotnet/docs/test-assertions.mdx index 9a4ff70c8ef..8ae268c608a 100644 --- a/dotnet/docs/test-assertions.mdx +++ b/dotnet/docs/test-assertions.mdx @@ -5,7 +5,6 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## List of assertions diff --git a/dotnet/docs/test-runners.mdx b/dotnet/docs/test-runners.mdx index b2d2c0d9fd6..bc81bdabd28 100644 --- a/dotnet/docs/test-runners.mdx +++ b/dotnet/docs/test-runners.mdx @@ -5,7 +5,6 @@ title: "Test Runners" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/touch-events.mdx b/dotnet/docs/touch-events.mdx index a323c123191..247e46af8f8 100644 --- a/dotnet/docs/touch-events.mdx +++ b/dotnet/docs/touch-events.mdx @@ -5,7 +5,6 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/trace-viewer-intro.mdx b/dotnet/docs/trace-viewer-intro.mdx index 7e6d37d963f..94b78a860d7 100644 --- a/dotnet/docs/trace-viewer-intro.mdx +++ b/dotnet/docs/trace-viewer-intro.mdx @@ -5,7 +5,6 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/trace-viewer.mdx b/dotnet/docs/trace-viewer.mdx index 6161c9ecb8b..2f0165d2a0a 100644 --- a/dotnet/docs/trace-viewer.mdx +++ b/dotnet/docs/trace-viewer.mdx @@ -5,7 +5,6 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 61ddb9ea35f..4c1e43e1390 100644 --- a/dotnet/docs/videos.mdx +++ b/dotnet/docs/videos.mdx @@ -5,7 +5,6 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/webview2.mdx b/dotnet/docs/webview2.mdx index 282f01a0820..e2a47effd31 100644 --- a/dotnet/docs/webview2.mdx +++ b/dotnet/docs/webview2.mdx @@ -5,7 +5,6 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/dotnet/docs/writing-tests.mdx b/dotnet/docs/writing-tests.mdx index f59a6df14bf..d7cb0b27af1 100644 --- a/dotnet/docs/writing-tests.mdx +++ b/dotnet/docs/writing-tests.mdx @@ -5,7 +5,6 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/accessibility-testing.mdx b/java/docs/accessibility-testing.mdx index 36c964b1915..e6f0cd9d490 100644 --- a/java/docs/accessibility-testing.mdx +++ b/java/docs/accessibility-testing.mdx @@ -5,7 +5,6 @@ title: "Accessibility testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/actionability.mdx b/java/docs/actionability.mdx index 85c3f019e08..b56e8201110 100644 --- a/java/docs/actionability.mdx +++ b/java/docs/actionability.mdx @@ -5,7 +5,6 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/api-testing.mdx b/java/docs/api-testing.mdx index fceefe0fb51..9e9e31ddaef 100644 --- a/java/docs/api-testing.mdx +++ b/java/docs/api-testing.mdx @@ -5,7 +5,6 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/api/class-apirequest.mdx b/java/docs/api/class-apirequest.mdx index cf872cbe1d7..5a02eeabde5 100644 --- a/java/docs/api/class-apirequest.mdx +++ b/java/docs/api/class-apirequest.mdx @@ -5,7 +5,6 @@ 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 ed3f5ddaa06..e794937f0c4 100644 --- a/java/docs/api/class-apirequestcontext.mdx +++ b/java/docs/api/class-apirequestcontext.mdx @@ -5,7 +5,6 @@ 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 68c60d291c2..9eab4228ebd 100644 --- a/java/docs/api/class-apiresponse.mdx +++ b/java/docs/api/class-apiresponse.mdx @@ -5,7 +5,6 @@ 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 e09e980ebd7..b12c477f99c 100644 --- a/java/docs/api/class-apiresponseassertions.mdx +++ b/java/docs/api/class-apiresponseassertions.mdx @@ -5,7 +5,6 @@ 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 8cecdb8f6c5..36a1463dd9a 100644 --- a/java/docs/api/class-browser.mdx +++ b/java/docs/api/class-browser.mdx @@ -5,7 +5,6 @@ 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 5963c191cca..045c98910a7 100644 --- a/java/docs/api/class-browsercontext.mdx +++ b/java/docs/api/class-browsercontext.mdx @@ -5,7 +5,6 @@ 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 7c533617e98..29864e91827 100644 --- a/java/docs/api/class-browsertype.mdx +++ b/java/docs/api/class-browsertype.mdx @@ -5,7 +5,6 @@ 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 aabf3f76f30..85925a0830f 100644 --- a/java/docs/api/class-cdpsession.mdx +++ b/java/docs/api/class-cdpsession.mdx @@ -5,7 +5,6 @@ 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 e201c8a5a47..8524d9b7d75 100644 --- a/java/docs/api/class-clock.mdx +++ b/java/docs/api/class-clock.mdx @@ -5,7 +5,6 @@ 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 1bcb021928b..a545927a9ef 100644 --- a/java/docs/api/class-consolemessage.mdx +++ b/java/docs/api/class-consolemessage.mdx @@ -5,7 +5,6 @@ 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 e2cb355274e..a885c843673 100644 --- a/java/docs/api/class-dialog.mdx +++ b/java/docs/api/class-dialog.mdx @@ -5,7 +5,6 @@ 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 c5362efc07e..073088ca1bf 100644 --- a/java/docs/api/class-download.mdx +++ b/java/docs/api/class-download.mdx @@ -5,7 +5,6 @@ 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 7d07e1a65e9..257924f1ce6 100644 --- a/java/docs/api/class-elementhandle.mdx +++ b/java/docs/api/class-elementhandle.mdx @@ -5,7 +5,6 @@ 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 453264f4c6c..e0fea5a321e 100644 --- a/java/docs/api/class-filechooser.mdx +++ b/java/docs/api/class-filechooser.mdx @@ -5,7 +5,6 @@ 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 805daee883a..c438d104382 100644 --- a/java/docs/api/class-formdata.mdx +++ b/java/docs/api/class-formdata.mdx @@ -5,7 +5,6 @@ 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 3f060ee8030..c33a3ae8564 100644 --- a/java/docs/api/class-frame.mdx +++ b/java/docs/api/class-frame.mdx @@ -5,7 +5,6 @@ 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 e5e8365f4ab..78eedabc22c 100644 --- a/java/docs/api/class-framelocator.mdx +++ b/java/docs/api/class-framelocator.mdx @@ -5,7 +5,6 @@ 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 944c7ca7493..7754fe2685f 100644 --- a/java/docs/api/class-jshandle.mdx +++ b/java/docs/api/class-jshandle.mdx @@ -5,7 +5,6 @@ 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 db44cc086b9..d4e332a3665 100644 --- a/java/docs/api/class-keyboard.mdx +++ b/java/docs/api/class-keyboard.mdx @@ -5,7 +5,6 @@ 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 3a79e400623..2aca2d1d148 100644 --- a/java/docs/api/class-locator.mdx +++ b/java/docs/api/class-locator.mdx @@ -5,7 +5,6 @@ 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 a03581311b3..53e31f6e3c4 100644 --- a/java/docs/api/class-locatorassertions.mdx +++ b/java/docs/api/class-locatorassertions.mdx @@ -5,7 +5,6 @@ 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 865de2b20c2..2ce1015698f 100644 --- a/java/docs/api/class-mouse.mdx +++ b/java/docs/api/class-mouse.mdx @@ -5,7 +5,6 @@ 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 c1d1a4d9026..3179ceb06fb 100644 --- a/java/docs/api/class-page.mdx +++ b/java/docs/api/class-page.mdx @@ -5,7 +5,6 @@ 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 432b87fd3e2..887e0bd5fe4 100644 --- a/java/docs/api/class-pageassertions.mdx +++ b/java/docs/api/class-pageassertions.mdx @@ -5,7 +5,6 @@ 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 6314262a700..53b175db645 100644 --- a/java/docs/api/class-playwright.mdx +++ b/java/docs/api/class-playwright.mdx @@ -5,7 +5,6 @@ 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 f8dff25a211..04d27460b3d 100644 --- a/java/docs/api/class-playwrightassertions.mdx +++ b/java/docs/api/class-playwrightassertions.mdx @@ -5,7 +5,6 @@ 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 cfc359e06fe..37c0a20db5b 100644 --- a/java/docs/api/class-playwrightexception.mdx +++ b/java/docs/api/class-playwrightexception.mdx @@ -5,7 +5,6 @@ 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 566962850e1..11d2f87c357 100644 --- a/java/docs/api/class-request.mdx +++ b/java/docs/api/class-request.mdx @@ -5,7 +5,6 @@ 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 c6f217f360f..59d44b4e624 100644 --- a/java/docs/api/class-requestoptions.mdx +++ b/java/docs/api/class-requestoptions.mdx @@ -5,7 +5,6 @@ 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 641bc47c202..a20dc1b5573 100644 --- a/java/docs/api/class-response.mdx +++ b/java/docs/api/class-response.mdx @@ -5,7 +5,6 @@ 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 5e71c317383..a50646b90a0 100644 --- a/java/docs/api/class-route.mdx +++ b/java/docs/api/class-route.mdx @@ -5,7 +5,6 @@ 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 388c57b4269..2d4b2c13a3c 100644 --- a/java/docs/api/class-selectors.mdx +++ b/java/docs/api/class-selectors.mdx @@ -5,7 +5,6 @@ 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 b13455a563f..cb9c7aabc13 100644 --- a/java/docs/api/class-timeouterror.mdx +++ b/java/docs/api/class-timeouterror.mdx @@ -5,7 +5,6 @@ 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 540e9ec8032..6159d2422d1 100644 --- a/java/docs/api/class-touchscreen.mdx +++ b/java/docs/api/class-touchscreen.mdx @@ -5,7 +5,6 @@ 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 94cabc29618..844c09f1ca9 100644 --- a/java/docs/api/class-tracing.mdx +++ b/java/docs/api/class-tracing.mdx @@ -5,7 +5,6 @@ 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 f0a2698150b..e88f02a5b01 100644 --- a/java/docs/api/class-video.mdx +++ b/java/docs/api/class-video.mdx @@ -5,7 +5,6 @@ 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 a557739f19f..90796f6d65b 100644 --- a/java/docs/api/class-weberror.mdx +++ b/java/docs/api/class-weberror.mdx @@ -5,7 +5,6 @@ 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 d6fca617d1d..d1e0e9e0944 100644 --- a/java/docs/api/class-websocket.mdx +++ b/java/docs/api/class-websocket.mdx @@ -5,7 +5,6 @@ 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 3809999e590..a9eb945cd98 100644 --- a/java/docs/api/class-websocketframe.mdx +++ b/java/docs/api/class-websocketframe.mdx @@ -5,7 +5,6 @@ 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 307dd25ec96..204636c059d 100644 --- a/java/docs/api/class-websocketroute.mdx +++ b/java/docs/api/class-websocketroute.mdx @@ -5,7 +5,6 @@ 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 686fc6343aa..f387780e844 100644 --- a/java/docs/api/class-worker.mdx +++ b/java/docs/api/class-worker.mdx @@ -5,7 +5,6 @@ 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 00210824f22..df92b9876cb 100644 --- a/java/docs/aria-snapshots.mdx +++ b/java/docs/aria-snapshots.mdx @@ -5,7 +5,6 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 9030cc97c3d..2a0d6f5f037 100644 --- a/java/docs/auth.mdx +++ b/java/docs/auth.mdx @@ -5,7 +5,6 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/browser-contexts.mdx b/java/docs/browser-contexts.mdx index 530fd6d2bd5..2ad715392d4 100644 --- a/java/docs/browser-contexts.mdx +++ b/java/docs/browser-contexts.mdx @@ -5,7 +5,6 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/browsers.mdx b/java/docs/browsers.mdx index 7d53ba5e1d2..972f6e90796 100644 --- a/java/docs/browsers.mdx +++ b/java/docs/browsers.mdx @@ -5,7 +5,6 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/ci-intro.mdx b/java/docs/ci-intro.mdx index 7309574193e..494caa884a3 100644 --- a/java/docs/ci-intro.mdx +++ b/java/docs/ci-intro.mdx @@ -5,7 +5,6 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -79,7 +78,7 @@ Clicking on the workflow run shows you all the actions that GitHub performed and [trace.playwright.dev](https://trace.playwright.dev) is a statically hosted variant of the Trace Viewer. You can upload trace files using drag and drop. - +![playwright trace viewer](../images/getting-started/trace-viewer-failed-test.png) ## Properly handling Secrets diff --git a/java/docs/ci.mdx b/java/docs/ci.mdx index f20f5f06d97..5b5e4f63e4e 100644 --- a/java/docs/ci.mdx +++ b/java/docs/ci.mdx @@ -5,7 +5,6 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/clock.mdx b/java/docs/clock.mdx index ea395dfa335..64655dd6fb1 100644 --- a/java/docs/clock.mdx +++ b/java/docs/clock.mdx @@ -5,7 +5,6 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 98ae1195323..a85f6686518 100644 --- a/java/docs/codegen-intro.mdx +++ b/java/docs/codegen-intro.mdx @@ -5,7 +5,6 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -35,7 +34,7 @@ With the test generator you can record: * `'assert value'` to assert that an element has a specific value ###### - +![recording a test](../images/getting-started/record-test-java.png) ###### When you finish interacting with the page, press the `'record'` button to stop recording and use the `'copy'` button to copy the generated code to your editor. @@ -54,7 +53,7 @@ You can generate [locators](/locators.mdx) with the test generator. * Use the copy button to copy the locator and paste it into your code ###### - +![picking a locator](../images/getting-started/pick-locator-java.png) ### Emulation diff --git a/java/docs/codegen.mdx b/java/docs/codegen.mdx index fa31003521d..1d5ec814d2c 100644 --- a/java/docs/codegen.mdx +++ b/java/docs/codegen.mdx @@ -5,7 +5,6 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 93b08174783..802716ca7cd 100644 --- a/java/docs/debug.mdx +++ b/java/docs/debug.mdx @@ -5,7 +5,6 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Playwright Inspector diff --git a/java/docs/dialogs.mdx b/java/docs/dialogs.mdx index 04802aaeb66..9f984d4bfd5 100644 --- a/java/docs/dialogs.mdx +++ b/java/docs/dialogs.mdx @@ -5,7 +5,6 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/docker.mdx b/java/docs/docker.mdx index 8d967e529d9..4c6f9882394 100644 --- a/java/docs/docker.mdx +++ b/java/docs/docker.mdx @@ -5,7 +5,6 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/downloads.mdx b/java/docs/downloads.mdx index e979439aed6..ef37e8effa6 100644 --- a/java/docs/downloads.mdx +++ b/java/docs/downloads.mdx @@ -5,7 +5,6 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/emulation.mdx b/java/docs/emulation.mdx index 051d97c4056..e9ab0fed3f8 100644 --- a/java/docs/emulation.mdx +++ b/java/docs/emulation.mdx @@ -5,7 +5,6 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/evaluating.mdx b/java/docs/evaluating.mdx index 80bddf49440..c584364e5df 100644 --- a/java/docs/evaluating.mdx +++ b/java/docs/evaluating.mdx @@ -5,7 +5,6 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/events.mdx b/java/docs/events.mdx index 346882f0634..8c3a6624ae8 100644 --- a/java/docs/events.mdx +++ b/java/docs/events.mdx @@ -5,7 +5,6 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/extensibility.mdx b/java/docs/extensibility.mdx index 32027c6ee91..2e2e4efe5f3 100644 --- a/java/docs/extensibility.mdx +++ b/java/docs/extensibility.mdx @@ -5,7 +5,6 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Custom selector engines diff --git a/java/docs/frames.mdx b/java/docs/frames.mdx index 1b149ea7eaa..0e01dba06f1 100644 --- a/java/docs/frames.mdx +++ b/java/docs/frames.mdx @@ -5,7 +5,6 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/handles.mdx b/java/docs/handles.mdx index 01bc3054d39..d8e8c3824dc 100644 --- a/java/docs/handles.mdx +++ b/java/docs/handles.mdx @@ -5,7 +5,6 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/input.mdx b/java/docs/input.mdx index 1031a3a0c8b..1527d1df3db 100644 --- a/java/docs/input.mdx +++ b/java/docs/input.mdx @@ -5,7 +5,6 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/intro.mdx b/java/docs/intro.mdx index fad44a0ac18..34fc124f7a3 100644 --- a/java/docs/intro.mdx +++ b/java/docs/intro.mdx @@ -5,7 +5,6 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/junit.mdx b/java/docs/junit.mdx index ce9c2169a2d..8cd9ee7b427 100644 --- a/java/docs/junit.mdx +++ b/java/docs/junit.mdx @@ -5,7 +5,6 @@ title: "JUnit (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/languages.mdx b/java/docs/languages.mdx index 5e4c8e296e3..572b9365997 100644 --- a/java/docs/languages.mdx +++ b/java/docs/languages.mdx @@ -5,7 +5,6 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/locators.mdx b/java/docs/locators.mdx index c87e0f34454..cbb508e2a73 100644 --- a/java/docs/locators.mdx +++ b/java/docs/locators.mdx @@ -5,7 +5,6 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/mock.mdx b/java/docs/mock.mdx index 66a23c670ba..4e102340503 100644 --- a/java/docs/mock.mdx +++ b/java/docs/mock.mdx @@ -5,7 +5,6 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/navigations.mdx b/java/docs/navigations.mdx index 59e2d1e596b..5d29509f164 100644 --- a/java/docs/navigations.mdx +++ b/java/docs/navigations.mdx @@ -5,7 +5,6 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/network.mdx b/java/docs/network.mdx index 04045944563..97c34f97b68 100644 --- a/java/docs/network.mdx +++ b/java/docs/network.mdx @@ -5,7 +5,6 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/other-locators.mdx b/java/docs/other-locators.mdx index b0f7a8c7a41..f00a25a0350 100644 --- a/java/docs/other-locators.mdx +++ b/java/docs/other-locators.mdx @@ -5,7 +5,6 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/pages.mdx b/java/docs/pages.mdx index 783fba26a51..62e190dc35a 100644 --- a/java/docs/pages.mdx +++ b/java/docs/pages.mdx @@ -5,7 +5,6 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Pages diff --git a/java/docs/pom.mdx b/java/docs/pom.mdx index cdd27fb94ad..25a69f6b6b8 100644 --- a/java/docs/pom.mdx +++ b/java/docs/pom.mdx @@ -5,7 +5,6 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/release-notes.mdx b/java/docs/release-notes.mdx index ca25b745554..903230912f0 100644 --- a/java/docs/release-notes.mdx +++ b/java/docs/release-notes.mdx @@ -6,7 +6,6 @@ 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 '@theme/ProgressiveImage'; ## Version 1.55 diff --git a/java/docs/running-tests.mdx b/java/docs/running-tests.mdx index 37009908dbc..51e9aa9e33a 100644 --- a/java/docs/running-tests.mdx +++ b/java/docs/running-tests.mdx @@ -5,7 +5,6 @@ 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 '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/screenshots.mdx b/java/docs/screenshots.mdx index 217bdeac753..90dbb322a90 100644 --- a/java/docs/screenshots.mdx +++ b/java/docs/screenshots.mdx @@ -5,7 +5,6 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/selenium-grid.mdx b/java/docs/selenium-grid.mdx index 3459ddced8d..87a1a1d154e 100644 --- a/java/docs/selenium-grid.mdx +++ b/java/docs/selenium-grid.mdx @@ -5,7 +5,6 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/test-assertions.mdx b/java/docs/test-assertions.mdx index 1181de61855..88dc40b867c 100644 --- a/java/docs/test-assertions.mdx +++ b/java/docs/test-assertions.mdx @@ -5,7 +5,6 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## List of assertions diff --git a/java/docs/test-runners.mdx b/java/docs/test-runners.mdx index f34ab995e69..d3cb4020276 100644 --- a/java/docs/test-runners.mdx +++ b/java/docs/test-runners.mdx @@ -5,7 +5,6 @@ title: "Test Runners" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/threading.mdx b/java/docs/threading.mdx index a3f1fb66bff..e97e36a486b 100644 --- a/java/docs/threading.mdx +++ b/java/docs/threading.mdx @@ -5,7 +5,6 @@ title: "Multithreading" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/touch-events.mdx b/java/docs/touch-events.mdx index 916a44345ad..1041b23f9af 100644 --- a/java/docs/touch-events.mdx +++ b/java/docs/touch-events.mdx @@ -5,7 +5,6 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/trace-viewer-intro.mdx b/java/docs/trace-viewer-intro.mdx index 59b4fb4858c..1110c26c0a2 100644 --- a/java/docs/trace-viewer-intro.mdx +++ b/java/docs/trace-viewer-intro.mdx @@ -5,7 +5,6 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/trace-viewer.mdx b/java/docs/trace-viewer.mdx index 00f1bfd516d..b446e1d01a6 100644 --- a/java/docs/trace-viewer.mdx +++ b/java/docs/trace-viewer.mdx @@ -5,7 +5,6 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 d0fa0cb5785..53b66491503 100644 --- a/java/docs/videos.mdx +++ b/java/docs/videos.mdx @@ -5,7 +5,6 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/webview2.mdx b/java/docs/webview2.mdx index cc0e73b3886..394d4f055ff 100644 --- a/java/docs/webview2.mdx +++ b/java/docs/webview2.mdx @@ -5,7 +5,6 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/java/docs/writing-tests.mdx b/java/docs/writing-tests.mdx index 2357972c783..95018cbf098 100644 --- a/java/docs/writing-tests.mdx +++ b/java/docs/writing-tests.mdx @@ -5,7 +5,6 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/accessibility-testing.mdx b/nodejs/docs/accessibility-testing.mdx index 9afe292783f..1001896d000 100644 --- a/nodejs/docs/accessibility-testing.mdx +++ b/nodejs/docs/accessibility-testing.mdx @@ -5,7 +5,6 @@ title: "Accessibility testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/actionability.mdx b/nodejs/docs/actionability.mdx index 6e62170e8ba..c1a305d5eb9 100644 --- a/nodejs/docs/actionability.mdx +++ b/nodejs/docs/actionability.mdx @@ -5,7 +5,6 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/api-testing.mdx b/nodejs/docs/api-testing.mdx index c078709d65c..45f4e7a5af0 100644 --- a/nodejs/docs/api-testing.mdx +++ b/nodejs/docs/api-testing.mdx @@ -5,7 +5,6 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/api/class-accessibility.mdx b/nodejs/docs/api/class-accessibility.mdx index 94544635c8d..14ce9846c70 100644 --- a/nodejs/docs/api/class-accessibility.mdx +++ b/nodejs/docs/api/class-accessibility.mdx @@ -5,7 +5,6 @@ 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 5dca12a85c0..180b780be04 100644 --- a/nodejs/docs/api/class-android.mdx +++ b/nodejs/docs/api/class-android.mdx @@ -5,7 +5,6 @@ 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 5d6a367876a..5e628dfc641 100644 --- a/nodejs/docs/api/class-androiddevice.mdx +++ b/nodejs/docs/api/class-androiddevice.mdx @@ -5,7 +5,6 @@ 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 3f1d1e8f41d..30ab549be38 100644 --- a/nodejs/docs/api/class-androidinput.mdx +++ b/nodejs/docs/api/class-androidinput.mdx @@ -5,7 +5,6 @@ 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 8f3200cbfa4..2aceae3d950 100644 --- a/nodejs/docs/api/class-androidsocket.mdx +++ b/nodejs/docs/api/class-androidsocket.mdx @@ -5,7 +5,6 @@ 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 a788446c9d0..83b8198e26e 100644 --- a/nodejs/docs/api/class-androidwebview.mdx +++ b/nodejs/docs/api/class-androidwebview.mdx @@ -5,7 +5,6 @@ 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 fe1706bc2f6..d93d91e3b55 100644 --- a/nodejs/docs/api/class-apirequest.mdx +++ b/nodejs/docs/api/class-apirequest.mdx @@ -5,7 +5,6 @@ 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 1e81638d528..becb68c8048 100644 --- a/nodejs/docs/api/class-apirequestcontext.mdx +++ b/nodejs/docs/api/class-apirequestcontext.mdx @@ -5,7 +5,6 @@ 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 0e792609d0c..c9e92db9165 100644 --- a/nodejs/docs/api/class-apiresponse.mdx +++ b/nodejs/docs/api/class-apiresponse.mdx @@ -5,7 +5,6 @@ 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 10f8db11089..1c91dbdf8ab 100644 --- a/nodejs/docs/api/class-apiresponseassertions.mdx +++ b/nodejs/docs/api/class-apiresponseassertions.mdx @@ -5,7 +5,6 @@ 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 b0c1d421b0d..755023ae855 100644 --- a/nodejs/docs/api/class-browser.mdx +++ b/nodejs/docs/api/class-browser.mdx @@ -5,7 +5,6 @@ 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 fface4605d7..6648940785c 100644 --- a/nodejs/docs/api/class-browsercontext.mdx +++ b/nodejs/docs/api/class-browsercontext.mdx @@ -5,7 +5,6 @@ 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 0888cce7a07..2dfdc6c3aac 100644 --- a/nodejs/docs/api/class-browserserver.mdx +++ b/nodejs/docs/api/class-browserserver.mdx @@ -5,7 +5,6 @@ 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 dc679a33c98..e226dc74c28 100644 --- a/nodejs/docs/api/class-browsertype.mdx +++ b/nodejs/docs/api/class-browsertype.mdx @@ -5,7 +5,6 @@ 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 78ac899f25f..8d321cacdf0 100644 --- a/nodejs/docs/api/class-cdpsession.mdx +++ b/nodejs/docs/api/class-cdpsession.mdx @@ -5,7 +5,6 @@ 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 74ae60ab1c0..20fdb94a376 100644 --- a/nodejs/docs/api/class-clock.mdx +++ b/nodejs/docs/api/class-clock.mdx @@ -5,7 +5,6 @@ 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 837d5730c2a..2b92dadfdae 100644 --- a/nodejs/docs/api/class-consolemessage.mdx +++ b/nodejs/docs/api/class-consolemessage.mdx @@ -5,7 +5,6 @@ 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 51021f5a5ef..4c64d6cf908 100644 --- a/nodejs/docs/api/class-coverage.mdx +++ b/nodejs/docs/api/class-coverage.mdx @@ -5,7 +5,6 @@ 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 9a5a703fe38..1f3347fc018 100644 --- a/nodejs/docs/api/class-dialog.mdx +++ b/nodejs/docs/api/class-dialog.mdx @@ -5,7 +5,6 @@ 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 c20a68cc7a2..1b22f24a763 100644 --- a/nodejs/docs/api/class-download.mdx +++ b/nodejs/docs/api/class-download.mdx @@ -5,7 +5,6 @@ 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 7293eb056d2..f73104f385d 100644 --- a/nodejs/docs/api/class-electron.mdx +++ b/nodejs/docs/api/class-electron.mdx @@ -5,7 +5,6 @@ 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 d05afb5fa2d..544f41b9c1e 100644 --- a/nodejs/docs/api/class-electronapplication.mdx +++ b/nodejs/docs/api/class-electronapplication.mdx @@ -5,7 +5,6 @@ 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 f9a64c69699..9f11669d1a8 100644 --- a/nodejs/docs/api/class-elementhandle.mdx +++ b/nodejs/docs/api/class-elementhandle.mdx @@ -5,7 +5,6 @@ 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 fdcb573cdd5..99f5cb32318 100644 --- a/nodejs/docs/api/class-filechooser.mdx +++ b/nodejs/docs/api/class-filechooser.mdx @@ -5,7 +5,6 @@ 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 ca43aed71f5..7425517af01 100644 --- a/nodejs/docs/api/class-fixtures.mdx +++ b/nodejs/docs/api/class-fixtures.mdx @@ -5,7 +5,6 @@ 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 28968838682..397db6b0ccb 100644 --- a/nodejs/docs/api/class-frame.mdx +++ b/nodejs/docs/api/class-frame.mdx @@ -5,7 +5,6 @@ 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 69f8b5794b2..5282e3eab77 100644 --- a/nodejs/docs/api/class-framelocator.mdx +++ b/nodejs/docs/api/class-framelocator.mdx @@ -5,7 +5,6 @@ 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 49f5513961f..39899fdd35f 100644 --- a/nodejs/docs/api/class-fullconfig.mdx +++ b/nodejs/docs/api/class-fullconfig.mdx @@ -5,7 +5,6 @@ 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 f4b8a0115af..edc9d6deb17 100644 --- a/nodejs/docs/api/class-fullproject.mdx +++ b/nodejs/docs/api/class-fullproject.mdx @@ -5,7 +5,6 @@ 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 9c54b167410..52e3c4d3761 100644 --- a/nodejs/docs/api/class-genericassertions.mdx +++ b/nodejs/docs/api/class-genericassertions.mdx @@ -5,7 +5,6 @@ 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 787157e3f08..6139cef830c 100644 --- a/nodejs/docs/api/class-jshandle.mdx +++ b/nodejs/docs/api/class-jshandle.mdx @@ -5,7 +5,6 @@ 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 ee604a40370..850dfba6383 100644 --- a/nodejs/docs/api/class-keyboard.mdx +++ b/nodejs/docs/api/class-keyboard.mdx @@ -5,7 +5,6 @@ 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 4f6f8fc9d02..c44e9ecbc0f 100644 --- a/nodejs/docs/api/class-location.mdx +++ b/nodejs/docs/api/class-location.mdx @@ -5,7 +5,6 @@ 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 152987c69e3..19208a39d5b 100644 --- a/nodejs/docs/api/class-locator.mdx +++ b/nodejs/docs/api/class-locator.mdx @@ -5,7 +5,6 @@ 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 a4b2a0b2fc9..e23f2f82614 100644 --- a/nodejs/docs/api/class-locatorassertions.mdx +++ b/nodejs/docs/api/class-locatorassertions.mdx @@ -5,7 +5,6 @@ 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 d2d2284d759..c549adb1ce6 100644 --- a/nodejs/docs/api/class-logger.mdx +++ b/nodejs/docs/api/class-logger.mdx @@ -5,7 +5,6 @@ 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 fe4183a6f11..46415239c00 100644 --- a/nodejs/docs/api/class-mouse.mdx +++ b/nodejs/docs/api/class-mouse.mdx @@ -5,7 +5,6 @@ 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 0279d922582..0543277a1dc 100644 --- a/nodejs/docs/api/class-page.mdx +++ b/nodejs/docs/api/class-page.mdx @@ -5,7 +5,6 @@ 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 8021bc38bbd..5c71ee88b6d 100644 --- a/nodejs/docs/api/class-pageassertions.mdx +++ b/nodejs/docs/api/class-pageassertions.mdx @@ -5,7 +5,6 @@ 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 7cdd1af90b8..50abdcfeb58 100644 --- a/nodejs/docs/api/class-playwright.mdx +++ b/nodejs/docs/api/class-playwright.mdx @@ -5,7 +5,6 @@ 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 1de27d743f3..975832568a5 100644 --- a/nodejs/docs/api/class-playwrightassertions.mdx +++ b/nodejs/docs/api/class-playwrightassertions.mdx @@ -5,7 +5,6 @@ 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 a2010f95dd9..20dea760129 100644 --- a/nodejs/docs/api/class-reporter.mdx +++ b/nodejs/docs/api/class-reporter.mdx @@ -5,7 +5,6 @@ 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 df138a0afdf..097954e0605 100644 --- a/nodejs/docs/api/class-request.mdx +++ b/nodejs/docs/api/class-request.mdx @@ -5,7 +5,6 @@ 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 73d6ef15581..9708a479779 100644 --- a/nodejs/docs/api/class-response.mdx +++ b/nodejs/docs/api/class-response.mdx @@ -5,7 +5,6 @@ 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 3ea6f06e939..268a3beb783 100644 --- a/nodejs/docs/api/class-route.mdx +++ b/nodejs/docs/api/class-route.mdx @@ -5,7 +5,6 @@ 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 cf296111e6f..5408cb3db3b 100644 --- a/nodejs/docs/api/class-selectors.mdx +++ b/nodejs/docs/api/class-selectors.mdx @@ -5,7 +5,6 @@ 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 eb127019ae4..25a2815b07a 100644 --- a/nodejs/docs/api/class-snapshotassertions.mdx +++ b/nodejs/docs/api/class-snapshotassertions.mdx @@ -5,7 +5,6 @@ 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 4d9f0233696..5e78d23b6ae 100644 --- a/nodejs/docs/api/class-suite.mdx +++ b/nodejs/docs/api/class-suite.mdx @@ -5,7 +5,6 @@ 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 f5b568d22c4..9f46d902823 100644 --- a/nodejs/docs/api/class-test.mdx +++ b/nodejs/docs/api/class-test.mdx @@ -5,7 +5,6 @@ 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 e1dae8bdfe9..7b0079fe2ba 100644 --- a/nodejs/docs/api/class-testcase.mdx +++ b/nodejs/docs/api/class-testcase.mdx @@ -5,7 +5,6 @@ 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 84425aca51a..4ef4d7d3711 100644 --- a/nodejs/docs/api/class-testconfig.mdx +++ b/nodejs/docs/api/class-testconfig.mdx @@ -5,7 +5,6 @@ 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 a5c57df7fe7..cf73cf29366 100644 --- a/nodejs/docs/api/class-testerror.mdx +++ b/nodejs/docs/api/class-testerror.mdx @@ -5,7 +5,6 @@ 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 dc07deff8e9..54fe20911a8 100644 --- a/nodejs/docs/api/class-testinfo.mdx +++ b/nodejs/docs/api/class-testinfo.mdx @@ -5,7 +5,6 @@ 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 07331bccada..ea196dca906 100644 --- a/nodejs/docs/api/class-testinfoerror.mdx +++ b/nodejs/docs/api/class-testinfoerror.mdx @@ -5,7 +5,6 @@ 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 71f6f4e799f..b5065a8c32d 100644 --- a/nodejs/docs/api/class-testoptions.mdx +++ b/nodejs/docs/api/class-testoptions.mdx @@ -5,7 +5,6 @@ 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 b4fdda4a79c..94be0e199b1 100644 --- a/nodejs/docs/api/class-testproject.mdx +++ b/nodejs/docs/api/class-testproject.mdx @@ -5,7 +5,6 @@ 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 4a25307321c..9361fbeba0d 100644 --- a/nodejs/docs/api/class-testresult.mdx +++ b/nodejs/docs/api/class-testresult.mdx @@ -5,7 +5,6 @@ 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 ec2b0c3b5b6..b3eaa0f4dbf 100644 --- a/nodejs/docs/api/class-teststep.mdx +++ b/nodejs/docs/api/class-teststep.mdx @@ -5,7 +5,6 @@ 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 59c8cf7cd37..b23a4a31eef 100644 --- a/nodejs/docs/api/class-teststepinfo.mdx +++ b/nodejs/docs/api/class-teststepinfo.mdx @@ -5,7 +5,6 @@ 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 9f4968d8a50..04896071a00 100644 --- a/nodejs/docs/api/class-timeouterror.mdx +++ b/nodejs/docs/api/class-timeouterror.mdx @@ -5,7 +5,6 @@ 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 77bd35fae2d..8edddf5a38b 100644 --- a/nodejs/docs/api/class-touchscreen.mdx +++ b/nodejs/docs/api/class-touchscreen.mdx @@ -5,7 +5,6 @@ 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 7a44b2d5b9b..45ace077818 100644 --- a/nodejs/docs/api/class-tracing.mdx +++ b/nodejs/docs/api/class-tracing.mdx @@ -5,7 +5,6 @@ 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 f1edfd33fd6..ca8cfcd9a02 100644 --- a/nodejs/docs/api/class-video.mdx +++ b/nodejs/docs/api/class-video.mdx @@ -5,7 +5,6 @@ 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 0c21d029b91..36ac8ab3872 100644 --- a/nodejs/docs/api/class-weberror.mdx +++ b/nodejs/docs/api/class-weberror.mdx @@ -5,7 +5,6 @@ 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 5da1802bdf6..a5d457bbdee 100644 --- a/nodejs/docs/api/class-websocket.mdx +++ b/nodejs/docs/api/class-websocket.mdx @@ -5,7 +5,6 @@ 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 69bba2f7e19..12be0f5e2da 100644 --- a/nodejs/docs/api/class-websocketroute.mdx +++ b/nodejs/docs/api/class-websocketroute.mdx @@ -5,7 +5,6 @@ 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 94f54126179..d540273eec9 100644 --- a/nodejs/docs/api/class-worker.mdx +++ b/nodejs/docs/api/class-worker.mdx @@ -5,7 +5,6 @@ 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 1217a30fb50..c462f54b206 100644 --- a/nodejs/docs/api/class-workerinfo.mdx +++ b/nodejs/docs/api/class-workerinfo.mdx @@ -5,7 +5,6 @@ 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 3b4f5bdbb80..928ed1d5483 100644 --- a/nodejs/docs/aria-snapshots.mdx +++ b/nodejs/docs/aria-snapshots.mdx @@ -5,7 +5,6 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 5f6c767fe5c..b5810db4e34 100644 --- a/nodejs/docs/auth.mdx +++ b/nodejs/docs/auth.mdx @@ -5,7 +5,6 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/best-practices.mdx b/nodejs/docs/best-practices.mdx index 7df9fb05c7f..b014115c576 100644 --- a/nodejs/docs/best-practices.mdx +++ b/nodejs/docs/best-practices.mdx @@ -5,7 +5,6 @@ title: "Best Practices" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/browser-contexts.mdx b/nodejs/docs/browser-contexts.mdx index c9657d019e9..d9e7f0c5fbd 100644 --- a/nodejs/docs/browser-contexts.mdx +++ b/nodejs/docs/browser-contexts.mdx @@ -5,7 +5,6 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/browsers.mdx b/nodejs/docs/browsers.mdx index 16ec7a5ee62..0f00b7260b8 100644 --- a/nodejs/docs/browsers.mdx +++ b/nodejs/docs/browsers.mdx @@ -5,7 +5,6 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -150,7 +149,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 4bc9c475344..9340c37001d 100644 --- a/nodejs/docs/canary-releases.mdx +++ b/nodejs/docs/canary-releases.mdx @@ -5,7 +5,6 @@ title: "Canary releases" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/chrome-extensions.mdx b/nodejs/docs/chrome-extensions.mdx index 74c93f88ceb..01a01616a50 100644 --- a/nodejs/docs/chrome-extensions.mdx +++ b/nodejs/docs/chrome-extensions.mdx @@ -5,7 +5,6 @@ title: "Chrome extensions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/ci-intro.mdx b/nodejs/docs/ci-intro.mdx index c80e5fafa22..1a63ff40c98 100644 --- a/nodejs/docs/ci-intro.mdx +++ b/nodejs/docs/ci-intro.mdx @@ -5,7 +5,6 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/ci.mdx b/nodejs/docs/ci.mdx index 2be0516e836..e2c78dca996 100644 --- a/nodejs/docs/ci.mdx +++ b/nodejs/docs/ci.mdx @@ -5,7 +5,6 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/clock.mdx b/nodejs/docs/clock.mdx index 38168f57943..beb1a663ae9 100644 --- a/nodejs/docs/clock.mdx +++ b/nodejs/docs/clock.mdx @@ -5,7 +5,6 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 71e68194d1f..e3c59778963 100644 --- a/nodejs/docs/codegen-intro.mdx +++ b/nodejs/docs/codegen-intro.mdx @@ -5,7 +5,6 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -35,7 +34,7 @@ With the test generator you can record: * `'assert value'` to assert that an element has a specific value ###### - +![Recording a test](../images/getting-started/record-test-js.png) ###### When you finish interacting with the page, press the `'record'` button to stop recording and use the `'copy'` button to copy the generated code to your editor. @@ -54,7 +53,7 @@ You can generate [locators](/locators.mdx) with the test generator. * Use the copy button to copy the locator and paste it into your code ###### - +![picking a locator](../images/getting-started/pick-locator-js.png) ### Emulation diff --git a/nodejs/docs/codegen.mdx b/nodejs/docs/codegen.mdx index 6a556a64feb..f38a1d9f376 100644 --- a/nodejs/docs/codegen.mdx +++ b/nodejs/docs/codegen.mdx @@ -5,7 +5,6 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 97f2d2864cc..6e4cce80b9c 100644 --- a/nodejs/docs/debug.mdx +++ b/nodejs/docs/debug.mdx @@ -5,7 +5,6 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## VS Code debugger diff --git a/nodejs/docs/dialogs.mdx b/nodejs/docs/dialogs.mdx index 941c27338d5..a8584745ad5 100644 --- a/nodejs/docs/dialogs.mdx +++ b/nodejs/docs/dialogs.mdx @@ -5,7 +5,6 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/docker.mdx b/nodejs/docs/docker.mdx index e79483650a6..085515b6bff 100644 --- a/nodejs/docs/docker.mdx +++ b/nodejs/docs/docker.mdx @@ -5,7 +5,6 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/downloads.mdx b/nodejs/docs/downloads.mdx index f7cc084704f..38cdd3e6715 100644 --- a/nodejs/docs/downloads.mdx +++ b/nodejs/docs/downloads.mdx @@ -5,7 +5,6 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/emulation.mdx b/nodejs/docs/emulation.mdx index dae8dd522ea..881ac70de5b 100644 --- a/nodejs/docs/emulation.mdx +++ b/nodejs/docs/emulation.mdx @@ -5,7 +5,6 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/evaluating.mdx b/nodejs/docs/evaluating.mdx index e63ae514dc8..267da3f6866 100644 --- a/nodejs/docs/evaluating.mdx +++ b/nodejs/docs/evaluating.mdx @@ -5,7 +5,6 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/events.mdx b/nodejs/docs/events.mdx index fed61817564..f612750074b 100644 --- a/nodejs/docs/events.mdx +++ b/nodejs/docs/events.mdx @@ -5,7 +5,6 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/extensibility.mdx b/nodejs/docs/extensibility.mdx index 8337fe51a7b..a7623f411e9 100644 --- a/nodejs/docs/extensibility.mdx +++ b/nodejs/docs/extensibility.mdx @@ -5,7 +5,6 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Custom selector engines diff --git a/nodejs/docs/frames.mdx b/nodejs/docs/frames.mdx index f8ed832f565..84e5284a9fc 100644 --- a/nodejs/docs/frames.mdx +++ b/nodejs/docs/frames.mdx @@ -5,7 +5,6 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/getting-started-vscode.mdx b/nodejs/docs/getting-started-vscode.mdx index 67c114a9bff..dc8842681ce 100644 --- a/nodejs/docs/getting-started-vscode.mdx +++ b/nodejs/docs/getting-started-vscode.mdx @@ -5,7 +5,6 @@ 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 '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; @@ -26,20 +25,20 @@ Before you begin, make sure you have the following installed: ### Installation & Setup 1. **Install the Extension**: Open the Extensions view in VS Code (`Ctrl+Shift+X` or `Cmd+Shift+X`) and search for "Playwright". [Install the official extension from Microsoft](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright). - +![install playwright extension](../images/getting-started/vscode-extension.png) 1. **Install Playwright**: Once the extension is installed, open the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P`) and run the **Test: Install Playwright** command. - +![install playwright](../images/getting-started/install-playwright.png) 3. **Select Browsers**: Choose the browsers you want for your tests (e.g., Chromium, Firefox, WebKit). You can also add a GitHub Actions workflow to run tests in CI. These settings can be changed later in your `playwright.config.ts` file. - +![install browsers](../images/getting-started/install-browsers.png) ### Opening the Testing Sidebar Click the **Testing icon** in the VS Code Activity Bar to open the Test Explorer. Here, you'll find your tests, as well as the Playwright sidebar for managing projects, tools, and settings. - +![Testing Sidebar](../images/getting-started/testing-sidebar.png) ## Core Features @@ -48,16 +47,16 @@ Click the **Testing icon** in the VS Code Activity Bar to open the Test Explorer - **Run a Single Test**: Click the green "play" icon next to any test to run it. The play button will change to a green checkmark if the test passes or a red X if the test fails. You'll be able to see how long the test took to run displayed next to the test name. Additionally, the Test Results panel will automatically open at the bottom of VS Code, showing a summary of the test execution including how many tests ran, how many passed, failed, or were skipped, along with the total execution time. - +![run a single test](../images/getting-started/run-single-test.png) - **Run All Tests**: You can run all tests at different levels. Click the play icon next to a specific test file to run all tests within that file, or click the play icon at the very top of the Test Explorer to run all tests across your entire project. - +![run all tests](../images/getting-started/run-all-tests.png) - **Run on Multiple Browsers**: In the Playwright sidebar, check the boxes for the projects (browsers) you want to test against. Projects in Playwright represent different browser configurations - each project typically corresponds to a specific browser (like Chromium, Firefox, or WebKit) with its own settings such as viewport size, device emulation, or other browser-specific options. When you run a test, it will execute across all selected projects, allowing you to verify your application works consistently across different browsers and configurations. - +![Selecting projects to run tests on](../images/getting-started/select-projects.png) - **Show Browser**: To watch your tests execute in a live browser window, enable the **Show Browser** option in the sidebar. Disable it to run in headless mode (where tests run in the background without opening a visible browser window). - +![show browsers while running tests](../images/getting-started/show-browser.png) ### Debugging Your Tests @@ -66,16 +65,16 @@ Click the **Testing icon** in the VS Code Activity Bar to open the Test Explorer The VS Code extension provides powerful debugging tools to help you identify and fix issues in your tests. You can set breakpoints, inspect variables, view detailed error messages, get AI-powered suggestions to resolve test failures, and use the comprehensive trace viewer to analyze test execution step-by-step. - **Using Breakpoints**: Set a breakpoint by clicking in the gutter next to a line number. Right-click the test and select **Debug Test**. The test will pause at your breakpoint, allowing you to inspect variables and step through the code. - + ![setting debug mode](../images/getting-started/debug-mode.png) - **Live Debugging**: With **Show Browsers** enabled, click on a locator in your code. Playwright will highlight the corresponding element in the browser, making it easy to verify locators. - + ![live debugging in vs code](../images/getting-started/live-debugging.png) - **Viewing Error Messages**: If a test fails, the extension displays detailed error messages, including the expected vs. received values and a full call log, directly in the editor. - +![error messaging in vs code](../images/getting-started/error-messaging.png) - **Fix with AI**: When a test fails, click the sparkle icon next to the error to get an AI-powered fix suggestion from Copilot. Copilot analyzes the error and suggests a code change to resolve the issue. - +![fix with ai in vs code](../images/getting-started/fix-with-ai.png) - **Debugging with Trace Viewer**: For comprehensive debugging, enable the **Show Trace Viewer** option in the Playwright sidebar. When your test finishes, a detailed trace will automatically open, providing you with a complete timeline of your test execution. The trace viewer is particularly useful for: - **Step-by-step analysis**: Navigate through each action your test performed with precise timestamps - **DOM inspection**: View DOM snapshots at any point during test execution to see exactly what the page looked like @@ -86,7 +85,7 @@ The VS Code extension provides powerful debugging tools to help you identify and The trace viewer is especially valuable when debugging flaky tests or understanding complex user interactions. - +![trace viewer debugging](../images/getting-started/trace-viewer-debug.png) To learn more, see our [Trace Viewer guide](./trace-viewer.mdx). @@ -97,13 +96,11 @@ CodeGen is Playwright's powerful test generation tool that automatically creates - **Record a New Test**: Click **Record new** in the sidebar. A browser window will open. As you interact with the page, Playwright will automatically generate the test code. You can also generate assertions from the recording toolbar. - -- **Record at Cursor**: Place your cursor inside an existing test and click **Record at cursor** to add new actions at that specific point. - - +![record a new test](../images/getting-started/record-new-test.png) +- **Record at Cursor**: Place your cursor inside an existing test and click **Record at cursor** to add new actions at that specific point. ![record at cursor](../images/getting-started/record-at-cursor.png) - **Pick a Locator**: Use the **Pick locator** tool to click on any element in the opened browser. Playwright will determine the best locator and copy it to your clipboard, ready to be pasted into your code. - +![pick locators](../images/getting-started/pick-locator.png) To learn more, see our [CodeGen guide](./codegen.mdx). @@ -113,7 +110,7 @@ To learn more, see our [CodeGen guide](./codegen.mdx). Use [project dependencies](./test-projects.mdx) to define setup tests that run before other tests. For example, you can create a login test that runs first, then reuse that authenticated state across multiple tests without having to log in again for each test. In VS Code, you can see these setup tests in the Test Explorer and run them independently when needed. - +![setup tests in vscode](../images/getting-started/setup-tests.png) To learn more, see our [Project Dependencies guide](./test-projects.mdx). @@ -121,13 +118,13 @@ To learn more, see our [Project Dependencies guide](./test-projects.mdx). For tasks that need to run only once before all tests (like seeding a database), use **Global Setup**. You can trigger the global setup and teardown manually from the Playwright sidebar. - +![running global setup](../images/getting-started/global-setup.png) ### Multiple Configurations If you have multiple `playwright.config.ts` files, you can switch between them using the gear icon in the Playwright sidebar. This allows you to easily work with different test suites or environments. - +![Selecting a configuration file](../images/getting-started/selecting-configuration.png) ## Quick Reference diff --git a/nodejs/docs/handles.mdx b/nodejs/docs/handles.mdx index 08abb06c6a7..5faafa286bb 100644 --- a/nodejs/docs/handles.mdx +++ b/nodejs/docs/handles.mdx @@ -5,7 +5,6 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/input.mdx b/nodejs/docs/input.mdx index 0f4bf6ee750..f25c6253472 100644 --- a/nodejs/docs/input.mdx +++ b/nodejs/docs/input.mdx @@ -5,7 +5,6 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/intro.mdx b/nodejs/docs/intro.mdx index c8abd7e42c1..9277b96ebf8 100644 --- a/nodejs/docs/intro.mdx +++ b/nodejs/docs/intro.mdx @@ -5,7 +5,6 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -115,7 +114,7 @@ pnpm exec playwright test - +![tests running in command line](../images/getting-started/run-tests-cli.png) Tips: - See the browser window: add `--headed`. @@ -157,7 +156,7 @@ pnpm exec playwright show-report - +![HTML Report](../images/getting-started/html-report-basic.png) ## Running the Example Test in UI Mode @@ -191,7 +190,7 @@ pnpm exec playwright test --ui - +![UI Mode](../images/getting-started/ui-mode.png) See the [detailed guide on UI Mode](./test-ui-mode.mdx) for watch filters, step details and trace integration. diff --git a/nodejs/docs/languages.mdx b/nodejs/docs/languages.mdx index 5c4be229624..1ea9ef150ba 100644 --- a/nodejs/docs/languages.mdx +++ b/nodejs/docs/languages.mdx @@ -5,7 +5,6 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/library.mdx b/nodejs/docs/library.mdx index 1a3ed3254a9..4c3256bb83d 100644 --- a/nodejs/docs/library.mdx +++ b/nodejs/docs/library.mdx @@ -5,7 +5,6 @@ title: "Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/locators.mdx b/nodejs/docs/locators.mdx index f4cbaa6716f..70fe24fe089 100644 --- a/nodejs/docs/locators.mdx +++ b/nodejs/docs/locators.mdx @@ -5,7 +5,6 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/mock-browser.mdx b/nodejs/docs/mock-browser.mdx index e35fefa148e..1ada607fd19 100644 --- a/nodejs/docs/mock-browser.mdx +++ b/nodejs/docs/mock-browser.mdx @@ -5,7 +5,6 @@ title: "Mock browser APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/mock.mdx b/nodejs/docs/mock.mdx index bb6b534e71c..13548590c02 100644 --- a/nodejs/docs/mock.mdx +++ b/nodejs/docs/mock.mdx @@ -5,7 +5,6 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/navigations.mdx b/nodejs/docs/navigations.mdx index 40dadf27e0c..ca32970e2fc 100644 --- a/nodejs/docs/navigations.mdx +++ b/nodejs/docs/navigations.mdx @@ -5,7 +5,6 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/network.mdx b/nodejs/docs/network.mdx index 9dea85d7e2c..2e380557bc2 100644 --- a/nodejs/docs/network.mdx +++ b/nodejs/docs/network.mdx @@ -5,7 +5,6 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/other-locators.mdx b/nodejs/docs/other-locators.mdx index 2552ff46957..d959442fa13 100644 --- a/nodejs/docs/other-locators.mdx +++ b/nodejs/docs/other-locators.mdx @@ -5,7 +5,6 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/pages.mdx b/nodejs/docs/pages.mdx index 11e193b4982..05f2cec005c 100644 --- a/nodejs/docs/pages.mdx +++ b/nodejs/docs/pages.mdx @@ -5,7 +5,6 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Pages diff --git a/nodejs/docs/pom.mdx b/nodejs/docs/pom.mdx index cace62eb028..cc5b08d5d6d 100644 --- a/nodejs/docs/pom.mdx +++ b/nodejs/docs/pom.mdx @@ -5,7 +5,6 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/protractor.mdx b/nodejs/docs/protractor.mdx index 69e4e8eeb81..952d4000252 100644 --- a/nodejs/docs/protractor.mdx +++ b/nodejs/docs/protractor.mdx @@ -5,7 +5,6 @@ title: "Migrating from Protractor" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 3049d28c196..8cc2fee8418 100644 --- a/nodejs/docs/puppeteer.mdx +++ b/nodejs/docs/puppeteer.mdx @@ -5,7 +5,6 @@ title: "Migrating from Puppeteer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Migration Principles diff --git a/nodejs/docs/release-notes.mdx b/nodejs/docs/release-notes.mdx index 9d2d8fbee78..f567fbf7d8b 100644 --- a/nodejs/docs/release-notes.mdx +++ b/nodejs/docs/release-notes.mdx @@ -6,7 +6,6 @@ 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 '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; diff --git a/nodejs/docs/running-tests.mdx b/nodejs/docs/running-tests.mdx index 2d6a434b3d7..639c3eec896 100644 --- a/nodejs/docs/running-tests.mdx +++ b/nodejs/docs/running-tests.mdx @@ -5,7 +5,6 @@ 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 '@theme/ProgressiveImage'; ## Introduction @@ -26,7 +25,7 @@ You can run your tests with the `playwright test` command. This runs your tests npx playwright test ``` - +![tests running in command line](../images/getting-started/run-tests-cli.png) ### Run tests in UI mode @@ -36,7 +35,7 @@ We highly recommend running your tests with [UI Mode](./test-ui-mode.mdx) for a npx playwright test --ui ``` - +![UI Mode](../images/getting-started/ui-mode.png) Check out our [detailed guide on UI Mode](./test-ui-mode.mdx) to learn more about its features. @@ -100,7 +99,7 @@ npx playwright test --last-failed Tests can be run right from VS Code using the [VS Code extension](https://marketplace.visualstudio.com/items?itemName=ms-playwright.playwright). Once installed you can simply click the green triangle next to the test you want to run or run all tests from the testing sidebar. Check out our [Getting Started with VS Code](./getting-started-vscode.mdx) guide for more details. - +![install playwright extension](../images/getting-started/vscode-extension.png) ## Debugging tests @@ -114,11 +113,11 @@ We highly recommend debugging your tests with [UI Mode](./test-ui-mode.mdx) for npx playwright test --ui ``` - +![showing errors in ui mode](../images/getting-started/ui-mode-error.png) While debugging you can use the Pick Locator button to select an element on the page and see the locator that Playwright would use to find that element. You can also edit the locator in the locator playground and see it highlighting live in the browser window. Use the Copy Locator button to copy the locator to your clipboard and then paste it into your test. - +![pick locator in ui mode](../images/getting-started/ui-mode-pick-locator.png) Check out our [detailed guide on UI Mode](./test-ui-mode.mdx) to learn more about its features. @@ -130,7 +129,7 @@ To debug all tests, run the Playwright test command followed by the `--debug` fl npx playwright test --debug ``` - +![Debugging Tests with the Playwright inspector](../images/getting-started/run-tests-debug.png) This command opens a browser window as well as the Playwright Inspector. You can use the step over button at the top of the inspector to step through your test. Or, press the play button to run your test from start to finish. Once the test finishes, the browser window closes. @@ -148,7 +147,7 @@ npx playwright test example.spec.ts:10 --debug While debugging you can use the Pick Locator button to select an element on the page and see the locator that Playwright would use to find that element. You can also edit the locator and see it highlighting live in the browser window. Use the Copy Locator button to copy the locator to your clipboard and then paste it into your test. - +![Locator picker in the Playwright Inspector](../images/getting-started/run-tests-pick-locator.png) Check out our [debugging guide](./debug.mdx) to learn more about debugging with the [VS Code debugger](./debug.mdx#vs-code-debugger), UI Mode, and the [Playwright Inspector](./debug.mdx#playwright-inspector) as well as debugging with [Browser Developer tools](./debug.mdx#browser-developer-tools). @@ -160,11 +159,11 @@ The [HTML Reporter](./test-reporters.mdx#html-reporter) shows you a full report npx playwright show-report ``` - +![HTML Report](../images/getting-started/html-report.png) You can filter and search for tests as well as click on each test to see the test errors and explore each step of the test. - +![HTML Reporter detail view](../images/getting-started/html-report-detail.png) ## What's next - [Generate tests with Codegen](./codegen-intro.mdx) diff --git a/nodejs/docs/screenshots.mdx b/nodejs/docs/screenshots.mdx index 0b19d461946..716cadefb18 100644 --- a/nodejs/docs/screenshots.mdx +++ b/nodejs/docs/screenshots.mdx @@ -5,7 +5,6 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/selenium-grid.mdx b/nodejs/docs/selenium-grid.mdx index 90fe66f6688..39317c3ab21 100644 --- a/nodejs/docs/selenium-grid.mdx +++ b/nodejs/docs/selenium-grid.mdx @@ -5,7 +5,6 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 314980bda16..ab540ed68a3 100644 --- a/nodejs/docs/service-workers-experimental-network-events.mdx +++ b/nodejs/docs/service-workers-experimental-network-events.mdx @@ -5,7 +5,6 @@ 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 '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-agents.mdx b/nodejs/docs/test-agents.mdx index bb4142258ef..41ab3321b18 100644 --- a/nodejs/docs/test-agents.mdx +++ b/nodejs/docs/test-agents.mdx @@ -5,7 +5,6 @@ title: "Agents" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; # Playwright Agents diff --git a/nodejs/docs/test-annotations.mdx b/nodejs/docs/test-annotations.mdx index 0bc81e7a43a..7f5f8ad2e23 100644 --- a/nodejs/docs/test-annotations.mdx +++ b/nodejs/docs/test-annotations.mdx @@ -5,7 +5,6 @@ title: "Annotations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-assertions.mdx b/nodejs/docs/test-assertions.mdx index eae79cfef6e..efd4b1b3150 100644 --- a/nodejs/docs/test-assertions.mdx +++ b/nodejs/docs/test-assertions.mdx @@ -5,7 +5,6 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-cli.mdx b/nodejs/docs/test-cli.mdx index e82f6715728..6a516465409 100644 --- a/nodejs/docs/test-cli.mdx +++ b/nodejs/docs/test-cli.mdx @@ -5,7 +5,6 @@ title: "Command line" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 b20992e9fec..da6683274f1 100644 --- a/nodejs/docs/test-components.mdx +++ b/nodejs/docs/test-components.mdx @@ -5,7 +5,6 @@ title: "Components (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 b0d71c4a346..f40eb662a7b 100644 --- a/nodejs/docs/test-configuration.mdx +++ b/nodejs/docs/test-configuration.mdx @@ -5,7 +5,6 @@ title: "Configuration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-fixtures.mdx b/nodejs/docs/test-fixtures.mdx index 82a51bdcf80..cf7710347a1 100644 --- a/nodejs/docs/test-fixtures.mdx +++ b/nodejs/docs/test-fixtures.mdx @@ -5,7 +5,6 @@ title: "Fixtures" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 b4314ef9b7e..693b31933d8 100644 --- a/nodejs/docs/test-global-setup-teardown.mdx +++ b/nodejs/docs/test-global-setup-teardown.mdx @@ -5,7 +5,6 @@ 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 '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-parallel.mdx b/nodejs/docs/test-parallel.mdx index 602f1630e86..c766c0bb3e3 100644 --- a/nodejs/docs/test-parallel.mdx +++ b/nodejs/docs/test-parallel.mdx @@ -5,7 +5,6 @@ title: "Parallelism" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-parameterize.mdx b/nodejs/docs/test-parameterize.mdx index 39f3af53b8c..69eca6dcb0e 100644 --- a/nodejs/docs/test-parameterize.mdx +++ b/nodejs/docs/test-parameterize.mdx @@ -5,7 +5,6 @@ title: "Parameterize tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-projects.mdx b/nodejs/docs/test-projects.mdx index 0c18a730e13..1f1456ab125 100644 --- a/nodejs/docs/test-projects.mdx +++ b/nodejs/docs/test-projects.mdx @@ -5,7 +5,6 @@ title: "Projects" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-reporters.mdx b/nodejs/docs/test-reporters.mdx index ac8fcab1c24..52a074f90b8 100644 --- a/nodejs/docs/test-reporters.mdx +++ b/nodejs/docs/test-reporters.mdx @@ -5,7 +5,6 @@ title: "Reporters" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-retries.mdx b/nodejs/docs/test-retries.mdx index c669ed024b3..72f33d8b90a 100644 --- a/nodejs/docs/test-retries.mdx +++ b/nodejs/docs/test-retries.mdx @@ -5,7 +5,6 @@ title: "Retries" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-sharding.mdx b/nodejs/docs/test-sharding.mdx index 8bb30697e43..259822b1507 100644 --- a/nodejs/docs/test-sharding.mdx +++ b/nodejs/docs/test-sharding.mdx @@ -5,7 +5,6 @@ title: "Sharding" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-snapshots.mdx b/nodejs/docs/test-snapshots.mdx index e3c1304744e..1fbe962cc2c 100644 --- a/nodejs/docs/test-snapshots.mdx +++ b/nodejs/docs/test-snapshots.mdx @@ -5,7 +5,6 @@ title: "Visual comparisons" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-timeouts.mdx b/nodejs/docs/test-timeouts.mdx index 8be9ee55a6c..8489d564ed3 100644 --- a/nodejs/docs/test-timeouts.mdx +++ b/nodejs/docs/test-timeouts.mdx @@ -5,7 +5,6 @@ title: "Timeouts" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 14b3ce1d8bd..16aa54788e9 100644 --- a/nodejs/docs/test-typescript.mdx +++ b/nodejs/docs/test-typescript.mdx @@ -5,7 +5,6 @@ title: "TypeScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-ui-mode.mdx b/nodejs/docs/test-ui-mode.mdx index 3b9ecf1efc9..1f08808162a 100644 --- a/nodejs/docs/test-ui-mode.mdx +++ b/nodejs/docs/test-ui-mode.mdx @@ -5,7 +5,6 @@ title: "UI Mode" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 c304094607f..daef30f9c29 100644 --- a/nodejs/docs/test-use-options.mdx +++ b/nodejs/docs/test-use-options.mdx @@ -5,7 +5,6 @@ title: "Configuration (use)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/test-webserver.mdx b/nodejs/docs/test-webserver.mdx index 6f34fbabeec..316db09863b 100644 --- a/nodejs/docs/test-webserver.mdx +++ b/nodejs/docs/test-webserver.mdx @@ -5,7 +5,6 @@ title: "Web server" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/testing-library.mdx b/nodejs/docs/testing-library.mdx index fc64e811ee8..ce3104e4065 100644 --- a/nodejs/docs/testing-library.mdx +++ b/nodejs/docs/testing-library.mdx @@ -5,7 +5,6 @@ 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 '@theme/ProgressiveImage'; ## Migration principles diff --git a/nodejs/docs/touch-events.mdx b/nodejs/docs/touch-events.mdx index 3f6444539e4..512594c7863 100644 --- a/nodejs/docs/touch-events.mdx +++ b/nodejs/docs/touch-events.mdx @@ -5,7 +5,6 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/trace-viewer-intro.mdx b/nodejs/docs/trace-viewer-intro.mdx index 49c52a18c91..c95ad86c356 100644 --- a/nodejs/docs/trace-viewer-intro.mdx +++ b/nodejs/docs/trace-viewer-intro.mdx @@ -5,7 +5,6 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; import LiteYouTube from '@site/src/components/LiteYouTube'; @@ -55,11 +54,11 @@ npx playwright show-report In the HTML report, click on the trace icon next to the test file name to directly open the trace for the required test. - +![playwright html report](../images/getting-started/html-report-failed-tests.png) You can also click to open the detailed view of the test and scroll down to the `'Traces'` tab and open the trace by clicking on the trace screenshot. - +![playwright html report detailed view](../images/getting-started/html-report-trace.png) To learn more about reporters, check out our detailed guide on reporters including the [HTML Reporter](/test-reporters.mdx#html-reporter). @@ -67,7 +66,7 @@ To learn more about reporters, check out our detailed guide on reporters includi View traces of your test by clicking through each action or hovering using the timeline and see the state of the page before and after the action. Inspect the log, source and network, errors, and console during each step of the test. The trace viewer creates a DOM snapshot so you can fully interact with it and open the browser DevTools to inspect the HTML, CSS, etc. - +![playwright trace viewer](../images/getting-started/trace-viewer-failed-test.png) To learn more about traces, check out our detailed guide on [Trace Viewer](/trace-viewer.mdx). diff --git a/nodejs/docs/trace-viewer.mdx b/nodejs/docs/trace-viewer.mdx index a49c77d8f10..ec1c1203ce3 100644 --- a/nodejs/docs/trace-viewer.mdx +++ b/nodejs/docs/trace-viewer.mdx @@ -5,7 +5,6 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 97f36629f14..6c9aac0f9eb 100644 --- a/nodejs/docs/videos.mdx +++ b/nodejs/docs/videos.mdx @@ -5,7 +5,6 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/webview2.mdx b/nodejs/docs/webview2.mdx index 08057683c7a..88f8b4d7f47 100644 --- a/nodejs/docs/webview2.mdx +++ b/nodejs/docs/webview2.mdx @@ -5,7 +5,6 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/nodejs/docs/writing-tests.mdx b/nodejs/docs/writing-tests.mdx index 3b960f614e8..a4d17d6a167 100644 --- a/nodejs/docs/writing-tests.mdx +++ b/nodejs/docs/writing-tests.mdx @@ -5,7 +5,6 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/actionability.mdx b/python/docs/actionability.mdx index 25e11bb11c3..fb99122e471 100644 --- a/python/docs/actionability.mdx +++ b/python/docs/actionability.mdx @@ -5,7 +5,6 @@ title: "Auto-waiting" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/api-testing.mdx b/python/docs/api-testing.mdx index d8d01a10e77..7e85be1d45b 100644 --- a/python/docs/api-testing.mdx +++ b/python/docs/api-testing.mdx @@ -5,7 +5,6 @@ title: "API testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/api/class-accessibility.mdx b/python/docs/api/class-accessibility.mdx index 65d0b8bd920..99816e181ec 100644 --- a/python/docs/api/class-accessibility.mdx +++ b/python/docs/api/class-accessibility.mdx @@ -5,7 +5,6 @@ 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 1aca54a8756..bc8ff32e1a1 100644 --- a/python/docs/api/class-apirequest.mdx +++ b/python/docs/api/class-apirequest.mdx @@ -5,7 +5,6 @@ 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 7ddd1d11124..ae545e9920b 100644 --- a/python/docs/api/class-apirequestcontext.mdx +++ b/python/docs/api/class-apirequestcontext.mdx @@ -5,7 +5,6 @@ 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 ed8442f0682..55e1dc1f8e3 100644 --- a/python/docs/api/class-apiresponse.mdx +++ b/python/docs/api/class-apiresponse.mdx @@ -5,7 +5,6 @@ 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 03d8af7a0aa..ee3282a9682 100644 --- a/python/docs/api/class-apiresponseassertions.mdx +++ b/python/docs/api/class-apiresponseassertions.mdx @@ -5,7 +5,6 @@ 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 ec14e0ad221..7eaa1495251 100644 --- a/python/docs/api/class-browser.mdx +++ b/python/docs/api/class-browser.mdx @@ -5,7 +5,6 @@ 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 b718c2b0154..c7f89830b84 100644 --- a/python/docs/api/class-browsercontext.mdx +++ b/python/docs/api/class-browsercontext.mdx @@ -5,7 +5,6 @@ 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 9279dae786b..6bfb06f39f8 100644 --- a/python/docs/api/class-browsertype.mdx +++ b/python/docs/api/class-browsertype.mdx @@ -5,7 +5,6 @@ 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 03ef6d2532b..c9a4ff6dae0 100644 --- a/python/docs/api/class-cdpsession.mdx +++ b/python/docs/api/class-cdpsession.mdx @@ -5,7 +5,6 @@ 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 cd5633f1243..fb3dd0ece9a 100644 --- a/python/docs/api/class-clock.mdx +++ b/python/docs/api/class-clock.mdx @@ -5,7 +5,6 @@ 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 7582d15d1f4..c59988a3847 100644 --- a/python/docs/api/class-consolemessage.mdx +++ b/python/docs/api/class-consolemessage.mdx @@ -5,7 +5,6 @@ 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 e90458e3167..42f2736e568 100644 --- a/python/docs/api/class-dialog.mdx +++ b/python/docs/api/class-dialog.mdx @@ -5,7 +5,6 @@ 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 5d954176d1a..8c5089e052c 100644 --- a/python/docs/api/class-download.mdx +++ b/python/docs/api/class-download.mdx @@ -5,7 +5,6 @@ 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 b268ba1da91..140ffd377a2 100644 --- a/python/docs/api/class-elementhandle.mdx +++ b/python/docs/api/class-elementhandle.mdx @@ -5,7 +5,6 @@ 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 fe5887318ab..7afaa2c2102 100644 --- a/python/docs/api/class-error.mdx +++ b/python/docs/api/class-error.mdx @@ -5,7 +5,6 @@ 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 0f802243a24..686484d1323 100644 --- a/python/docs/api/class-filechooser.mdx +++ b/python/docs/api/class-filechooser.mdx @@ -5,7 +5,6 @@ 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 b2553eddbff..efffa94f093 100644 --- a/python/docs/api/class-frame.mdx +++ b/python/docs/api/class-frame.mdx @@ -5,7 +5,6 @@ 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 0f8466fe30d..6c8a9e9b184 100644 --- a/python/docs/api/class-framelocator.mdx +++ b/python/docs/api/class-framelocator.mdx @@ -5,7 +5,6 @@ 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 16d2048fe4b..fb7c05dd4b0 100644 --- a/python/docs/api/class-jshandle.mdx +++ b/python/docs/api/class-jshandle.mdx @@ -5,7 +5,6 @@ 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 75a3f8d9166..081287e132d 100644 --- a/python/docs/api/class-keyboard.mdx +++ b/python/docs/api/class-keyboard.mdx @@ -5,7 +5,6 @@ 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 9086442a086..c8b70edb155 100644 --- a/python/docs/api/class-locator.mdx +++ b/python/docs/api/class-locator.mdx @@ -5,7 +5,6 @@ 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 f918e2147c0..038085b15ca 100644 --- a/python/docs/api/class-locatorassertions.mdx +++ b/python/docs/api/class-locatorassertions.mdx @@ -5,7 +5,6 @@ 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 56fe66fd9ff..48a001261bd 100644 --- a/python/docs/api/class-mouse.mdx +++ b/python/docs/api/class-mouse.mdx @@ -5,7 +5,6 @@ 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 446174c2159..c70783d6fe7 100644 --- a/python/docs/api/class-page.mdx +++ b/python/docs/api/class-page.mdx @@ -5,7 +5,6 @@ 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 94f14471ed4..c4ccdb63773 100644 --- a/python/docs/api/class-pageassertions.mdx +++ b/python/docs/api/class-pageassertions.mdx @@ -5,7 +5,6 @@ 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 de7f24ef3f4..34e089eedde 100644 --- a/python/docs/api/class-playwright.mdx +++ b/python/docs/api/class-playwright.mdx @@ -5,7 +5,6 @@ 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 1c85734a622..98610ce4a86 100644 --- a/python/docs/api/class-request.mdx +++ b/python/docs/api/class-request.mdx @@ -5,7 +5,6 @@ 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 2aaa41f43e2..415c87769a6 100644 --- a/python/docs/api/class-response.mdx +++ b/python/docs/api/class-response.mdx @@ -5,7 +5,6 @@ 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 9de5bcee50b..eb4f23c7b3d 100644 --- a/python/docs/api/class-route.mdx +++ b/python/docs/api/class-route.mdx @@ -5,7 +5,6 @@ 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 18af6b334de..fd640114f3c 100644 --- a/python/docs/api/class-selectors.mdx +++ b/python/docs/api/class-selectors.mdx @@ -5,7 +5,6 @@ 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 857c1fdf088..813d2b1fb7f 100644 --- a/python/docs/api/class-timeouterror.mdx +++ b/python/docs/api/class-timeouterror.mdx @@ -5,7 +5,6 @@ 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 1c413ca227d..91aa8b53b0e 100644 --- a/python/docs/api/class-touchscreen.mdx +++ b/python/docs/api/class-touchscreen.mdx @@ -5,7 +5,6 @@ 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 a07e89c645a..e81235ccc09 100644 --- a/python/docs/api/class-tracing.mdx +++ b/python/docs/api/class-tracing.mdx @@ -5,7 +5,6 @@ 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 29e36dbcf35..616fbab6943 100644 --- a/python/docs/api/class-video.mdx +++ b/python/docs/api/class-video.mdx @@ -5,7 +5,6 @@ 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 12df8589282..d5e3a5ba047 100644 --- a/python/docs/api/class-weberror.mdx +++ b/python/docs/api/class-weberror.mdx @@ -5,7 +5,6 @@ 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 8af12b5b3a9..7a7feca871e 100644 --- a/python/docs/api/class-websocket.mdx +++ b/python/docs/api/class-websocket.mdx @@ -5,7 +5,6 @@ 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 a19c343ff50..4bbf1e75a35 100644 --- a/python/docs/api/class-websocketroute.mdx +++ b/python/docs/api/class-websocketroute.mdx @@ -5,7 +5,6 @@ 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 e8669406024..e628e7adecb 100644 --- a/python/docs/api/class-worker.mdx +++ b/python/docs/api/class-worker.mdx @@ -5,7 +5,6 @@ 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 8878f8a0163..a4243ddf0dd 100644 --- a/python/docs/aria-snapshots.mdx +++ b/python/docs/aria-snapshots.mdx @@ -5,7 +5,6 @@ title: "Snapshot testing" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 25ef3b6938c..8e07a25a9ba 100644 --- a/python/docs/auth.mdx +++ b/python/docs/auth.mdx @@ -5,7 +5,6 @@ title: "Authentication" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/browser-contexts.mdx b/python/docs/browser-contexts.mdx index 5089593fc15..acca34dd20b 100644 --- a/python/docs/browser-contexts.mdx +++ b/python/docs/browser-contexts.mdx @@ -5,7 +5,6 @@ title: "Isolation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/browsers.mdx b/python/docs/browsers.mdx index 3c9256471e4..114c202d486 100644 --- a/python/docs/browsers.mdx +++ b/python/docs/browsers.mdx @@ -5,7 +5,6 @@ title: "Browsers" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/chrome-extensions.mdx b/python/docs/chrome-extensions.mdx index c38650b3e11..4599cfabf30 100644 --- a/python/docs/chrome-extensions.mdx +++ b/python/docs/chrome-extensions.mdx @@ -5,7 +5,6 @@ title: "Chrome extensions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/ci-intro.mdx b/python/docs/ci-intro.mdx index e2070976629..d267e50327b 100644 --- a/python/docs/ci-intro.mdx +++ b/python/docs/ci-intro.mdx @@ -5,7 +5,6 @@ title: "Setting up CI" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -86,7 +85,7 @@ Clicking on the workflow run shows you all the actions that GitHub performed and [trace.playwright.dev](https://trace.playwright.dev) is a statically hosted variant of the Trace Viewer. You can upload trace files using drag and drop. - +![playwright trace viewer](../images/getting-started/trace-viewer-failed-test.png) ## Properly handling Secrets diff --git a/python/docs/ci.mdx b/python/docs/ci.mdx index b58e2aa6c6f..b725495c588 100644 --- a/python/docs/ci.mdx +++ b/python/docs/ci.mdx @@ -5,7 +5,6 @@ title: "Continuous Integration" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/clock.mdx b/python/docs/clock.mdx index 66d99e87181..987d7f07e59 100644 --- a/python/docs/clock.mdx +++ b/python/docs/clock.mdx @@ -5,7 +5,6 @@ title: "Clock" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 b06b8f81a30..a3331b35d9f 100644 --- a/python/docs/codegen-intro.mdx +++ b/python/docs/codegen-intro.mdx @@ -5,7 +5,6 @@ title: "Generating tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction @@ -35,7 +34,7 @@ With the test generator you can record: * `'assert value'` to assert that an element has a specific value ###### - +![recording a test](../images/getting-started/record-test-python.png) ###### When you finish interacting with the page, press the `'record'` button to stop recording and use the `'copy'` button to copy the generated code to your editor. @@ -54,7 +53,7 @@ You can generate [locators](/locators.mdx) with the test generator. * Use the copy button to copy the locator and paste it into your code ###### - +![picking a locator](../images/getting-started/pick-locator-python.png) ### Emulation diff --git a/python/docs/codegen.mdx b/python/docs/codegen.mdx index 3f037f761c2..991da16486e 100644 --- a/python/docs/codegen.mdx +++ b/python/docs/codegen.mdx @@ -5,7 +5,6 @@ title: "Test generator" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 c4602a83fc4..7278a6019e4 100644 --- a/python/docs/debug.mdx +++ b/python/docs/debug.mdx @@ -5,7 +5,6 @@ title: "Debugging Tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Playwright Inspector diff --git a/python/docs/dialogs.mdx b/python/docs/dialogs.mdx index 50ea679eaa2..32baf022d05 100644 --- a/python/docs/dialogs.mdx +++ b/python/docs/dialogs.mdx @@ -5,7 +5,6 @@ title: "Dialogs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/docker.mdx b/python/docs/docker.mdx index 361a6de47b9..3bec0151689 100644 --- a/python/docs/docker.mdx +++ b/python/docs/docker.mdx @@ -5,7 +5,6 @@ title: "Docker" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/downloads.mdx b/python/docs/downloads.mdx index e88652a7151..6c37ed79047 100644 --- a/python/docs/downloads.mdx +++ b/python/docs/downloads.mdx @@ -5,7 +5,6 @@ title: "Downloads" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/emulation.mdx b/python/docs/emulation.mdx index 0ae2b0bb9a3..fa01256ba56 100644 --- a/python/docs/emulation.mdx +++ b/python/docs/emulation.mdx @@ -5,7 +5,6 @@ title: "Emulation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/evaluating.mdx b/python/docs/evaluating.mdx index 6adeeca259e..15db7a8fc3b 100644 --- a/python/docs/evaluating.mdx +++ b/python/docs/evaluating.mdx @@ -5,7 +5,6 @@ title: "Evaluating JavaScript" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/events.mdx b/python/docs/events.mdx index c311ff40c9a..4b28448bdc9 100644 --- a/python/docs/events.mdx +++ b/python/docs/events.mdx @@ -5,7 +5,6 @@ title: "Events" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/extensibility.mdx b/python/docs/extensibility.mdx index 6ccaa5ec357..5cf8ddd901f 100644 --- a/python/docs/extensibility.mdx +++ b/python/docs/extensibility.mdx @@ -5,7 +5,6 @@ title: "Extensibility" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Custom selector engines diff --git a/python/docs/frames.mdx b/python/docs/frames.mdx index 5b69af2fbf9..7b8edd275e8 100644 --- a/python/docs/frames.mdx +++ b/python/docs/frames.mdx @@ -5,7 +5,6 @@ title: "Frames" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/handles.mdx b/python/docs/handles.mdx index f7d456f46de..225213bfe06 100644 --- a/python/docs/handles.mdx +++ b/python/docs/handles.mdx @@ -5,7 +5,6 @@ title: "Handles" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/input.mdx b/python/docs/input.mdx index bc89cfbd838..c057eddb31d 100644 --- a/python/docs/input.mdx +++ b/python/docs/input.mdx @@ -5,7 +5,6 @@ title: "Actions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/intro.mdx b/python/docs/intro.mdx index 2368c02a0e9..238d0384d73 100644 --- a/python/docs/intro.mdx +++ b/python/docs/intro.mdx @@ -5,7 +5,6 @@ title: "Installation" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/languages.mdx b/python/docs/languages.mdx index 921a8a0ed48..01505aa4434 100644 --- a/python/docs/languages.mdx +++ b/python/docs/languages.mdx @@ -5,7 +5,6 @@ title: "Supported languages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/library.mdx b/python/docs/library.mdx index c6af81b8610..6cd17df8fd7 100644 --- a/python/docs/library.mdx +++ b/python/docs/library.mdx @@ -5,7 +5,6 @@ title: "Getting started - Library" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Installation diff --git a/python/docs/locators.mdx b/python/docs/locators.mdx index 0326b44caaf..c4d8263f35e 100644 --- a/python/docs/locators.mdx +++ b/python/docs/locators.mdx @@ -5,7 +5,6 @@ title: "Locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/mock.mdx b/python/docs/mock.mdx index 8a08803b7cb..8b5dec87626 100644 --- a/python/docs/mock.mdx +++ b/python/docs/mock.mdx @@ -5,7 +5,6 @@ title: "Mock APIs" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/navigations.mdx b/python/docs/navigations.mdx index 3638c259b94..8a63f3d4ef5 100644 --- a/python/docs/navigations.mdx +++ b/python/docs/navigations.mdx @@ -5,7 +5,6 @@ title: "Navigations" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/network.mdx b/python/docs/network.mdx index 0d9fd64c55f..0171c3e2dce 100644 --- a/python/docs/network.mdx +++ b/python/docs/network.mdx @@ -5,7 +5,6 @@ title: "Network" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/other-locators.mdx b/python/docs/other-locators.mdx index b879ceb3154..681d1acc4fb 100644 --- a/python/docs/other-locators.mdx +++ b/python/docs/other-locators.mdx @@ -5,7 +5,6 @@ title: "Other locators" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/pages.mdx b/python/docs/pages.mdx index f4f020b337a..67697213609 100644 --- a/python/docs/pages.mdx +++ b/python/docs/pages.mdx @@ -5,7 +5,6 @@ title: "Pages" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Pages diff --git a/python/docs/pom.mdx b/python/docs/pom.mdx index 2784b23fbe8..7ac51b989a4 100644 --- a/python/docs/pom.mdx +++ b/python/docs/pom.mdx @@ -5,7 +5,6 @@ title: "Page object models" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/release-notes.mdx b/python/docs/release-notes.mdx index 772a35ba7db..a9674befe09 100644 --- a/python/docs/release-notes.mdx +++ b/python/docs/release-notes.mdx @@ -6,7 +6,6 @@ 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 '@theme/ProgressiveImage'; ## Version 1.55 diff --git a/python/docs/running-tests.mdx b/python/docs/running-tests.mdx index 12785f08e3f..19d9e44c500 100644 --- a/python/docs/running-tests.mdx +++ b/python/docs/running-tests.mdx @@ -5,7 +5,6 @@ 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 '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/screenshots.mdx b/python/docs/screenshots.mdx index cdc96b1cfee..7d53b59454e 100644 --- a/python/docs/screenshots.mdx +++ b/python/docs/screenshots.mdx @@ -5,7 +5,6 @@ title: "Screenshots" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/selenium-grid.mdx b/python/docs/selenium-grid.mdx index 51953bee4f4..f0b3ed5947c 100644 --- a/python/docs/selenium-grid.mdx +++ b/python/docs/selenium-grid.mdx @@ -5,7 +5,6 @@ title: "Selenium Grid (experimental)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/test-assertions.mdx b/python/docs/test-assertions.mdx index 7d7c5369fac..d83220d49ae 100644 --- a/python/docs/test-assertions.mdx +++ b/python/docs/test-assertions.mdx @@ -5,7 +5,6 @@ title: "Assertions" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## List of assertions diff --git a/python/docs/test-runners.mdx b/python/docs/test-runners.mdx index 93b7dd45b75..2a19e191cf5 100644 --- a/python/docs/test-runners.mdx +++ b/python/docs/test-runners.mdx @@ -5,7 +5,6 @@ title: "Pytest Plugin Reference" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/touch-events.mdx b/python/docs/touch-events.mdx index f6bd40ea3ef..a024dee6caf 100644 --- a/python/docs/touch-events.mdx +++ b/python/docs/touch-events.mdx @@ -5,7 +5,6 @@ title: "Touch events (legacy)" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/trace-viewer-intro.mdx b/python/docs/trace-viewer-intro.mdx index e4cc5056fd9..84c6920f141 100644 --- a/python/docs/trace-viewer-intro.mdx +++ b/python/docs/trace-viewer-intro.mdx @@ -5,7 +5,6 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/trace-viewer.mdx b/python/docs/trace-viewer.mdx index 37823d0bbf5..01b762bad76 100644 --- a/python/docs/trace-viewer.mdx +++ b/python/docs/trace-viewer.mdx @@ -5,7 +5,6 @@ title: "Trace viewer" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -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 b9ac7c9c403..9c671d9501b 100644 --- a/python/docs/videos.mdx +++ b/python/docs/videos.mdx @@ -5,7 +5,6 @@ title: "Videos" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/webview2.mdx b/python/docs/webview2.mdx index 4d78a9e7bba..ded4e5dcca1 100644 --- a/python/docs/webview2.mdx +++ b/python/docs/webview2.mdx @@ -5,7 +5,6 @@ title: "WebView2" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/python/docs/writing-tests.mdx b/python/docs/writing-tests.mdx index fff7b161a88..9aff4344ac0 100644 --- a/python/docs/writing-tests.mdx +++ b/python/docs/writing-tests.mdx @@ -5,7 +5,6 @@ title: "Writing tests" import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard'; -import ProgressiveImage from '@theme/ProgressiveImage'; ## Introduction diff --git a/src/generator.js b/src/generator.js index d2b37ba10bd..9419dd953b6 100644 --- a/src/generator.js +++ b/src/generator.js @@ -146,7 +146,6 @@ 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({ @@ -433,7 +432,7 @@ ${this.documentation.renderLinksInText(member.discouraged)} */ rewriteImageLinks(content) { return content.replaceAll(/!\[(.*)\]\((\.\/images\/.*)\)/g, (match, alt, link) => { - return ``; + return `![${alt}](${path.join('..', link)})`; }); } @@ -450,8 +449,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 '@theme/ProgressiveImage';`); +import HTMLCard from '@site/src/components/HTMLCard';`); writeFileSyncCached(path.join(this.outDir, outName), this.rewriteVersion(this.mdxLinks(output))); }