|
18 | 18 | import typing |
19 | 19 | from typing import Literal |
20 | 20 |
|
| 21 | +from playwright._impl._api_classes import APIRequest as APIRequestImpl |
| 22 | +from playwright._impl._api_classes import APIRequestContext as APIRequestContextImpl |
| 23 | +from playwright._impl._api_classes import APIResponse as APIResponseImpl |
| 24 | +from playwright._impl._api_classes import ( |
| 25 | + APIResponseAssertions as APIResponseAssertionsImpl, |
| 26 | +) |
| 27 | +from playwright._impl._api_classes import Browser as BrowserImpl |
| 28 | +from playwright._impl._api_classes import BrowserContext as BrowserContextImpl |
| 29 | +from playwright._impl._api_classes import BrowserType as BrowserTypeImpl |
| 30 | +from playwright._impl._api_classes import CDPSession as CDPSessionImpl |
| 31 | +from playwright._impl._api_classes import Clock as ClockImpl |
| 32 | +from playwright._impl._api_classes import ConsoleMessage as ConsoleMessageImpl |
| 33 | +from playwright._impl._api_classes import Credentials as CredentialsImpl |
| 34 | +from playwright._impl._api_classes import Debugger as DebuggerImpl |
| 35 | +from playwright._impl._api_classes import Dialog as DialogImpl |
| 36 | +from playwright._impl._api_classes import Disposable as DisposableImpl |
| 37 | +from playwright._impl._api_classes import Download as DownloadImpl |
| 38 | +from playwright._impl._api_classes import ElementHandle as ElementHandleImpl |
| 39 | +from playwright._impl._api_classes import FileChooser as FileChooserImpl |
| 40 | +from playwright._impl._api_classes import Frame as FrameImpl |
| 41 | +from playwright._impl._api_classes import FrameLocator as FrameLocatorImpl |
| 42 | +from playwright._impl._api_classes import JSHandle as JSHandleImpl |
| 43 | +from playwright._impl._api_classes import Keyboard as KeyboardImpl |
| 44 | +from playwright._impl._api_classes import Locator as LocatorImpl |
| 45 | +from playwright._impl._api_classes import LocatorAssertions as LocatorAssertionsImpl |
| 46 | +from playwright._impl._api_classes import Mouse as MouseImpl |
| 47 | +from playwright._impl._api_classes import Page as PageImpl |
| 48 | +from playwright._impl._api_classes import PageAssertions as PageAssertionsImpl |
| 49 | +from playwright._impl._api_classes import Playwright as PlaywrightImpl |
| 50 | +from playwright._impl._api_classes import Request as RequestImpl |
| 51 | +from playwright._impl._api_classes import Response as ResponseImpl |
| 52 | +from playwright._impl._api_classes import Route as RouteImpl |
| 53 | +from playwright._impl._api_classes import Screencast as ScreencastImpl |
| 54 | +from playwright._impl._api_classes import Selectors as SelectorsImpl |
| 55 | +from playwright._impl._api_classes import Touchscreen as TouchscreenImpl |
| 56 | +from playwright._impl._api_classes import Tracing as TracingImpl |
| 57 | +from playwright._impl._api_classes import Video as VideoImpl |
| 58 | +from playwright._impl._api_classes import WebError as WebErrorImpl |
| 59 | +from playwright._impl._api_classes import WebMCP as WebMCPImpl |
| 60 | +from playwright._impl._api_classes import WebSocket as WebSocketImpl |
| 61 | +from playwright._impl._api_classes import WebSocketRoute as WebSocketRouteImpl |
| 62 | +from playwright._impl._api_classes import WebStorage as WebStorageImpl |
| 63 | +from playwright._impl._api_classes import Worker as WorkerImpl |
21 | 64 | from playwright._impl._api_structures import ( |
22 | 65 | BrowserBindResult, |
23 | 66 | ClientCertificate, |
|
53 | 96 | WebMCPTool, |
54 | 97 | WebStorageItem, |
55 | 98 | ) |
56 | | -from playwright._impl._assertions import ( |
57 | | - APIResponseAssertions as APIResponseAssertionsImpl, |
58 | | -) |
59 | | -from playwright._impl._assertions import LocatorAssertions as LocatorAssertionsImpl |
60 | | -from playwright._impl._assertions import PageAssertions as PageAssertionsImpl |
61 | 99 | from playwright._impl._async_base import ( |
62 | 100 | AsyncBase, |
63 | 101 | AsyncContextManager, |
64 | 102 | AsyncEventContextManager, |
65 | 103 | mapping, |
66 | 104 | ) |
67 | | -from playwright._impl._browser import Browser as BrowserImpl |
68 | | -from playwright._impl._browser_context import BrowserContext as BrowserContextImpl |
69 | | -from playwright._impl._browser_type import BrowserType as BrowserTypeImpl |
70 | | -from playwright._impl._cdp_session import CDPSession as CDPSessionImpl |
71 | | -from playwright._impl._clock import Clock as ClockImpl |
72 | | -from playwright._impl._console_message import ConsoleMessage as ConsoleMessageImpl |
73 | | -from playwright._impl._credentials import Credentials as CredentialsImpl |
74 | | -from playwright._impl._debugger import Debugger as DebuggerImpl |
75 | | -from playwright._impl._dialog import Dialog as DialogImpl |
76 | | -from playwright._impl._disposable import Disposable as DisposableImpl |
77 | | -from playwright._impl._download import Download as DownloadImpl |
78 | | -from playwright._impl._element_handle import ElementHandle as ElementHandleImpl |
79 | 105 | from playwright._impl._errors import Error |
80 | | -from playwright._impl._fetch import APIRequest as APIRequestImpl |
81 | | -from playwright._impl._fetch import APIRequestContext as APIRequestContextImpl |
82 | | -from playwright._impl._fetch import APIResponse as APIResponseImpl |
83 | | -from playwright._impl._file_chooser import FileChooser as FileChooserImpl |
84 | 106 | from playwright._impl._form_data import FormData |
85 | | -from playwright._impl._frame import Frame as FrameImpl |
86 | 107 | from playwright._impl._helper import to_milliseconds |
87 | | -from playwright._impl._input import Keyboard as KeyboardImpl |
88 | | -from playwright._impl._input import Mouse as MouseImpl |
89 | | -from playwright._impl._input import Touchscreen as TouchscreenImpl |
90 | | -from playwright._impl._js_handle import JSHandle as JSHandleImpl |
91 | | -from playwright._impl._locator import FrameLocator as FrameLocatorImpl |
92 | | -from playwright._impl._locator import Locator as LocatorImpl |
93 | | -from playwright._impl._network import Request as RequestImpl |
94 | | -from playwright._impl._network import Response as ResponseImpl |
95 | | -from playwright._impl._network import Route as RouteImpl |
96 | | -from playwright._impl._network import WebSocket as WebSocketImpl |
97 | | -from playwright._impl._network import WebSocketRoute as WebSocketRouteImpl |
98 | | -from playwright._impl._page import Page as PageImpl |
99 | | -from playwright._impl._page import Worker as WorkerImpl |
100 | | -from playwright._impl._playwright import Playwright as PlaywrightImpl |
101 | | -from playwright._impl._screencast import Screencast as ScreencastImpl |
102 | | -from playwright._impl._selectors import Selectors as SelectorsImpl |
103 | | -from playwright._impl._tracing import Tracing as TracingImpl |
104 | | -from playwright._impl._video import Video as VideoImpl |
105 | | -from playwright._impl._web_error import WebError as WebErrorImpl |
106 | | -from playwright._impl._web_storage import WebStorage as WebStorageImpl |
107 | | -from playwright._impl._webmcp import WebMCP as WebMCPImpl |
108 | 108 |
|
109 | 109 |
|
110 | 110 | class APIRequest(AsyncBase): |
|
0 commit comments