GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • playwright

This view

  • Original page
  • New address

GeezerVison is showing playwright.hexdocs.pm — API Reference — playwright v1.49.1-alpha.2

View Source API Reference playwright v1.49.1-alpha.2

Modules

Playwright

Playwright launches and manages with Playwright browser-server instances.

Playwright.APIRequestContext

This API is used for the Web API testing. You can use it to trigger API endpoints, configure micro-services, prepare environment or the server to your e2e test.

Playwright.Browser

A Playwright.Browser instance is created via

Playwright.BrowserContext

Playwright.BrowserContext provides a way to operate multiple independent browser sessions.

Playwright.BrowserType

Playwright.BrowserType provides functions to launch a specific browser instance or connect to an existing one.

Playwright.ConsoleMessage

Playwright.ConsoleMessage instances are dispatched by page and handled via Playwright.Page.on/3 for the :console event type.

Playwright.ElementHandle

ElementHandle represents an in-page DOM element.

Playwright.Frame

At any point of time, Playwright.Page exposes its current frame tree via the Playwright.Page.main_frame/1 and Playwright.Frame.child_frames/1 functions.

Playwright.JSHandle

Playwright.JSHandle represents an in-page JavaScript object. JSHandles can be created with Playwright.Page.evaluate_handle/3.

Playwright.Locator

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 may be created with the Page.locator/2 function.

Playwright.Page

Page provides methods to interact with a single tab in a Playwright.Browser, or an extension background page in Chromium.

Playwright.Page.Accessibility

Playwright.Page.Accessibility provides functions for inspecting Chromium's accessibility tree.

Playwright.Page.Keyboard

Keyboard provides an API for managing a virtual keyboard. The high level API is keyboard.type(), which takes raw characters and generates proper keydown, keypress/input, and keyup events on your page.

Playwright.Request

Playwright.Request represents a request for a network resource.

Playwright.Response

...

Playwright.Route

...

Playwright.SDK.CLI

A wrapper to the Playwright Javascript CLI

Playwright.SDK.Channel.Catalog

Provides storage and management of ChannelOwner instances.

Playwright.SDK.Config

Configuration for Playwright.

Playwright.Selectors

...

Playwright.Tracing

...

Playwright.WebSocket

...

Playwright.Worker

...

PlaywrightTest.Case

Use PlaywrightTest.Case in an ExUnit test module to start a Playwright server and put it into the test context.

Mix Tasks

mix playwright.install

Installs Playwright browsers.

Next Page → Read Me
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.