playwright 1.0.0

Download zip

playwright

This is the Aussom-Lang Playwright module. It provides browser automation built on top of Microsoft Playwright for Java, which is actively maintained by Microsoft under the Apache 2.0 license.

It exposes the core Playwright surface — playwright, browsertype, browser, browsercontext, page, locator, dialog, keyboard, mouse, consolemessage, request, and response — so Aussom scripts can drive Chromium, Firefox, and WebKit for end-to-end testing, scraping, and UI automation.

Usage

Here's a short example, please see the API doc for details.

// Create the root Playwright object and pick a browser type.
pw = new playwright();
browser = pw.chromium().launchHeadless(true);

// Open a page and navigate.
page = browser.newPage();
page.navigate('https://example.com');

// Read the document title.
c.log(page.title());

// Interact with elements via locators.
page.locator('a').first().click();

// Clean up.
page.close();
browser.close();
pw.close();

License

Copyright 2026 Austin Lehman

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.