cloudflare/playwright
Playwright fork that works with Cloudflare Browser Rendering
https://skillcdn.ai/gh/cloudflare/playwright내 AI에 이 주소를 연결하면 이 스킬들을 쓸 수 있어요. 연결 방법 보기
- 미확인
- 기본 브랜치
main - 커밋
30e0bd3 - 라이선스
Apache-2.0
저장소 둘러보기
스킬과 문서의 원문에서 찾습니다. 화면용 번역은 검색되지 않아요.
문서
- class: AndroidPlaywright has experimental support for Android automation. This includes Chrome for Android and Android WebView.docs/src/api/class-android.md
- class: AndroidDevice[AndroidDevice] represents a connected device, either real hardware or emulated. Devices can be obtained using [method: Android.devices].docs/src/api/class-androiddevice.md
- class: AndroidInputPerforms a drag between [param: from] and [param: to] points.docs/src/api/class-androidinput.md
- class: AndroidSocket[AndroidSocket] is a way to communicate with a process launched on the [AndroidDevice]. Use [method: AndroidDevice.open] to open a socket.docs/src/api/class-androidsocket.md
- class: AndroidWebView[AndroidWebView] represents a WebView open on the [AndroidDevice]. WebView is usually obtained using [method: AndroidDevice.webView].docs/src/api/class-androidwebview.md
- class: APIRequestExposes 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…docs/src/api/class-apirequest.md
- class: APIRequestContextThis 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.docs/src/api/class-apirequestcontext.md
- class: APIResponse[APIResponse] class represents responses returned by [method: APIRequestContext.get] and similar methods.docs/src/api/class-apiresponse.md
- class: APIResponseAssertionsThe [APIResponseAssertions] class provides assertion methods that can be used to make assertions about the [APIResponse] in the tests.docs/src/api/class-apiresponseassertions.md
- class: BrowserA Browser is created via [method: BrowserType.launch]. An example of using a [Browser] to create a [Page]:docs/src/api/class-browser.md
- class: BrowserContextBrowserContexts provide a way to operate multiple independent browser sessions.docs/src/api/class-browsercontext.md
- class: BrowserServerEmitted when the browser server closes.docs/src/api/class-browserserver.md
- class: BrowserTypeBrowserType 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:docs/src/api/class-browsertype.md
- class: CDPSessionThe CDPSession instances are used to talk raw Chrome Devtools Protocol:docs/src/api/class-cdpsession.md
- class: CDPSessionEvent[CDPSessionEvent] objects are returned by page via the [method: CDPSession.event] method.docs/src/api/class-cdpsessionevent.md
- class: ClockAccurately simulating time-dependent behavior is essential for verifying the correctness of applications. Learn more about clock emulation.docs/src/api/class-clock.md
- class: ConsoleMessage[ConsoleMessage] objects are dispatched by page via the [event: Page.console] event. For each console message logged in the page there will be corresponding event in the Playwright context.docs/src/api/class-consolemessage.md
- class: CoverageCoverage gathers information about parts of JavaScript and CSS that were used by the page.docs/src/api/class-coverage.md
- class: Dialog[Dialog] objects are dispatched by page via the [event: Page.dialog] event.docs/src/api/class-dialog.md
- class: Download[Download] objects are dispatched by page via the [event: Page.download] event.docs/src/api/class-download.md
- class: ElectronPlaywright has experimental support for Electron automation. You can access electron namespace via:docs/src/api/class-electron.md
- class: ElectronApplicationElectron application representation. You can use [method: Electron.launch] to obtain the application instance. This instance you can control main electron process as well as work with Electron window…docs/src/api/class-electronapplication.md
- class: ElementHandleElementHandle represents an in-page DOM element. ElementHandles can be created with the [method: Page.querySelector] method.docs/src/api/class-elementhandle.md
- class: ErrorError is raised whenever certain operations are terminated abnormally, e.g. browser closes while [method: Page.evaluate] is running. All Playwright exceptions inherit from this class.docs/src/api/class-error.md
- class: FileChooser[FileChooser] objects are dispatched by the page in the [event: Page.fileChooser] event.docs/src/api/class-filechooser.md
- class: FormDataThe [FormData] is used create form data that is sent via [APIRequestContext].docs/src/api/class-formdata.md
- class: FrameAt every point of time, page exposes its current frame tree via the [method: Page.mainFrame] and [method: Frame.childFrames] methods.docs/src/api/class-frame.md
- class: FrameLocatorFrameLocator 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 [method:…docs/src/api/class-framelocator.md
- class: GenericAssertionsThe [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 [method: Playwr…docs/src/api/class-genericassertions.md
- class: JSHandleJSHandle represents an in-page JavaScript object. JSHandles can be created with the [method: Page.evaluateHandle] method.docs/src/api/class-jshandle.md
- class: KeyboardKeyboard provides an api for managing a virtual keyboard. The high level api is [method: Keyboard.type], which takes raw characters and generates proper keydown, keypress/input, and keyup events on y…docs/src/api/class-keyboard.md
- class: LocatorLocators 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…docs/src/api/class-locator.md
- class: LocatorAssertionsThe [LocatorAssertions] class provides assertion methods that can be used to make assertions about the [Locator] state in the tests.docs/src/api/class-locatorassertions.md
- class: LoggerPlaywright generates a lot of logs and they are accessible via the pluggable logger sink.docs/src/api/class-logger.md
- class: MouseThe Mouse class operates in main-frame CSS pixels relative to the top-left corner of the viewport.docs/src/api/class-mouse.md
- class: PagePage provides methods to interact with a single tab in a [Browser], or an extension background page in Chromium. One [Browser] instance might have multiple [Page] instances.docs/src/api/class-page.md
- class: PageAgent- inputTokens <[int]> - outputTokens <[int]>docs/src/api/class-pageagent.md
- class: PageAssertionsThe [PageAssertions] class provides assertion methods that can be used to make assertions about the [Page] state in the tests.docs/src/api/class-pageassertions.md
- class: PlaywrightPlaywright module provides a method to launch a browser instance. The following is a typical example of using Playwright to drive automation:docs/src/api/class-playwright.md
- class: PlaywrightAssertionsPlaywright gives you Web-First Assertions with convenience methods for creating assertions that will wait and retry until the expected condition is met.docs/src/api/class-playwrightassertions.md
- class: PlaywrightExceptionPlaywrightException is thrown whenever certain operations are terminated abnormally, e.g. browser closes while [method: Page.evaluate] is running. All Playwright exceptions inherit from this class.docs/src/api/class-playwrightexception.md
- class: RequestWhenever the page sends a request for a network resource the following sequence of events are emitted by [Page]:docs/src/api/class-request.md
- class: RequestOptionsThe [RequestOptions] allows to create form data to be sent via [APIRequestContext]. Playwright will automatically determine content type of the request.docs/src/api/class-requestoptions.md
- class: Response[Response] class represents responses which are received by page.docs/src/api/class-response.md
- class: RouteWhenever a network route is set up with [method: Page.route] or [method: BrowserContext.route], the Route object allows to handle the route.docs/src/api/class-route.md
- class: SelectorsSelectors can be used to install custom selector engines. See extensibility for more information.docs/src/api/class-selectors.md
- class: SnapshotAssertionsPlaywright provides methods for comparing page and element screenshots with expected values stored in files.docs/src/api/class-snapshotassertions.md
- class: TimeoutErrorTimeoutError is emitted whenever certain operations are terminated due to timeout, e.g. [method: Locator.waitFor] or [method: BrowserType.launch].docs/src/api/class-timeouterror.md
- class: TouchscreenThe 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 wit…docs/src/api/class-touchscreen.md
- class: TracingAPI for collecting and saving Playwright traces. Playwright traces can be opened in Trace Viewer after Playwright script runs.docs/src/api/class-tracing.md